Mercurial > dive4elements > river
comparison flys-artifacts/ChangeLog @ 3812:f788d2d901d6
merged flys-artifacts/pre2.6-2011-12-05
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Fri, 28 Sep 2012 12:14:53 +0200 |
parents | 1558ef7b0e7b |
children | b7b8e625ec82 |
comparison
equal
deleted
inserted
replaced
3808:5fab0fe3c445 | 3812:f788d2d901d6 |
---|---|
1 2011-12-06 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
2 | |
3 Further flys/issue420 fix (No Discharge Curves for Mosel). | |
4 | |
5 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: | |
6 (includeYRange, mergeRanges): Moved NaN-guard to lowest level. | |
7 (combineXRanges): Also NaN guard the X Axis extent. | |
8 | |
9 2011-12-06 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
10 | |
11 Partial fix for flys/issue420 (Berechnete Abflusskurve: Kein Diagramm für | |
12 Mosel). Protect axis extent calculation from empty or invalid | |
13 datasets. | |
14 | |
15 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: | |
16 (includeRange, includeYRange): Renamed, updated callers. | |
17 (includeYRange): Protect from merging extent with NaNs. | |
18 (debugDatasets): Be more verbose on the datasets. | |
19 (zoom): Doc. | |
20 | |
21 2011-12-06 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
22 | |
23 Fix flys/issue423 (Diagramm: Hauptwerte bei Abflusskurve am Pegel | |
24 werden an Y-Achse nicht angezeigt) - show not "raw" (vs interpolated) | |
25 values at Gauge. | |
26 | |
27 * src/main/java/de/intevation/flys/artifacts/model/MainValuesQFacet.java, | |
28 src/main/java/de/intevation/flys/artifacts/model/MainValuesWFacet.java: | |
29 Add parameterization to let facet know whether to fetch data at | |
30 Gauges or at Artifacts position. | |
31 | |
32 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java: | |
33 Let the MainValueFacets know whether to ask for interpolated | |
34 MainValues; (do not interpolate for Gauges Main Values). | |
35 (getMainValuesQ, getMainValuesW): Added parameter to control | |
36 interpolation. | |
37 | |
38 2011-12-05 Ingo Weinzierl <ingo@intevation.de> | |
39 | |
40 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Modified | |
41 prefix constants for Mapserver layers and renamed constants (which have | |
42 been postfixes before). | |
43 | |
44 * src/main/java/de/intevation/flys/wsplgen/FacetCreator.java: Adjusted | |
45 usage of Mapserver constants to the changes described above. | |
46 | |
47 2011-12-05 Ingo Weinzierl <ingo@intevation.de> | |
48 | |
49 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: | |
50 Bugfix: Evaluate the correct parameter whether to set the floodplain or | |
51 not. In addition, the scenario parameter used by WSPLGEN is now set | |
52 correctly. | |
53 | |
54 >>>>>>> .r3356 | |
55 2011-12-05 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
56 | |
57 Allow longitudinal_section.q facets in wdiff states output. | |
58 | |
59 * doc/conf/artifacts/winfo.xml: Added longitudinal_section.q facets | |
60 to w-diff states out compatibility- matrix. | |
61 | |
62 2011-12-05 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
63 | |
64 Refactored Longitudinal*/WDiff-*Generator hierarchy and change axis | |
65 ordering, resolved label-i18n TODO. | |
66 | |
67 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java, | |
68 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java: | |
69 Merge, avoid duplicate code, fix axis ordering in w-diff diagram, | |
70 label in ls-diagramm. | |
71 | |
72 2011-12-05 Ingo Weinzierl <ingo@intevation.de> | |
73 | |
74 * src/main/resources/messages.properties, | |
75 src/main/resources/messages_de_DE.properties, | |
76 src/main/resources/messages_en.properties, | |
77 src/main/resources/messages_de.properties: Added missing state titles. | |
78 | |
79 2011-12-05 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
80 | |
81 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java: | |
82 Do not include zero on first axis. | |
83 | |
84 2011-12-02 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
85 | |
86 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
87 (buildArtifactNode): Include artifacts state data in description | |
88 document of collection. | |
89 | |
90 2011-11-30 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
91 | |
92 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java, | |
93 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java, | |
94 src/main/java/de/intevation/flys/exports/ChartGenerator.java, | |
95 src/main/java/de/intevation/flys/exports/ReportGenerator.java, | |
96 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java, | |
97 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java, | |
98 src/main/java/de/intevation/flys/exports/XYChartGenerator.java, | |
99 src/main/java/de/intevation/flys/exports/AbstractExporter.java, | |
100 src/main/java/de/intevation/flys/exports/ATExporter.java, | |
101 src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java, | |
102 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java, | |
103 src/main/java/de/intevation/flys/exports/OutGenerator.java, | |
104 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java, | |
105 src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java, | |
106 src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
107 Removed superfluous imports. | |
108 | |
109 2011-11-30 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
110 | |
111 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
112 Removed import to make it compileable again. | |
113 | |
114 2011-11-30 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
115 | |
116 Introduce pre-rendering inter-facet communication phase ('blackboard | |
117 pass'). | |
118 | |
119 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java | |
120 (doBlackboardPass): New. Before actually calling doOut, bundle | |
121 ArtifactAndFacets and let them register | |
122 themselfes as DataProvider in CallContext if they | |
123 want ("announce on blackboard"). | |
124 | |
125 2011-11-30 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
126 | |
127 * src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java | |
128 (doOut): Adjusted signature. | |
129 | |
130 2011-11-30 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
131 | |
132 Changed doOut signature to use ArtifactAndFacet, which will be | |
133 side effect of upcoming "blackboard" feature. | |
134 | |
135 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java | |
136 (getRangesForDataset, getRangesForAxis): Renamed, removed TODO. | |
137 | |
138 * src/main/java/de/intevation/flys/exports/InfoGeneratorHelper.java | |
139 (createAxis): Update call to XYChartGenerator.getRangesForAxis, | |
140 cosmetics. | |
141 | |
142 * src/main/java/de/intevation/flys/exports/OutGenerator.java | |
143 (doOut): Changed Signature to accet ArifactAndFacet instead of | |
144 Artifact and Facet. | |
145 | |
146 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java, | |
147 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java, | |
148 src/main/java/de/intevation/flys/exports/ChartGenerator.java, | |
149 src/main/java/de/intevation/flys/exports/ReportGenerator.java, | |
150 src/main/java/de/intevation/flys/exports/MapGenerator.java, | |
151 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java, | |
152 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java, | |
153 src/main/java/de/intevation/flys/exports/AbstractExporter.java, | |
154 src/main/java/de/intevation/flys/exports/ATExporter.java, | |
155 src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java, | |
156 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java, | |
157 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java, | |
158 src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java | |
159 (doOut): Adjusted to new signature. | |
160 | |
161 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java: | |
162 (adjustAxes): Removed, we do not need a (manual) second axis. | |
163 | |
164 2011-11-28 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
165 | |
166 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java: | |
167 Fix compilation, use features of XYChartGenerator. | |
168 | |
169 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: | |
170 Set default behaviour such that 0 is not included in ranges. | |
171 | |
172 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java: | |
173 Set behaviour of axis such that 0 is not (automagically) included. | |
174 | |
175 2011-11-28 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
176 | |
177 * src/main/java/de/intevation/flys/exports/StyledSeriesBuilder.java: | |
178 Fix wrong documentation. | |
179 | |
180 2011-11-28 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
181 | |
182 Fix LongitudinalSections multi-axes plotting behavior. | |
183 | |
184 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
185 Removed obsolete functions, use better working multi-axis | |
186 magic by XYChartGenerator. | |
187 | |
188 2011-11-28 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
189 | |
190 Overhaul dataset/axis/renderer housekeeping in Mother of all | |
191 ChartGenerators. | |
192 | |
193 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: | |
194 Refactored, keep axis/rendering relevant information in objects | |
195 of new class AxisDataset. Removed some obsolete code while adding | |
196 documentation. | |
197 | |
198 2011-11-25 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
199 | |
200 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java(relateWs): | |
201 Added the implementation of the 'Bezugslinienverfahren'. Should | |
202 be complete but needs testing! | |
203 TODO: Setup a Calculation and integrate it into WINFO. | |
204 | |
205 2011-11-25 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
206 | |
207 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
208 Refactored the code for the "berechnete Abflusskurve" to enable | |
209 the "Bezugslinienverfahren" to use the same code paths. It also | |
210 removes a good deal of already existing code duplication. | |
211 | |
212 2011-11-25 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
213 | |
214 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java(findQsForW): | |
215 Added method findQsForW(w, km) to retrieve the Qs that correspond | |
216 for the given w and km. | |
217 | |
218 This is to be called when doing a "W auf freier Strecke" calculation | |
219 to find out the Qs belonging to the user given W. | |
220 | |
221 * src/main/java/de/intevation/flys/artifacts/WQKmsInterpolArtifact.java, | |
222 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java, | |
223 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java: | |
224 Removed superfluous imports. | |
225 | |
226 2011-11-25 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
227 | |
228 Fix bug when adding Q data in LongitudinalSectionGenerator. | |
229 | |
230 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
231 Add data from Q -Facet as Q over Km points. | |
232 | |
233 2011-11-25 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
234 | |
235 Added handling of empty plots. | |
236 | |
237 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: | |
238 (createAxes, removeEmptyRangeAxes): Survive empty datasets map, create | |
239 primary axis. | |
240 (recoverEmptyPlot): New. | |
241 | |
242 2011-11-25 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
243 | |
244 Let first visible axis be always on the left. | |
245 | |
246 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: | |
247 (createAxes): When creating axes, keep track of which is the first | |
248 one. Set its location to "left". | |
249 | |
250 2011-11-24 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
251 | |
252 Use multiple axis in relevant generators. | |
253 | |
254 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java, | |
255 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java, | |
256 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java, | |
257 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java, | |
258 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java: | |
259 (createYAxis): Implemented. | |
260 Define and use YAXIS enum for axes. | |
261 | |
262 2011-11-24 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
263 | |
264 Fix theming and legend items for plot with multiaxis feature. | |
265 Decouple renderer index from dataset index. | |
266 | |
267 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: | |
268 (applyThemes): Do not get renderer based on dataset/axis-index but | |
269 count. | |
270 | |
271 2011-11-24 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
272 | |
273 In XYChartGenerators allow more than two datasets. | |
274 Assign axis to indices of datasets, do not show axis if corresponding | |
275 dataset is set to be not visible. | |
276 Do proper axis-setting in LongitudinalSectionGenerator only (other | |
277 will follow). Based on a patch by Sascha Teichmann. | |
278 | |
279 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: | |
280 Keep relation between index and dataset, once its added. Compute | |
281 ranges per index. Allow subclasses to override createAxes to specify | |
282 internationalized labels etc. | |
283 | |
284 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java, | |
285 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java, | |
286 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java, | |
287 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java, | |
288 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java, | |
289 src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java: | |
290 Add datasets to first index. | |
291 | |
292 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
293 Implement createYAxis to create correct first, second and third | |
294 axis. Added enum to easy identification of axis. Stripped down | |
295 adjustAxis which was used to create second axis. | |
296 Add datasets at correct indices. | |
297 | |
298 2011-11-23 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
299 | |
300 * src/main/java/de/intevation/flys/artifacts/datacage/templating/StackFrames.java, | |
301 src/main/java/de/intevation/flys/artifacts/datacage/templating/FunctionResolver.java, | |
302 src/main/java/de/intevation/flys/exports/XYChartGenerator.java: | |
303 Cosmetics, docs. | |
304 | |
305 2011-11-23 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
306 | |
307 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java: | |
308 Cosmetics, docs. | |
309 | |
310 2011-11-23 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
311 | |
312 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableCacheKey.java: | |
313 Cosmetics, docs. | |
314 | |
315 2011-11-23 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
316 | |
317 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory.java: | |
318 Resolved TODO about caching certain WstValueTables. | |
319 | |
320 2011-11-22 Ingo Weinzierl <ingo@intevation.de> | |
321 | |
322 * src/main/java/de/intevation/flys/artifacts/ExternalWMSArtifact.java: New. | |
323 This Artifact is used to allow users adding external WMS layers to their | |
324 floodmaps. An ExternalWMSArtifact stores an URL of a WMS, the name and the | |
325 title of the WMS layer. The internal State extends WMSBackgroundState. | |
326 | |
327 * doc/conf/conf.xml: Registered the ExternalWMSArtifact. | |
328 | |
329 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added a | |
330 new type "floodmap.externalwms" which is used by the ExternalWMSArtifact. | |
331 | |
332 * doc/conf/artifacts/winfo.xml: Allowed the "floodmap.externalwms" facet for | |
333 floodmaps. | |
334 | |
335 * src/main/java/de/intevation/flys/artifacts/states/WMSBackgroundState.java: | |
336 Some refactoring to allow easier subclassing. | |
337 | |
338 2011-11-22 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
339 | |
340 Fixed flys/411. | |
341 | |
342 * src/main/java/de/intevation/flys/artifacts/model/AnnotationsFactory.java: | |
343 Use different queries to avoid costy joins. | |
344 | |
345 2011-11-22 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
346 | |
347 * src/main/java/de/intevation/flys/artifacts/model/AnnotationsFactory.java: | |
348 Use different queries to avoid costy joins. Patch by Sascha | |
349 Teichmann, minor typo-fix. | |
350 | |
351 2011-11-17 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
352 | |
353 * doc/conf/artifacts/winfo.xml: Added other.wkms.interpol facet | |
354 to compatibility matrix for computed discharge curves. | |
355 | |
356 2011-11-17 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
357 | |
358 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java: | |
359 Resolve cosmetic todo, use importData-convenience method. | |
360 | |
361 2011-11-17 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
362 | |
363 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java: | |
364 Handle STATIC_WKMS_INTERPOL and WQ/Points as Annotations. | |
365 | |
366 2011-11-17 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
367 | |
368 * src/main/java/de/intevation/flys/artifacts/WQKmsInterpolArtifact.java: | |
369 Give Facet different name when its a flood*, so that it can be | |
370 understood to be e.g. a flood-protection further down the processing | |
371 line. | |
372 | |
373 2011-11-17 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
374 | |
375 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
376 Prevent ArrayIndexOutOfBounds, log method entry. | |
377 | |
378 2011-11-17 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
379 | |
380 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: | |
381 Added new Facet Type: Interpolated W/Km values. | |
382 | |
383 2011-11-16 Ingo Weinzierl <ingo@intevation.de> | |
384 | |
385 * src/main/java/de/intevation/flys/wsplgen/FacetCreator.java, | |
386 src/main/java/de/intevation/flys/artifacts/WMSDBArtifact.java, | |
387 src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Avoid | |
388 WMS layer names that begin with digits. This would lead to invalid | |
389 WMSGetFeatureInfo responses, where the name of a layer is the name of a | |
390 XML node. | |
391 | |
392 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
393 | |
394 * doc/conf/meta-data.xml: Added and use *_wq macros for interpolated | |
395 w/q data (currently used in computed discharge curve only). | |
396 | |
397 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
398 | |
399 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java: | |
400 Handle STATIC_WQ_ANNOTATION type facets, build and add annotations | |
401 for these. | |
402 | |
403 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
404 | |
405 * src/main/java/de/intevation/flys/artifacts/WQKmsInterpolArtifact.java: | |
406 Set Facet type (name) based on static datas name (special case | |
407 everything starting with "height"). | |
408 | |
409 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
410 | |
411 * doc/conf/artifacts/winfo.xml: Extended compatibility matrices. | |
412 | |
413 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
414 | |
415 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: | |
416 Added new STATIC_WQ_ANNOTATIONS Facet Type. | |
417 | |
418 2011-11-16 Ingo Weinzierl <ingo@intevation.de> | |
419 | |
420 * src/main/java/de/intevation/flys/artifacts/model/WMSLayerFacet.java: | |
421 Added a method isQueryable() that determines if a layer is queryable via | |
422 WMS GetFeatureInfo request. This method returns false as default. | |
423 | |
424 * src/main/java/de/intevation/flys/artifacts/model/WMSDBLayerFacet.java: | |
425 Override isQueryable(). All WMSDBLayerFacets are queryable via WMS | |
426 GetFeatureInfo request. | |
427 | |
428 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
429 | |
430 * src/main/java/de/intevation/flys/artifacts/WQKmsInterpolArtifact.java: | |
431 Added functionality to artifact to use single column wst | |
432 interpolators. | |
433 | |
434 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
435 | |
436 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory.java: | |
437 Added methods to create WstValueTables (interpolators) for specific | |
438 columns of wsts. | |
439 | |
440 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
441 | |
442 * doc/conf/themes.xml: Added Point Style for other.wq data. | |
443 | |
444 2011-11-16 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
445 | |
446 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
447 Do not re-evaluate constant size() in for-loops. | |
448 | |
449 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
450 | |
451 * src/main/java/de/intevation/flys/artifacts/WQKmsInterpolArtifact.java: | |
452 Get ld_locations not locations data item to determine km. | |
453 (getDataAsDouble): New helper function to get data item as double. | |
454 | |
455 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
456 | |
457 * doc/conf/meta-data.xml: Recommend fixations for computed discharge | |
458 curve outs, minor refactoring of dc conf. | |
459 | |
460 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
461 | |
462 * doc/conf/conf.xml: Added wqinterpol factory to produce | |
463 WQKmsInterpolArtifacts. | |
464 | |
465 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
466 | |
467 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java: | |
468 Use StyledSeriesBuilder to add WQ data from WQKms to Series. | |
469 | |
470 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
471 | |
472 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java: | |
473 Handle interpolated WQ data. | |
474 | |
475 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
476 | |
477 * src/main/java/de/intevation/flys/artifacts/StaticWQKmsArtifact.java: | |
478 Adjusted to similar implementations. Added TODO about merging with | |
479 these similar implementations. | |
480 | |
481 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
482 | |
483 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
484 Removed logging noise, find better suited rows for interpolation. | |
485 | |
486 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
487 | |
488 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory.java: | |
489 Cache WstValueTables that were fetched by wst_id. | |
490 | |
491 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
492 | |
493 * src/main/java/de/intevation/flys/artifacts/model/WKmsFactory.java: | |
494 (getWstName): Fix and use SQL statement. | |
495 | |
496 2011-11-15 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
497 | |
498 * src/main/java/de/intevation/flys/artifacts/model/WQFacet.java, | |
499 src/main/java/de/intevation/flys/artifacts/WQKmsInterpolArtifact.java: | |
500 Added new Facet and Artifact to access W over Q data. | |
501 | |
502 2011-11-15 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
503 | |
504 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
505 (importData): New function to copy data from one artifact to | |
506 another. | |
507 | |
508 2011-11-15 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
509 | |
510 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory.java | |
511 (getTable): New methods to get WstValueTable for given wst_id. | |
512 Prepolate Arrays with NaNs. | |
513 | |
514 2011-11-15 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
515 | |
516 * src/main/java/de/intevation/flys/artifacts/model/WKmsFactory.java: | |
517 (getWKmsName): Fix definition. | |
518 | |
519 2011-11-15 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
520 | |
521 * src/main/java/de/intevation/flys/artifacts/model/WKmsFactory.java: | |
522 (getWKmsName): New function. Get name (description) of a WST. | |
523 | |
524 2011-11-15 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
525 | |
526 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: | |
527 Added new "other.wq"/STATIC_WQ Facet-Type, e.g. for fixations in | |
528 discharge curves. | |
529 | |
530 2011-11-15 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
531 | |
532 Picky cosmetics. | |
533 | |
534 * src/main/java/de/intevation/flys/artifacts/model/QRangeTree.java, | |
535 src/main/java/de/intevation/flys/artifacts/model/ManagedFacetAdapter.java, | |
536 src/main/java/de/intevation/flys/artifacts/datacage/templating/Builder.java, | |
537 src/main/java/de/intevation/flys/artifacts/states/ComputationRangeState.java: | |
538 Cosmetics, docs. | |
539 | |
540 2011-11-15 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
541 | |
542 Added translations for Mosel, Elbe and Saar. | |
543 | |
544 * src/main/resources/messages.properties, | |
545 src/main/resources/messages_de_DE.properties, | |
546 src/main/resources/messages_en.properties, | |
547 src/main/resources/messages_de.properties: Added translations | |
548 for Mosel, Elbe, Saar. | |
549 | |
550 2011-11-15 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
551 | |
552 Added new interpolation mechanism to WstValueTable to interpolate | |
553 given columns only. | |
554 | |
555 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java | |
556 (linearW): New, interpolate a given columns w's between given rows. | |
557 (interpolateWQColumnwise): New, interpolate between rows ws at a | |
558 given column and km. | |
559 | |
560 2011-11-14 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
561 | |
562 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
563 Minor doc added. | |
564 | |
565 2011-11-13 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
566 | |
567 * src/main/java/de/intevation/flys/artifacts/math/DifferenceCurveFacet.java, | |
568 src/main/java/de/intevation/flys/artifacts/model/WQKmsFactory.java, | |
569 src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java, | |
570 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java, | |
571 src/main/java/de/intevation/flys/exports/StyledSeriesBuilder.java, | |
572 src/main/java/de/intevation/flys/themes/ThemeFactory.java: | |
573 Removed dead ';' from empty bodies. | |
574 | |
575 2011-11-13 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
576 | |
577 * src/main/java/de/intevation/flys/jfree/StableXYDifferenceRenderer.java: | |
578 s/reset/resetQuick/s in TDoubleArrayLists. | |
579 | |
580 2011-11-13 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
581 | |
582 * src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java: | |
583 Added system properties 'waterlevel' and 'km'. Useful to | |
584 init the UI with a given waterlevel and drawing the cross-sections | |
585 at the given km. | |
586 | |
587 * src/main/java/de/intevation/flys/jfree/StableXYDifferenceRenderer.java: | |
588 Spliting by NaNs definition holes _should_ work now. Needs | |
589 some more testing. | |
590 TODOs: | |
591 - Use log4j instead of println for logging. | |
592 - Subclass XYDifferenceRenderer instead of replacing it totally. | |
593 | |
594 2011-11-12 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
595 | |
596 * src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java: | |
597 Draw water, too. | |
598 | |
599 * src/main/java/de/intevation/flys/jfree/StableXYDifferenceRenderer.java: | |
600 First code to split datasets by NaNs. WIP. | |
601 | |
602 2011-11-12 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
603 | |
604 * src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java: | |
605 Draw ground with StableXYDifferenceRenderer. | |
606 | |
607 * src/main/java/de/intevation/flys/jfree/StableXYDifferenceRenderer.java: | |
608 Removed XYDatasetToZeroMapper stuff. Not needed any longer | |
609 because we use rendereres on dataset basis now. | |
610 | |
611 * src/main/java/de/intevation/flys/jfree/XYDatasetToZeroMapper.java: | |
612 Removed.Not longer needed. | |
613 | |
614 2011-11-11 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
615 | |
616 * doc/conf/meta-data.xml: Include computed discharge curves in dc | |
617 conf. | |
618 | |
619 2011-11-11 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
620 | |
621 * doc/conf/meta-data.xml: Somewhat unify user-part of dc config. | |
622 | |
623 2011-11-11 Ingo Weinzierl <ingo@intevation.de> | |
624 | |
625 * doc/conf/themes.xml: Modified some floodmap styles and added a | |
626 backgroundcolor attribute to polygon themes. | |
627 | |
628 * src/main/java/de/intevation/flys/artifacts/model/MapserverStyle.java: | |
629 Added support for backgroundcolor. | |
630 | |
631 * src/main/java/de/intevation/flys/utils/ThemeUtil.java: Parse | |
632 backgroundcolor from theme document. If a value is given, the | |
633 backgroundcolor is set on the Mapserver style. | |
634 | |
635 2011-11-11 Ingo Weinzierl <ingo@intevation.de> | |
636 | |
637 * src/main/java/de/intevation/flys/artifacts/model/MapserverStyle.java: | |
638 Set correct Mapserver attribute name to adjust the width of a line. | |
639 | |
640 2011-11-11 Ingo Weinzierl <ingo@intevation.de> | |
641 | |
642 * doc/conf/themes.xml: Added 'textcolor' and 'textsize' attributes to the | |
643 existing 'Kms' theme. | |
644 | |
645 * doc/conf/mapserver/fontset.txt: Defined a 'DefaultFont' that is used as | |
646 default font for Mapserver labels. | |
647 | |
648 * doc/conf/mapserver/db_layer.vm: Add a Mapserver LABELITEM if a value is | |
649 provided by LayerInfo object. | |
650 | |
651 * src/main/java/de/intevation/flys/artifacts/WMSDBArtifact.java: Added a | |
652 getLabelItem() method that returns null as default. | |
653 | |
654 * src/main/java/de/intevation/flys/artifacts/WMSKmArtifact.java: Override | |
655 getLabelItem() to return "km" which is the database field that contains | |
656 the kilometer information. | |
657 | |
658 * src/main/java/de/intevation/flys/artifacts/model/LayerInfo.java, | |
659 src/main/java/de/intevation/flys/artifacts/model/WMSDBLayerFacet.java: | |
660 Added an attribute labelItem with appropriate getter/setter methods. | |
661 | |
662 * src/main/java/de/intevation/flys/artifacts/model/MapserverStyle.java: | |
663 Splitted up the internal class Clazz. Now, there are two new inner | |
664 classes Style and Label that fulfill the appropriate Mapfile sections of | |
665 Mapserver. | |
666 | |
667 * src/main/java/de/intevation/flys/utils/ThemeUtil.java: Also Read font | |
668 attributes and add new Clazz Label for the Mapserver layer. | |
669 | |
670 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Set the | |
671 "labelItem" attribute on the LayerInfo object used to fill DB layer | |
672 templates. | |
673 | |
674 2011-11-11 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
675 | |
676 * doc/conf/meta-data.xml: Re-use macros to include more data to | |
677 datacage in more situations. | |
678 | |
679 2011-11-11 Ingo Weinzierl <ingo@intevation.de> | |
680 | |
681 * src/main/java/de/intevation/flys/artifacts/model/WMSLayerFacet.java: | |
682 Removed needless imports. | |
683 | |
684 2011-11-10 Ingo Weinzierl <ingo@intevation.de> | |
685 | |
686 * src/main/java/de/intevation/flys/artifacts/WMSFixpointsArtifact.java: New | |
687 WMSDBArtifact that creates facets for "fixpoints" relation. | |
688 | |
689 * doc/conf/artifacts/winfo.xml: Registered "floodmap.fixpoints" as valid | |
690 "floodmap" facet. | |
691 | |
692 * doc/conf/conf.xml: Registered the new WMSFixpointsArtifact. | |
693 | |
694 * doc/conf/themes.xml: Added a theme for "floodmap.fixpoints". | |
695 | |
696 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added | |
697 Facet type "floodmap.fixpoints". | |
698 | |
699 * doc/conf/meta-data.xml: Made "floodmap.fixpoints" available via datacage. | |
700 | |
701 * src/main/resources/messages.properties, | |
702 src/main/resources/messages_de_DE.properties, | |
703 src/main/resources/messages_en.properties, | |
704 src/main/resources/messages_de.properties: Added titles for | |
705 "floodmap.fixpoints" facets. | |
706 | |
707 2011-11-10 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
708 | |
709 * doc/conf/meta-data.xml: Refactored and (re)use macros. | |
710 | |
711 2011-11-10 Ingo Weinzierl <ingo@intevation.de> | |
712 | |
713 * src/main/java/de/intevation/flys/artifacts/WMSBuildingsArtifact.java: New | |
714 WMSDBArtifact that creates facets for "buildings" relation. | |
715 | |
716 * doc/conf/artifacts/winfo.xml: Registered "floodmap.buildings" as valid | |
717 "floodmap" facet. | |
718 | |
719 * doc/conf/conf.xml: Registered the new WMSBuildingsArtifact. | |
720 | |
721 * doc/conf/themes.xml: Added a theme for "floodmap.buildings". | |
722 | |
723 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added | |
724 Facet type "floodmap.buildings". | |
725 | |
726 * doc/conf/meta-data.xml: Made "floodmap.buildings" available via datacage. | |
727 | |
728 * src/main/resources/messages.properties, | |
729 src/main/resources/messages_de_DE.properties, | |
730 src/main/resources/messages_en.properties, | |
731 src/main/resources/messages_de.properties: Added titles for | |
732 "floodmap.buildings" facets. | |
733 | |
734 2011-11-10 Ingo Weinzierl <ingo@intevation.de> | |
735 | |
736 * src/main/java/de/intevation/flys/artifacts/WMSLineArtifact.java: New | |
737 WMSDBArtifact that creates facets for "lines" relation. | |
738 | |
739 * doc/conf/artifacts/winfo.xml: Registered "floodmap.lines" as valid | |
740 "floodmap" facet. | |
741 | |
742 * doc/conf/conf.xml: Registered the new WMSLineArtifact. | |
743 | |
744 * doc/conf/themes.xml: Added a theme for "floodmap.lines". | |
745 | |
746 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added | |
747 Facet type "floodmap.lines". | |
748 | |
749 * doc/conf/meta-data.xml: Made "floodmap.lines" available via datacage. | |
750 | |
751 * src/main/resources/messages.properties, | |
752 src/main/resources/messages_de_DE.properties, | |
753 src/main/resources/messages_en.properties, | |
754 src/main/resources/messages_de.properties: Added titles for facets. | |
755 | |
756 2011-11-10 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
757 | |
758 * doc/conf/meta-data.xml: Adjusted DC configuration to | |
759 also allow heightmarks and base data in discharge longitudinal | |
760 sections. Minor refac. | |
761 | |
762 2011-11-10 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
763 | |
764 * doc/conf/meta-data.xml: Adjusted DC configuration to let old | |
765 calculations be available for discharge longitudinal sections. | |
766 | |
767 2011-11-10 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
768 | |
769 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java: | |
770 Handle other WQKm and WKm Facets. | |
771 | |
772 2011-11-10 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
773 | |
774 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java | |
775 (IS): New inner class with static method to allow queries whether | |
776 a type belongs to a however-defined "group". | |
777 | |
778 2011-11-10 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
779 | |
780 * doc/conf/conf.xml: Reverted accidental commit. | |
781 | |
782 * doc/conf/meta-data.xml: Extracted annotations-macro, add recommendation | |
783 for discharge longitudinal sections. | |
784 | |
785 2011-11-10 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
786 | |
787 * doc/conf/conf.xml: Reverted accidental commit. | |
788 | |
789 * doc/conf/meta-data.xml: Extracted annotations-macro, add recommendation | |
790 for discharge longitudinal sections. | |
791 | |
792 2011-11-10 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
793 | |
794 Made discharge longitudinal section out compatible with annotations. | |
795 | |
796 * doc/conf/artifacts/winfo.xml: Added facets to compatibility list | |
797 for discharge longitudinal section outs. | |
798 | |
799 2011-11-10 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
800 | |
801 Extracted Annotations-Macro in dc conf, recommend Annotations for | |
802 discharge longitudinal sections. (Note correction two commits later). | |
803 | |
804 * doc/conf/conf.xml: Extracted annotations-macro, add recommendation | |
805 for discharge longitudinal sections. | |
806 | |
807 2011-11-10 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
808 | |
809 Handle Annotations in DischargeLongitudinalSection diagrams. | |
810 | |
811 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java: | |
812 Call doAnnotations for LONGITUDINAL_ANNOTATION facets. | |
813 | |
814 2011-11-10 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
815 | |
816 Resolve code duplicate. | |
817 | |
818 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java | |
819 (doAnnotationsOut): Removed duplicate code. | |
820 Theoretically handle WQKMS data. | |
821 | |
822 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java: | |
823 Adjusted call to doAnnotationOut. | |
824 | |
825 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java | |
826 (doAnnotations): Doc from LongitudinalSectionGenerator. | |
827 | |
828 2011-11-10 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
829 | |
830 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
831 Include exception when logging issue with spline creation. | |
832 | |
833 2011-11-10 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
834 | |
835 * src/main/java/de/intevation/flys/artifacts/datacage/templating/Builder.java: | |
836 When during XPath evaluation an exception is thrown, log the | |
837 expression that caused the trouble. | |
838 | |
839 2011-11-10 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
840 | |
841 * src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java: | |
842 Use separate XYDataset for each curve. This is needed because | |
843 "Raum/Flaeche" needs specialized renderers, which are not compatible | |
844 with the standard renderers. | |
845 | |
846 * src/main/java/de/intevation/flys/artifacts/CollectionMonitor.java: | |
847 Removed superfluous import. | |
848 | |
849 2011-11-09 Ingo Weinzierl <ingo@intevation.de> | |
850 | |
851 * src/main/java/de/intevation/flys/artifacts/WMSFloodplainArtifact.java: New | |
852 Artifact that is used to create WMS layers for floodplains in maps. | |
853 | |
854 * doc/conf/conf.xml: Registered the new WMSFloodplainArtifact. | |
855 | |
856 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added | |
857 a new type 'floodmap.floodplain'. | |
858 | |
859 * doc/conf/artifacts/winfo.xml: Registered the 'floodmap.floodplain' facet | |
860 for floodmaps. | |
861 | |
862 * doc/conf/themes.xml: Added a theme for 'floodmap.floodplain' facets. | |
863 | |
864 * doc/conf/meta-data.xml: Added configuration for 'floodplain'. | |
865 | |
866 * src/main/resources/messages.properties, | |
867 src/main/resources/messages_de_DE.properties, | |
868 src/main/resources/messages_en.properties, | |
869 src/main/resources/messages_de.properties: Added facet titles for | |
870 'floodmap.floodplain' facets. | |
871 | |
872 2011-11-09 Ingo Weinzierl <ingo@intevation.de> | |
873 | |
874 * src/main/java/de/intevation/flys/artifacts/WMSCatchmentArtifact.java: New | |
875 Artifact that is used to create WMS layers for catchments in maps. | |
876 | |
877 * doc/conf/conf.xml: Registered the new WMSCatchmentArtifact. | |
878 | |
879 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added | |
880 a new type 'floodmap.catchment'. | |
881 | |
882 * doc/conf/artifacts/winfo.xml: Registered the 'floodmap.catchment' facet | |
883 for floodmaps. | |
884 | |
885 * doc/conf/themes.xml: Added a theme for 'floodmap.catchment' facets. | |
886 | |
887 * doc/conf/meta-data.xml: Added configuration for 'catchments'. | |
888 | |
889 * src/main/resources/messages.properties, | |
890 src/main/resources/messages_de_DE.properties, | |
891 src/main/resources/messages_en.properties, | |
892 src/main/resources/messages_de.properties: Added facet titles for | |
893 'floodmap.catchment' facets. | |
894 | |
895 2011-11-09 Ingo Weinzierl <ingo@intevation.de> | |
896 | |
897 * src/main/java/de/intevation/flys/artifacts/WMSHwsArtifact.java: New | |
898 Artifact that is used to create WMS layers for flood protected works. | |
899 | |
900 * doc/conf/conf.xml: Registered the new WMSHwsArtifact. | |
901 | |
902 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added | |
903 a new type 'floodmap.hws'. | |
904 | |
905 * doc/conf/artifacts/winfo.xml: Registered the 'floodmap.hws' facet for | |
906 floodmaps. | |
907 | |
908 * doc/conf/themes.xml: Added a theme for 'floodmap.hws' facets. | |
909 | |
910 * doc/conf/meta-data.xml: Added configuration for 'hws'. | |
911 | |
912 * src/main/resources/messages.properties, | |
913 src/main/resources/messages_de_DE.properties, | |
914 src/main/resources/messages_en.properties, | |
915 src/main/resources/messages_de.properties: Added facet titles for | |
916 'floodmap.hws' facets. | |
917 | |
918 2011-11-09 Ingo Weinzierl <ingo@intevation.de> | |
919 | |
920 * doc/conf/mapserver/dbconnection.include: Removed. DB connections are | |
921 supported by LayerInfo objects now. So, we do not need to configure it any | |
922 more. | |
923 | |
924 * doc/conf/mapserver/db_layer.vm: The database connection is provided by | |
925 LayerInfo objects. The "INCLUDE dbconnection.include" has been replaced. | |
926 | |
927 * src/main/java/de/intevation/flys/artifacts/WMSDBArtifact.java: The inner | |
928 State class got two new methods that provide information about db | |
929 connection string and connection type. | |
930 | |
931 * src/main/java/de/intevation/flys/artifacts/model/WMSDBLayerFacet.java, | |
932 src/main/java/de/intevation/flys/artifacts/model/LayerInfo.java: Both | |
933 classes support getter/setter for connection and connectionType. | |
934 | |
935 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Fill | |
936 LayerInfo objects used to create DB layers with the connection and | |
937 connection type provided by WMSDBLayerFacet. | |
938 | |
939 2011-11-09 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
940 | |
941 Allow height marks with points style in w-differences diagrams. | |
942 | |
943 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java: | |
944 Handle HEIGHTMARKS_POINTS facets. | |
945 | |
946 2011-11-09 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
947 | |
948 Made Q Duration curve initially inactive. | |
949 | |
950 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java | |
951 (getInitialFacetActivity): Return 0 for DURATION_Q facets. Minor | |
952 cosmetics. | |
953 | |
954 2011-11-09 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
955 | |
956 Recommend mainvalues for Duration Curve Diagrams. | |
957 | |
958 * doc/conf/meta-data.xml: Recommend mainvalues for duration curve | |
959 diagrams. refactored into macro. | |
960 | |
961 2011-11-09 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
962 | |
963 Handle MainValue Facets in Duration Curve Diagrams. | |
964 | |
965 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java: | |
966 Handle MainValues. | |
967 | |
968 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java: | |
969 Adjusted to call doAnnotations. | |
970 | |
971 2011-11-09 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
972 | |
973 Move do*Annotation* (like mainvalue) in XYChartGenerator. | |
974 | |
975 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java | |
976 (doAnnotations): New, moved from DischargeCurveGenerator. | |
977 | |
978 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java | |
979 (doMainValueAnnotations): Moved to superclass. | |
980 | |
981 2011-11-09 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
982 | |
983 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java: | |
984 Removed duplicate code. | |
985 | |
986 2011-11-09 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
987 | |
988 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java | |
989 (): Minor cosmetics, added stability. | |
990 (getInitialFacetActivity): Let facets be inactive in duration curve | |
991 diagrams. | |
992 | |
993 2011-11-09 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
994 | |
995 * doc/conf/artifacts/winfo.xml: Allow other.wqkms facets in many | |
996 outputs, mainvalues in duration curves. | |
997 | |
998 2011-11-09 Ingo Weinzierl <ingo@intevation.de> | |
999 | |
1000 * doc/conf/mapserver/dbconnection.include: Adapted connection params for | |
1001 using an oracle database. | |
1002 | |
1003 * src/main/java/de/intevation/flys/artifacts/WMSQPSArtifact.java, | |
1004 src/main/java/de/intevation/flys/artifacts/WMSKmArtifact.java, | |
1005 src/main/java/de/intevation/flys/artifacts/RiverAxisArtifact.java: | |
1006 Added Oracle support for Mapserver's DATA attribute. Oracle doesn't allow | |
1007 a "USING UNIQUE id" string in this attribute which is required by Postgis. | |
1008 | |
1009 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: | |
1010 Modified the geometry type of "talaue.shp" from MultiPolygon to Polygon. | |
1011 | |
1012 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: Added a function | |
1013 which returns true, if the backend uses an Oracle db instance. Otherwise, | |
1014 it returns false. | |
1015 | |
1016 2011-11-08 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1017 | |
1018 Fix flys/issue406 (Themestyle-editor: themes for "other.wkms" and | |
1019 "other.wqkms" missing) | |
1020 | |
1021 * doc/conf/themes.xml: Fixed typos in WKms and WQKms theme names. | |
1022 | |
1023 2011-11-08 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1024 | |
1025 Fix flys/issue405 (Datacage: Recommendations get loaded twice). | |
1026 | |
1027 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java | |
1028 (setup): Do not try/catch exception. | |
1029 (spawn_state): Generate just one "general" output. | |
1030 | |
1031 2011-11-08 Ingo Weinzierl <ingo@intevation.de> | |
1032 | |
1033 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java: | |
1034 Added a log.warn() which prints out an exception - previously it was | |
1035 just skipped. | |
1036 | |
1037 2011-11-08 Ingo Weinzierl <ingo@intevation.de> | |
1038 | |
1039 * doc/conf/meta-data.xml: Removed orphaned datacage configuration which is | |
1040 no longer loadable. | |
1041 | |
1042 2011-11-07 Ingo Weinzierl <ingo@intevation.de> | |
1043 | |
1044 * doc/conf/conf.xml: Added an "post-describe" hook which is necessary to | |
1045 load recommendations for "floodmaps". | |
1046 | |
1047 2011-11-07 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1048 | |
1049 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory.java | |
1050 (loadRows, loadColumns, loadQRanges): Refactored in preparation to | |
1051 ability to create WstValueTables for given wst_id and | |
1052 column_pos (interpolation for static data). | |
1053 | |
1054 2011-11-07 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1055 | |
1056 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java, | |
1057 src/main/java/de/intevation/flys/artifacts/states/LocationSelect.java: | |
1058 Minor, picky cosmetics. | |
1059 | |
1060 * src/main/java/de/intevation/flys/artifacts/model/WQKmsFactory.java: | |
1061 Removed junk. | |
1062 | |
1063 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
1064 Added documentation. | |
1065 | |
1066 2011-11-07 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1067 | |
1068 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
1069 Be more specific in what to catch. | |
1070 | |
1071 2011-11-04 Ingo Weinzierl <ingo@intevation.de> | |
1072 | |
1073 * doc/conf/meta-data.xml: Added the CrossSectionTracks to the "floodmap" | |
1074 datacage configuration. | |
1075 | |
1076 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added a | |
1077 FacetType "floodmap.qps". | |
1078 | |
1079 * doc/conf/conf.xml: Defined an ArtifactFactory for the "wmspqsartifact" | |
1080 string. The factory will create new instances of WMSQPSArtifact. | |
1081 | |
1082 * src/main/java/de/intevation/flys/artifacts/WMSQPSArtifact.java: New. This | |
1083 Artifact is used to create "floodmap.qps" facets. It has an internal fixed | |
1084 State WMSQPSState. | |
1085 | |
1086 * doc/conf/artifacts/winfo.xml: Added the "floodmap.qps" layer to the | |
1087 "floodmap" output. | |
1088 | |
1089 * doc/conf/themes.xml: Added a theme for "floodmap.qps" facets. | |
1090 | |
1091 * src/main/resources/messages.properties, | |
1092 src/main/resources/messages_de_DE.properties, | |
1093 src/main/resources/messages_en.properties, | |
1094 src/main/resources/messages_de.properties: Added strings for the QPS WMS | |
1095 layer used in floodmaps. | |
1096 | |
1097 2011-11-04 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1098 | |
1099 Re-enable mainvalue-recommendations for computed discharge curves, | |
1100 as the NPE should be gone. | |
1101 | |
1102 * doc/conf/meta-data.xml: Uncomment mainvalue recommendations. | |
1103 | |
1104 2011-11-04 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1105 | |
1106 When querying metadata/datacage, use only output-names of outputs that | |
1107 actually exists (in the sense of having facets). | |
1108 | |
1109 * src/main/java/de/intevation/flys/artifacts/CollectionMonitor.java: | |
1110 Get output names from artifact, not from state. | |
1111 | |
1112 2011-11-04 Ingo Weinzierl <ingo@intevation.de> | |
1113 | |
1114 * doc/conf/meta-data.xml: Removed DEMs from floodmap configuration, | |
1115 because we are not able to draw DEMs into maps. | |
1116 | |
1117 2011-11-04 Ingo Weinzierl <ingo@intevation.de> | |
1118 | |
1119 * src/main/java/de/intevation/flys/artifacts/RiverAxisArtifact.java: | |
1120 Subclasses WMSDBArtifact now and defines an inner class RiverAxisState | |
1121 which subclasses WMSDBState. | |
1122 | |
1123 * src/main/java/de/intevation/flys/artifacts/states/RiverAxisState.java: | |
1124 Removed. The RiverAxisState is an inner class of RiverAxisArtifact now | |
1125 which subclasses WMSDBState. | |
1126 | |
1127 * doc/conf/artifacts/riveraxis.xml: Removed, because the RiverAxisArtifact | |
1128 has a fixed static State only. | |
1129 | |
1130 * doc/conf/conf.xml: Removed riveraxis.xml definition. | |
1131 | |
1132 2011-11-04 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1133 | |
1134 For a Flys-Collection, add outputt to attributes-part of describe | |
1135 document only if they contain facets. -> Prevent empty output nodes | |
1136 in flys-collections outputs. | |
1137 | |
1138 * src/main/java/de/intevation/flys/collections/AttributeWriter.java: | |
1139 (writeFacets): Added return type to indicate whether any facet was | |
1140 written. Decide whether to add an output-node depending on this | |
1141 return value. | |
1142 | |
1143 2011-11-04 Ingo Weinzierl <ingo@intevation.de> | |
1144 | |
1145 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Create | |
1146 line and polygon layers for barriers only if they are really existing. | |
1147 | |
1148 2011-11-04 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1149 | |
1150 Disable mainvalue-recommendations for discharge curves as they trigger | |
1151 a yet-to-be understood NPE. | |
1152 | |
1153 * doc/conf/meta-data.xml: Comment mainvalue-recommendations for | |
1154 discharge curves. | |
1155 | |
1156 2011-11-04 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1157 | |
1158 Added new matching condition for theme-mappings: the name of | |
1159 the output. | |
1160 | |
1161 * src/main/java/de/intevation/flys/themes/ThemeMapping.java: | |
1162 Added output field and function to match it against a given | |
1163 output name. | |
1164 | |
1165 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java: | |
1166 Createing ThemeMapping with output attribute from configuration. | |
1167 | |
1168 * src/main/java/de/intevation/flys/themes/ThemeFactory.java: | |
1169 (getTheme(FLYSContext, string)): Removed, never called. | |
1170 (getTheme): Added outputName argument, match it. | |
1171 | |
1172 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
1173 Pass outputs name until it can be matched against mapping. | |
1174 | |
1175 2011-11-04 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1176 | |
1177 * doc/conf/themes.xml: Added default themes for other.w(q)kms. | |
1178 | |
1179 2011-11-04 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1180 | |
1181 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java, | |
1182 src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java: | |
1183 Cosmetics, reduce logging noise. | |
1184 | |
1185 2011-11-03 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1186 | |
1187 Added access to static W_Q_Kms - data in much the same way then static | |
1188 WKms. | |
1189 | |
1190 * src/main/java/de/intevation/flys/artifacts/model/StaticWQKmsCacheKey.java: | |
1191 Cache Key for static wqkms data. | |
1192 | |
1193 * src/main/java/de/intevation/flys/artifacts/model/WQKmsFacet.java: | |
1194 Facet for WQKms. | |
1195 | |
1196 * src/main/java/de/intevation/flys/artifacts/model/WQKmsFactory.java: | |
1197 Factory to access WQKms. | |
1198 | |
1199 * src/main/java/de/intevation/flys/artifacts/StaticWQKmsArtifact.java: | |
1200 Artifact that provides 'static' WQKms. | |
1201 | |
1202 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: | |
1203 Added STATIC_WQKMS type. | |
1204 | |
1205 2011-11-03 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1206 | |
1207 * src/main/java/de/intevation/flys/jfree/XYDatasetToZeroMapper.java: | |
1208 New. Maps series to zero to be compatible with XYDifferenceRenderer. | |
1209 It returns an iterator over XYDatasets to enable splitting by NaNs, | |
1210 which still needs to be implemented. | |
1211 | |
1212 * src/main/java/de/intevation/flys/jfree/StableXYDifferenceRenderer.java: | |
1213 Uses a XYDatasetToZeroMapper now. Fixed package name. | |
1214 | |
1215 2011-11-03 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1216 | |
1217 Added new matching options for theme-mappings to allow more | |
1218 overspecification of defaults (e.g. now name,description-pattern and | |
1219 master-artifacts attributes are matched). The first full match from | |
1220 the configuration file is done. | |
1221 New matching option in the masterAttr- field of a mapping are | |
1222 super-basic until new use-cases come up. | |
1223 Concrete new themes are point-styles of Ws when locations where chosen | |
1224 to calculate. | |
1225 | |
1226 * doc/conf/themes.xml: Added newly defined Themes. | |
1227 | |
1228 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
1229 Put master-artifact in flys-context. | |
1230 | |
1231 * src/main/java/de/intevation/flys/themes/ThemeMapping.java: | |
1232 Accept masterAttr in constructor. | |
1233 (masterAttrMatches): New, check masterAttr-condition against | |
1234 artifact. | |
1235 | |
1236 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java: | |
1237 When creating ThemeMappings, pass in masterAttr. | |
1238 | |
1239 * src/main/java/de/intevation/flys/themes/ThemeFactory.java: | |
1240 (getTheme): Evaluate masterAttr-condition, always return first full | |
1241 match. | |
1242 | |
1243 2011-11-03 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1244 | |
1245 * src/main/java/de/intevation/flys/artifacts/context/FLYSContext.java: | |
1246 Added ARTIFACT key, documentation. | |
1247 | |
1248 2011-11-03 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1249 | |
1250 * src/main/java/de/intevation/flys/jfree/StableXYDifferenceRenderer.java: | |
1251 New. At the moment a pure copy of JFreeChart's XYDifferenceRenderer. | |
1252 Needs to be refactored to cope with its limitations: | |
1253 | |
1254 - Series numbers need to be zero based. We have more than two series | |
1255 in our diagrams. | |
1256 | |
1257 - Cannot handle definition holes indicated by NaNs. We have these | |
1258 cases e.g. more than one "Fliessbereich". | |
1259 | |
1260 2011-11-03 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1261 | |
1262 * src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java: | |
1263 Reenabled dumping data to disk. | |
1264 | |
1265 2011-11-03 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1266 | |
1267 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java: | |
1268 Removed superfluous import. | |
1269 | |
1270 2011-11-03 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1271 | |
1272 * src/main/java/de/intevation/flys/artifacts/datacage/templating/Builder.java: | |
1273 Use new pair in stack of results and connections because they are | |
1274 always used in pairs. Maintaining two separate stacks is not | |
1275 needed any longer. | |
1276 | |
1277 2011-11-03 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1278 | |
1279 * src/main/java/de/intevation/flys/utils/Pair.java: New. A generic pair. | |
1280 | |
1281 * src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java: | |
1282 Rewritten to useful as test bed for "Raum/Flaeche" operations. | |
1283 | |
1284 2011-11-02 Ingo Weinzierl <ingo@intevation.de> | |
1285 | |
1286 * src/main/java/de/intevation/flys/artifacts/model/LayerInfo.java: Added | |
1287 setter methods for all parameters and removed the constructors. There is | |
1288 just an empty constructor - all parameters need to be set via setter | |
1289 methods. | |
1290 | |
1291 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Modified the | |
1292 creation of LayerInfo objects. | |
1293 | |
1294 * src/main/java/de/intevation/flys/artifacts/model/DBLayerInfo.java: | |
1295 Removed, because the internal structure and constructors of LayerInfo have | |
1296 changed, so that we gonna use LayerInfo for all layers now. | |
1297 | |
1298 * doc/conf/themes.xml: Modified the color definitions of | |
1299 'floodmap.riveraxis' and 'floodmap.kms' themes and added a 'symbol' field | |
1300 to 'floodmap.kms'. | |
1301 | |
1302 * doc/conf/mapserver/symbols.sym, | |
1303 doc/conf/mapserver/fontset.txt: New. Required by Mapserver. | |
1304 | |
1305 * doc/conf/mapserver/db_layer.vm: Added an 'EXTENT' field that is filled | |
1306 using LayerInfo.getExtent(). | |
1307 | |
1308 * doc/conf/mapserver/mapfile.vm: Modified FONTSET directory and added a | |
1309 SYMBOLSET. | |
1310 | |
1311 * src/main/java/de/intevation/flys/artifacts/WMSDBArtifact.java: Added an | |
1312 abstract method getGeometryType(). | |
1313 | |
1314 * src/main/java/de/intevation/flys/artifacts/WMSKmArtifact.java: Override | |
1315 getGeometryType() of WMSDBArtifact. This Artifact provides "POINT"s. | |
1316 | |
1317 * src/main/java/de/intevation/flys/artifacts/states/RiverAxisState.java: | |
1318 Create new WMSDBLayerFacets with geometry type "LINE". | |
1319 | |
1320 * src/main/java/de/intevation/flys/artifacts/model/WMSDBLayerFacet.java: | |
1321 Added a 'geometryType' attribute and getter/setter methods. This attribute | |
1322 determines the type of geometry provided by this database wms layer. Types | |
1323 could be "POLYGON", "POINT", "LINE" and so on. | |
1324 | |
1325 * src/main/java/de/intevation/flys/artifacts/model/MapserverStyle.java: | |
1326 Added a 'symbol' attribute to the inner class Clazz. | |
1327 | |
1328 * src/main/java/de/intevation/flys/utils/ThemeUtil.java: Added a function to | |
1329 parse the symbol field of a theme. This symbol is used for | |
1330 MapserverStyle.Clazz. | |
1331 | |
1332 2011-11-02 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1333 | |
1334 Apply point theme to heightmarks when imported in longitudinal | |
1335 section diagram. | |
1336 | |
1337 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: | |
1338 Added new FacetType HEIGHTMARK_POINTS. | |
1339 | |
1340 * src/main/java/de/intevation/flys/artifacts/model/WKmsFacet.java: | |
1341 Allow name to be given in constructor. | |
1342 | |
1343 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java: | |
1344 If heightmarks were loaded, give respective name in WKmsFacet | |
1345 generation. | |
1346 | |
1347 * doc/conf/themes.xml: Added virtual "Points" and concrete | |
1348 heightmark_points - theme. | |
1349 | |
1350 * doc/conf/artifacts/winfo.xml: Made longitudinal_section output | |
1351 compatible with heightmarks_points. | |
1352 | |
1353 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
1354 Render heightmarks like other wkms. | |
1355 | |
1356 * doc/conf/meta-data.xml: Changed heightmark ids such that it can be | |
1357 identified in StaticWKmsFacet . | |
1358 | |
1359 2011-11-02 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1360 | |
1361 * src/main/java/de/intevation/flys/exports/StyledXYSeries.java: | |
1362 Documentation added. | |
1363 | |
1364 2011-11-02 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1365 | |
1366 * src/main/java/de/intevation/flys/artifacts/model/ManagedDomFacet.java: | |
1367 Fix bug where (wrong) active-attribute was set, doc. | |
1368 | |
1369 2011-11-02 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1370 | |
1371 Refactoring to allow mainvalues in both discharge and computed | |
1372 discharge curve diagrams. | |
1373 | |
1374 * src/main/java/de/intevation/flys/exports/StyledSeriesBuilder.java | |
1375 (addPointsQW): New helper function. | |
1376 | |
1377 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java, | |
1378 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java: | |
1379 Moved doMainValueQAnnotations, doMainValueWAnnotations from child- | |
1380 to parent-class, extracetd doDischargeOut. Use | |
1381 StyledSeriesBuilder.addPointsQW . | |
1382 | |
1383 2011-11-02 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1384 | |
1385 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java: | |
1386 Removed logger/debugging noise. | |
1387 | |
1388 2011-11-02 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1389 | |
1390 1) Pass outputs name to artifacts getInitialFacetActivity(). | |
1391 2) Do not allow "gaps" in positions of facets in outputs in attributes | |
1392 of collection (prevent e.g. positions 1,3,5; will become 1,2,3 | |
1393 instead). | |
1394 | |
1395 * src/main/java/de/intevation/flys/collections/AttributeWriter.java: | |
1396 Pass outputname to artifacts getInitialFacetActivity(), prevent | |
1397 gaps in facets positions in outputs (1,3,10 become 1,2,3). | |
1398 | |
1399 2011-11-02 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1400 | |
1401 1) Give Artifacts information about the out when they have to decide | |
1402 whether a given facet is initially in/active by adding parameter | |
1403 to getInitialFacetActivity(+outputName). | |
1404 2) Generate separate Set of MainValueFacets for discharge curves. | |
1405 | |
1406 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java, | |
1407 src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java, | |
1408 src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java, | |
1409 src/main/java/de/intevation/flys/artifacts/WaterlevelArtifact.java, | |
1410 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
1411 (getInitialFacetActivity): Adjusted, new parameter outputName. | |
1412 Added MAINVALUES_{Q,W} definition. | |
1413 | |
1414 * src/main/java/de/intevation/flys/artifacts/model/MainValuesQFacet.java, | |
1415 src/main/java/de/intevation/flys/artifacts/model/MainValuesWFacet.java: | |
1416 Accept name in constructor. | |
1417 | |
1418 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java: | |
1419 Create second pair of MainValuesFacets, give distinguishable names. | |
1420 | |
1421 2011-11-02 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1422 | |
1423 Added compatibility of (computed)discharge-curve diagrams with | |
1424 mainvalues. | |
1425 | |
1426 * doc/conf/artifacts/winfo.xml: Added mainvalues to compatibility list | |
1427 of (computed) discharge curve outputs. These facet-definitionss can | |
1428 differ in names because we can can have up to 4 mainvalue facets in | |
1429 one state. | |
1430 | |
1431 2011-11-01 Ingo Weinzierl <ingo@intevation.de> | |
1432 | |
1433 * src/main/java/de/intevation/flys/artifacts/WMSKmArtifact.java: Determine | |
1434 the extent of such WMS layer based on the list of RiverAxisKm objects | |
1435 returned by the backend. | |
1436 | |
1437 2011-11-01 Ingo Weinzierl <ingo@intevation.de> | |
1438 | |
1439 * doc/conf/meta-data.xml: Added a datacage node that represents a | |
1440 kilometer WMS layer. | |
1441 | |
1442 * doc/conf/conf.xml: Added a new Artifact WMSKmArtifact. | |
1443 | |
1444 * doc/conf/themes.xml: Added a style for 'floodmap.kms' facets. | |
1445 | |
1446 * doc/conf/artifacts/winfo.xml: Defined 'floodmap.kms' as valid floodmap | |
1447 facet. | |
1448 | |
1449 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added | |
1450 a 'floodmap.kms' facet. | |
1451 | |
1452 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: Added a method to | |
1453 determine the srid of a river based on its name. | |
1454 | |
1455 * src/main/java/de/intevation/flys/artifacts/WMSDBArtifact.java: New. This | |
1456 Artifact should act as base Artifact for WMS layers that represent data | |
1457 from database datastore. | |
1458 | |
1459 * src/main/java/de/intevation/flys/artifacts/WMSKmArtifact.java: New. This | |
1460 Artifact is used to generate facets for kilometer WMS layers. | |
1461 | |
1462 * src/main/resources/messages.properties, | |
1463 src/main/resources/messages_de_DE.properties, | |
1464 src/main/resources/messages_en.properties, | |
1465 src/main/resources/messages_de.properties: Added default descriptions | |
1466 for 'floodmap.kms' facets. | |
1467 | |
1468 2011-11-01 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1469 | |
1470 Fix incompilability. | |
1471 | |
1472 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelInfoState.java: | |
1473 Adjust to changed CrossSectionFacet. | |
1474 | |
1475 2011-11-01 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1476 | |
1477 Minor preparations to handle multiple cross sections in one | |
1478 diagram/artifact, faking certain aspects (e.g. ability to display | |
1479 multiple cross sections, but let these fetch the exactly same data | |
1480 for now). | |
1481 | |
1482 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
1483 Parameterize but fake access to cross-section (always take first | |
1484 one). | |
1485 (getCrossSectionName,getCrossSectionNames): Renamed, access names | |
1486 of all cross-sections, so that at least facets with different names | |
1487 are created (they will still deliver the same data). | |
1488 | |
1489 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionFacet.java: | |
1490 Allow indexing. | |
1491 | |
1492 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java: | |
1493 Index created cross-sections. | |
1494 | |
1495 2011-11-01 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1496 | |
1497 Show multiple water lines and facets in cross-section diagram if | |
1498 multiple waterlevel values had been entered. | |
1499 | |
1500 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java | |
1501 (appendBackgroundActivity): Made static. | |
1502 (getWaterLines): Add 'idx' argument to specify index of queried | |
1503 waterlevel. | |
1504 | |
1505 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java: | |
1506 Add index. | |
1507 | |
1508 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java: | |
1509 Add one Facet for each of the computed waterlevels. | |
1510 | |
1511 2011-10-31 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1512 | |
1513 * src/main/java/de/intevation/flys/artifacts/geom/VectorUtils.java: | |
1514 Added code to calculate intersection points. | |
1515 | |
1516 * src/main/java/de/intevation/flys/artifacts/geom/Polygon2D.java: | |
1517 Added polygons for trivial cases. WIP | |
1518 | |
1519 2011-10-31 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1520 | |
1521 * src/main/java/de/intevation/flys/artifacts/geom/Polygon2D.java: | |
1522 Made it compilable again. | |
1523 | |
1524 2011-10-31 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1525 | |
1526 * src/main/java/de/intevation/flys/artifacts/geom/VectorUtils.java: | |
1527 Made X() and Y() access macros public. | |
1528 | |
1529 * src/main/java/de/intevation/flys/artifacts/geom/Polygon2D.java: | |
1530 More code. WIP. | |
1531 | |
1532 2011-10-31 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1533 | |
1534 * src/main/java/de/intevation/flys/artifacts/geom/Polygon2D.java: | |
1535 Handle start points when building polygons. Work in progress. | |
1536 | |
1537 2011-10-31 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1538 | |
1539 * src/main/java/de/intevation/flys/artifacts/geom/VectorUtils.java: | |
1540 New. Vector operations on Point2D. | |
1541 | |
1542 * src/main/java/de/intevation/flys/artifacts/geom/Polygon2D.java: | |
1543 Moved vector operations to VectorUtils. | |
1544 | |
1545 2011-10-31 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1546 | |
1547 * src/main/java/de/intevation/flys/artifacts/model/WKmsFactory.java: | |
1548 Do not call size() in for loop again and again. | |
1549 | |
1550 2011-10-30 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1551 | |
1552 * src/main/java/de/intevation/flys/artifacts/geom/Polygon2D.java: | |
1553 Interim check in. Work in progress. | |
1554 | |
1555 2011-10-28 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1556 | |
1557 * src/main/java/de/intevation/flys/artifacts/geom/Polygon2D.java: New. | |
1558 Polygon class to help creating "Raum/Flaeche" renderers with gaps in | |
1559 their definitions. WORK IN PROGRESS! | |
1560 | |
1561 2011-10-28 Ingo Weinzierl <ingo@intevation.de> | |
1562 | |
1563 * doc/conf/themes.xml: Added a default theme for the riveraxis used in the | |
1564 floodmap. | |
1565 | |
1566 * src/main/java/de/intevation/flys/artifacts/model/MapserverStyle.java: | |
1567 New. This class is used by ThemeUtil to create a style which is | |
1568 compatible for Mapserver- | |
1569 | |
1570 * src/main/java/de/intevation/flys/utils/ThemeUtil.java: Added a method to | |
1571 retrieve a Mapserver compatible style (as string) based on a given | |
1572 Document (that comes from CollectionItem's attribute). | |
1573 | |
1574 * src/main/java/de/intevation/flys/artifacts/model/LayerInfo.java: | |
1575 Implemented the setStyle() and getStyle() methods. | |
1576 | |
1577 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Added a | |
1578 new parameter 'style' to createDatabaseLayer(). This parameter is set on | |
1579 LayerInfo. | |
1580 | |
1581 * src/main/java/de/intevation/flys/exports/MapGenerator.java: Create | |
1582 Mapserver compatible styles and call createDatabaseLayer() with this | |
1583 style. | |
1584 | |
1585 2011-10-28 Ingo Weinzierl <ingo@intevation.de> | |
1586 | |
1587 * doc/conf/artifacts/winfo.xml: Defined "floodmap.riveraxis" and | |
1588 "floodmap.wmsbackground" as compatible layers for the floodmap output. | |
1589 | |
1590 * doc/conf/mapserver/db_layer.vm: New. This layer template is used for | |
1591 Mapserver layers with database datastore. | |
1592 | |
1593 * doc/conf/mapserver/dbconnection.include: New. The database configuration | |
1594 used in the db_layer template. | |
1595 | |
1596 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: Added a method | |
1597 getUserWMSUrl() that returns the URL to the user specific WMS server. | |
1598 This method requires a UUID of an Artifact to identify the owner of the | |
1599 Artifact. | |
1600 | |
1601 * src/main/java/de/intevation/flys/wsplgen/FacetCreator.java: Use | |
1602 FLYSUtils.getUserWMSUrl() to create the URL to the user WMS for | |
1603 WMSLayerFacets creation. | |
1604 | |
1605 * src/main/java/de/intevation/flys/artifacts/model/WMSDBLayerFacet.java: | |
1606 New. Subclasses WMSLayerFacet to save data and filter parameters used | |
1607 for database storage in Mapfiles. | |
1608 | |
1609 * src/main/java/de/intevation/flys/artifacts/model/DBLayerInfo.java: New. | |
1610 Subclasses LayerInfo to save database relevant parameters. | |
1611 | |
1612 * src/main/java/de/intevation/flys/artifacts/states/RiverAxisState.java: | |
1613 Creates new WMSDBLayerFacets, so that the riveraxis layer data is | |
1614 fetched from database. | |
1615 | |
1616 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Added a | |
1617 public method that allows creating layers (type LINE) based on | |
1618 WMSDBLayerFacets. | |
1619 | |
1620 * src/main/java/de/intevation/flys/exports/MapGenerator.java: Enabled | |
1621 support for Facets other than "floodmap.wsplgen" and "floodmap.barriers". | |
1622 Those other Facets are supposed to be WMSDBLayerFacets. | |
1623 | |
1624 2011-10-28 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1625 | |
1626 Refactored, added StyledSeriesBuilder to unify adding points to | |
1627 XYSeries. | |
1628 | |
1629 * src/main/java/de/intevation/flys/exports/StyledSeriesBuilder.java: | |
1630 New class to help with adding points to XYSeries. | |
1631 | |
1632 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java, | |
1633 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java, | |
1634 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java: | |
1635 Use StyledSeriesBuilder to add points to series. | |
1636 | |
1637 2011-10-28 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1638 | |
1639 Added DC-conf, such that static data can be loaded from w-difference | |
1640 diagrams datacage. | |
1641 | |
1642 * doc/conf/meta-data.xml: Minor "refactoring" (definition of two | |
1643 macros, allow certain static data to be loaded via datacage to | |
1644 w-difference diagrams, too. | |
1645 | |
1646 2011-10-28 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1647 | |
1648 Load and display annotations in w-differences, minor polishing. | |
1649 | |
1650 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java, | |
1651 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
1652 Use FacetType 'instead' of string. Allow Annotations in | |
1653 WDifferences- diagram. | |
1654 | |
1655 * doc/conf/meta-data.xml: Recommend annotations in w-differences case. | |
1656 | |
1657 2011-10-28 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1658 | |
1659 * src/main/java/de/intevation/flys/collections/AttributeWriter.java: | |
1660 Survive case where a given output doesnt exist in compatibility | |
1661 matrix. | |
1662 | |
1663 2011-10-28 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1664 | |
1665 * src/main/java/de/intevation/flys/artifacts/states/StaticState.java: | |
1666 Added simpler constructor. | |
1667 | |
1668 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java, | |
1669 src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java: | |
1670 Adjusted construction of StaticStates. | |
1671 | |
1672 2011-10-28 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1673 | |
1674 * doc/conf/artifacts/winfo.xml: Allow Annotations in longitudinal and | |
1675 w-differences diagrams. | |
1676 | |
1677 2011-10-28 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1678 | |
1679 Use artifacts configuration (e.g. winfo.xml) to define which facets | |
1680 can be used in which output. Hide no-matches. | |
1681 | |
1682 * src/main/java/de/intevation/flys/collections/AttributeWriter.java, | |
1683 src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
1684 Added use of "compatibility matrix". Only include facets in in | |
1685 collections description document that are marked compatible in the | |
1686 masterartifacts configuration (e.g. winfo.xml). | |
1687 | |
1688 2011-10-28 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1689 | |
1690 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java | |
1691 (mergeAttributes, getMasterArtifact): Extraced, updated caller. | |
1692 Cosmetics to reduce indentation one step. | |
1693 | |
1694 2011-10-28 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1695 | |
1696 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java | |
1697 (getStateHistoryIds): New, return list of current and all previous | |
1698 state ids. | |
1699 | |
1700 2011-10-28 Ingo Weinzierl <ingo@intevation.de> | |
1701 | |
1702 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: | |
1703 Trigger the re-creation of FLYS mapfile if endOfLife() of this state is | |
1704 called. | |
1705 | |
1706 2011-10-28 Ingo Weinzierl <ingo@intevation.de> | |
1707 | |
1708 * doc/conf/mapserver/mapfile.vm: The "layers" injected by VelocityEngine is | |
1709 now used to include layers. A single string in this list represents the | |
1710 path to a file which contains a LAYER section for Mapserver' Mapfile. | |
1711 | |
1712 * src/main/java/de/intevation/flys/wsplgen/JobExecutor.java: Removed the | |
1713 update() call of MapfileGenerator. Mapfiles are generated by MapGenerator | |
1714 only which requires a FLYSArtifactCollection.doOut()! | |
1715 | |
1716 * src/main/java/de/intevation/flys/exports/MapGenerator.java: Call update() | |
1717 of MapfileGenerator to trigger the re-creation of mapfile(s). | |
1718 | |
1719 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Collect all | |
1720 LAYER snippets from filesystem and inject the filepath for each snippet | |
1721 into the Mapfile template. | |
1722 | |
1723 2011-10-28 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1724 | |
1725 * src/main/java/de/intevation/flys/collections/AttributeWriter.java, | |
1726 src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory.java, | |
1727 src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
1728 Cosmetics, doc. | |
1729 | |
1730 2011-10-28 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1731 | |
1732 Let OutputParser and AttributeParser collect all facets on the way. | |
1733 | |
1734 * src/main/java/de/intevation/flys/collections/OutputParser.java, | |
1735 src/main/java/de/intevation/flys/collections/AttributeParser.java: | |
1736 Collect all facets while iterating over Outputs and Attributes, | |
1737 documentation added. | |
1738 | |
1739 2011-10-28 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1740 | |
1741 Extracted getFlysContext from FLYSArtifacts into FLYSUtils. | |
1742 | |
1743 * src/main/java/de/intevation/flys/utils/FLYSUtils.java | |
1744 (getFlysContext): Added, extracted from FLYSArtifact. | |
1745 | |
1746 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
1747 (getFlysContext): Moved to FLYSUtils, updated callers. | |
1748 | |
1749 * src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java, | |
1750 src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
1751 Update callers to getFlysContext. | |
1752 | |
1753 2011-10-28 Ingo Weinzierl <ingo@intevation.de> | |
1754 | |
1755 * src/main/java/de/intevation/flys/exports/MapGenerator.java: Bugfix: | |
1756 Catch IOException - flys-artifacts compiles again. | |
1757 | |
1758 2011-10-28 Ingo Weinzierl <ingo@intevation.de> | |
1759 | |
1760 * doc/conf/artifacts/winfo.xml: Defined "floodmap.barriers" as valid facet | |
1761 for floodmaps. | |
1762 | |
1763 * doc/conf/mapserver/shapefile_layer.vm: New. Currently a copy of | |
1764 layer.vm. This template will evolve to a special mapserver layer | |
1765 template with a shapefile data source. | |
1766 | |
1767 * src/main/java/de/intevation/flys/wsplgen/FacetCreator.java: Fixed broken | |
1768 facet name of barriers. | |
1769 | |
1770 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Added | |
1771 public methods for creating wsplgen and barriers layer files for | |
1772 mapserver. | |
1773 | |
1774 * src/main/java/de/intevation/flys/exports/MapGenerator.java: Use | |
1775 MapfileGenerator to create new layer files for wsplgen and barriers. | |
1776 | |
1777 2011-10-28 Ingo Weinzierl <ingo@intevation.de> | |
1778 | |
1779 * src/main/java/de/intevation/flys/utils/GeometryUtils.java: Added new | |
1780 method gerRiverBoundary() which returns an Envelope object (which | |
1781 represents the bounding box of a Geometry) of a riveraxis specified by its | |
1782 rivername. | |
1783 | |
1784 * src/main/java/de/intevation/flys/artifacts/states/RiverAxisState.java: Use | |
1785 Geometry.getRiverBoundary() to determine the max extent of a river. | |
1786 | |
1787 * src/main/java/de/intevation/flys/wsplgen/FacetCreator.java, | |
1788 src/main/java/de/intevation/flys/artifacts/model/WMSLayerFacet.java: Use | |
1789 JTS Envelope to save the bounding boxes of WMS layers. | |
1790 | |
1791 * src/main/java/de/intevation/flys/artifacts/services/MapInfoService.java: | |
1792 Adapted the code to apply the changes in GeometryUtils (use Envelope to | |
1793 determine the max extent of the river axis). | |
1794 | |
1795 * src/main/java/de/intevation/flys/exports/MapGenerator.java: New (work in | |
1796 progress). This Generator will currently return a map configuration in XML | |
1797 which consists of parameters required by OpenLayers to create a map. | |
1798 | |
1799 * doc/conf/conf.xml: Registered the new MapGenerator. | |
1800 | |
1801 2011-10-27 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1802 | |
1803 * doc/conf/meta-data.xml: Do not recommend historical data to load | |
1804 when having computational discharge curves. | |
1805 | |
1806 2011-10-27 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1807 | |
1808 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
1809 Reduce noise, given "error" message was more of "debug" nature. | |
1810 | |
1811 2011-10-27 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1812 | |
1813 Restore mapping of state id to facets (essentially revert, revision | |
1814 3083 and 3088). | |
1815 | |
1816 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
1817 (getInitialFacetActivity): Be more explicit on which facets to | |
1818 introduce inactivated. | |
1819 | |
1820 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java, | |
1821 src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java: | |
1822 Minor refactoring, declare a string final static. | |
1823 | |
1824 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java, | |
1825 src/main/java/de/intevation/flys/artifacts/StaticFLYSArtifact.java, | |
1826 src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java, | |
1827 src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java, | |
1828 src/main/java/de/intevation/flys/artifacts/WMSBackgroundArtifact.java, | |
1829 src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java, | |
1830 src/main/java/de/intevation/flys/artifacts/WaterlevelArtifact.java, | |
1831 src/main/java/de/intevation/flys/artifacts/RiverAxisArtifact.java, | |
1832 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
1833 Restore association from state id to facets. | |
1834 | |
1835 2011-10-26 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1836 | |
1837 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java, | |
1838 src/main/java/de/intevation/flys/collections/OutputParser.java: | |
1839 Cosmetics, documentation. | |
1840 | |
1841 2011-10-26 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1842 | |
1843 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
1844 Prepare rendering of "other/static wkms" (functional) and | |
1845 w-differences (not yet fully functional). | |
1846 | |
1847 2011-10-26 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1848 | |
1849 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java, | |
1850 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java, | |
1851 src/main/java/de/intevation/flys/exports/ChartGenerator.java, | |
1852 src/main/java/de/intevation/flys/exports/XYChartGenerator.java: | |
1853 Cosmetics. | |
1854 | |
1855 2011-10-26 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1856 | |
1857 * src/main/java/de/intevation/flys/artifacts/RiverAxisArtifact.java: | |
1858 Do not store facets in a map from stateId to list of facets, but in | |
1859 a pure list instead. | |
1860 | |
1861 2011-10-26 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1862 | |
1863 * doc/conf/artifacts/winfo.xml: Adjusted to newer semantics, | |
1864 minor cleanups. | |
1865 | |
1866 2011-10-26 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1867 | |
1868 Resolve association of facets to states in artifacts. This eases | |
1869 merging of outputs and facets and inhibition of unwanted outputs | |
1870 substiantially (at the price of slightly more expensive merging). | |
1871 Also, the semantics of artifacts configuration files (e.g. winfo.xml) | |
1872 is changed (facet elements within an output elements are used for | |
1873 merging). | |
1874 | |
1875 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java, | |
1876 src/main/java/de/intevation/flys/artifacts/StaticFLYSArtifact.java, | |
1877 src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java, | |
1878 src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java, | |
1879 src/main/java/de/intevation/flys/artifacts/WMSBackgroundArtifact.java, | |
1880 src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java, | |
1881 src/main/java/de/intevation/flys/artifacts/WaterlevelArtifact.java, | |
1882 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
1883 Do not store facets in a map from stateId to list of facets, but in | |
1884 a pure list instead. | |
1885 | |
1886 2011-10-26 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1887 | |
1888 * doc/conf/meta-data.xml: Added dc configuration for some data | |
1889 that can be loaded from longitudinal section diagrams. | |
1890 | |
1891 2011-10-25 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1892 | |
1893 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
1894 Cosmetics, docs. | |
1895 | |
1896 2011-10-25 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1897 | |
1898 Let Qs in Longitudinal Diagram be inactive, initally. | |
1899 | |
1900 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
1901 (getInitialFacetActivity): Do not let Facets ending with a 'q' | |
1902 enter in active state. | |
1903 | |
1904 2011-10-25 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1905 | |
1906 * doc/conf/meta-data.xml: Fix broken datacage config. | |
1907 | |
1908 2011-10-25 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1909 | |
1910 * doc/conf/meta-data.xml: Configured to include correct id to | |
1911 clone artifact that produces w-diff. | |
1912 | |
1913 2011-10-25 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1914 | |
1915 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java: | |
1916 Revert correct behaviour of Annotations (the small axis tick shall | |
1917 always be drawn). Minor refactoring. | |
1918 | |
1919 2011-10-25 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1920 | |
1921 * doc/conf/meta-data.xml: Added configuration to include differences | |
1922 in datacage when longitudinal sections are shown (yet not | |
1923 functional). | |
1924 | |
1925 2011-10-25 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1926 | |
1927 * doc/conf/meta-data.xml: Cosmetics. | |
1928 | |
1929 2011-10-24 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1930 | |
1931 * doc/conf/themes.xml: Added theme for w_differences facets. | |
1932 | |
1933 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java | |
1934 (createSecondAxisRange): Survive parameter-nullness for now. | |
1935 Added documentation. | |
1936 | |
1937 2011-10-21 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1938 | |
1939 * src/main/java/de/intevation/flys/themes/ThemeAccess.java: | |
1940 New. Caching wrapper around an XML document theme. It uses ThemeUtil | |
1941 to access the values and stores them in instance variable. | |
1942 Background: ThemeUtil use XPath a lot which is expensive. | |
1943 | |
1944 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java, | |
1945 src/main/java/de/intevation/flys/exports/XYChartGenerator.java: | |
1946 Use ThemeAccess to style the annotations. | |
1947 | |
1948 * src/main/java/de/intevation/flys/exports/StyledXYSeries.java: | |
1949 Removed some XPath strings. They are in ThemeUtil. | |
1950 | |
1951 2011-10-21 Raimund Renkert <raimund.renkert@intevation.de> | |
1952 | |
1953 * src/main/java/de/intevation/flys/utils/ThemeUtil.java: | |
1954 Added methods to parse further attributes. | |
1955 | |
1956 * src/main/java/de/intevation/flys/exports/StyledXYSeries.java: | |
1957 Apply the theme attributes and use ThemeUtils to get the attribute values. | |
1958 | |
1959 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java: | |
1960 Removed the spamy debug output. | |
1961 | |
1962 2011-10-21 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1963 | |
1964 To obtain the size of a diagram it is rendered twice. The | |
1965 second time the generated image is omitted so the concrete | |
1966 rendered image is not needed. To save CPU cycles in this pass | |
1967 the image is rendered to to /dev/null Graphics2D object. | |
1968 | |
1969 * src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java: | |
1970 Added boolean system property "info.rendering.nop.graphics" (default: false). | |
1971 With this property set the info rendering is done via a new | |
1972 NOPGraphics2D opbject which does not render the image. | |
1973 | |
1974 * src/main/java/de/intevation/flys/java2d/NOPGraphics2D.java: | |
1975 New. Implements java.awt.Graphics2D trivial empty methods. | |
1976 This prevents rendering. | |
1977 | |
1978 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java: | |
1979 Commented out spamy debug output | |
1980 | |
1981 2011-10-21 Raimund Renkert <raimund.renkert@intevation.de> | |
1982 | |
1983 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java: | |
1984 Draw the text background and use orientation attribute. | |
1985 | |
1986 2011-10-21 Raimund Renkert <raimund.renkert@intevation.de> | |
1987 | |
1988 * doc/conf/themes.xml: | |
1989 Renamed 'textbackground' to 'backgroundcolor' to have 'color' in the | |
1990 attribute name. | |
1991 | |
1992 * src/main/java/de/intevation/flys/utils/ThemeUtil.java: | |
1993 Process text attributes correctly. | |
1994 | |
1995 2011-10-20 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1996 | |
1997 * src/main/java/de/intevation/flys/artifacts/services/CrossSectionKMService.java: | |
1998 New. Service to lookup the Nth nearest neighbors for a set of given | |
1999 cross section ids and kms. | |
2000 | |
2001 * doc/conf/conf.xml: Registered service. | |
2002 | |
2003 * doc/conf/cache.xml: Cache config. | |
2004 | |
2005 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java, | |
2006 src/main/java/de/intevation/flys/artifacts/states/WaterlevelPairSelectState.java: | |
2007 Removed superfluous imports. | |
2008 | |
2009 2011-10-20 Raimund Renkert <raimund.renkert@intevation.de> | |
2010 | |
2011 * src/main/java/de/intevation/flys/utils/ThemeUtil.java: | |
2012 Added methods to extract further attributes from theme. | |
2013 | |
2014 2011-10-20 Ingo Weinzierl <ingo@intevation.de> | |
2015 | |
2016 * doc/conf/themes.xml: Added main value themes for longitudinal section | |
2017 charts. | |
2018 | |
2019 * src/main/java/de/intevation/flys/themes/ThemeMapping.java: New. This | |
2020 class stores the name of a facet, the related theme and a pattern | |
2021 string. | |
2022 | |
2023 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java: | |
2024 Read the pattern string and store a list of ThemeMapping objects in the | |
2025 FLYSContext. | |
2026 | |
2027 * src/main/java/de/intevation/flys/themes/ThemeFactory.java: Modified | |
2028 getTheme() which now takes the FLYSContext, the name of a facet and an | |
2029 optional pattern string. Now, we can have specialized Themes for each | |
2030 chart type. E.g. the facet "longitudinal_section.w" maps the default | |
2031 Theme for W lines in longitudinal section charts. If the optional | |
2032 pattern string matches the pattern ".*(HQ1000)(\D.*)*", the ThemeFactory | |
2033 will return the Theme "LongitudinalSectionW_HQ1000". | |
2034 | |
2035 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
2036 Use the description of a facet as pattern string to get the relevant | |
2037 Theme from ThemeFactory. | |
2038 | |
2039 2011-10-20 Raimund Renkert <raimund.renkert@intevation.de> | |
2040 | |
2041 * doc/conf/themes.xml: | |
2042 Added new theme attributes. | |
2043 | |
2044 2011-10-19 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
2045 | |
2046 Fix WDifference plots where masterartifact has no range set. | |
2047 | |
2048 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java: | |
2049 (addSubtitles): Overridden, the master artifact has no | |
2050 range. | |
2051 | |
2052 2011-10-19 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
2053 | |
2054 Fix masterartifact in collections in cases where the original | |
2055 masterartifacts facets do not come first in certain list. Query | |
2056 'backend'/db instead. | |
2057 | |
2058 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
2059 Set 'real' master artifact, defined to be oldest belonging to this | |
2060 collection. | |
2061 | |
2062 2011-10-19 Ingo Weinzierl <ingo@intevation.de> | |
2063 | |
2064 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java, | |
2065 src/main/java/de/intevation/flys/artifacts/states/WaterlevelSelectState.java, | |
2066 src/main/java/de/intevation/flys/artifacts/states/DGMSelect.java, | |
2067 src/main/java/de/intevation/flys/artifacts/states/WaterlevelPairSelectState.java: | |
2068 Modified the method signature of createStaticData() which now also | |
2069 requires a FLYSArtifact. | |
2070 | |
2071 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java: | |
2072 Override createStaticData() to create titles for Qs manually - we want | |
2073 to display the named main values if existing for the selected Qs. | |
2074 | |
2075 2011-10-19 Raimund Renkert <raimund.renkert@intevation.de> | |
2076 | |
2077 * doc/conf/themes.xml: | |
2078 ComputedDischargeCurveW and ComputedDischargeCurveQ inherit attributes from | |
2079 theme 'Text'. | |
2080 | |
2081 2011-10-19 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
2082 | |
2083 Fix for flys/issue316 | |
2084 | |
2085 * src/main/java/de/intevation/flys/exports/StyledXYSeries.java: Added | |
2086 constructor to not sort the data. | |
2087 | |
2088 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java: | |
2089 Use the not sorting constructor of StyledXYSeries. | |
2090 | |
2091 2011-10-19 Ingo Weinzierl <ingo@intevation.de> | |
2092 | |
2093 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java: | |
2094 moved the code to create WSP W and Q facet names to FLYSUtils. | |
2095 | |
2096 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: New functions for | |
2097 creating WSP W and Q facet names and for querying a named main value | |
2098 based on a given gauge and value. The names of W and Q facets will now | |
2099 depend on the selected Q and Q mode: if the mode is "q at gauge" and a | |
2100 named value is found for the given value, the facet's name contains the | |
2101 named value instead of the value itself. | |
2102 | |
2103 2011-10-19 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
2104 | |
2105 Fix datacage configuration to let client load ZUS and flood | |
2106 protections. | |
2107 | |
2108 * doc/conf/meta-data.xml: Use 'ids' instead of 'id' to help client. | |
2109 | |
2110 2011-10-19 Raimund Renkert <raimund.renkert@intevation.de> | |
2111 | |
2112 * src/main/java/de/intevation/flys/utils/ThemeUtil.java: | |
2113 Added methods to parse text attributes from theme document. | |
2114 | |
2115 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java, | |
2116 src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java: | |
2117 Apply a theme to axis annotations. | |
2118 | |
2119 2011-10-19 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
2120 | |
2121 Create (data) Label from data string (client will be adjusted to send | |
2122 the name). | |
2123 | |
2124 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelPairSelectState.java: | |
2125 Create label from input data string, documentation added, junk | |
2126 removed. | |
2127 | |
2128 2011-10-19 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
2129 | |
2130 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java(zoom): | |
2131 Do not crash if no axis is given. | |
2132 | |
2133 2011-10-19 Ingo Weinzierl <ingo@intevation.de> | |
2134 | |
2135 * src/main/java/de/intevation/flys/exports/ChartGenerator.java: Added | |
2136 getFormat() which extracts the format string from XML request document. | |
2137 | |
2138 * src/main/java/de/intevation/flys/exports/ChartExportHelper.java: Adapted | |
2139 method signatures of exportImage(), exportSVG() and exportPDF(). All | |
2140 methods now take a CallContext object which stores extra chart export | |
2141 parameters. | |
2142 | |
2143 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: | |
2144 Enabled PDF and SVG chart exports based on the "format" string given in | |
2145 the XML request document. | |
2146 | |
2147 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
2148 | |
2149 Simplify rendereing W(Q)Kms in WDifferencesCurveGenerator. | |
2150 | |
2151 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java: | |
2152 (doWOut, doWOut): Simplified. | |
2153 | |
2154 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
2155 | |
2156 Render zus and flood-protections in WDifferences-diagrams. | |
2157 | |
2158 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java: | |
2159 Added basic respect of "other.wkms"- facets. | |
2160 | |
2161 | |
2162 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
2163 | |
2164 Adjusted Datacage-Configuration to fetch "extra longitudinal...." | |
2165 (.zus) - waterlevels in certain case (in system-part). | |
2166 | |
2167 * doc/conf/meta-data.xml: Adjusted to present extra-kms with | |
2168 staticwkms factory in certain case. | |
2169 | |
2170 2011-10-17 Raimund Renkert <raimund.renkert@intevation.de> | |
2171 | |
2172 * doc/conf/themes.xml: | |
2173 Added new virtual theme for text with the attributes 'font', 'textcolor' | |
2174 and 'textsize'. | |
2175 | |
2176 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
2177 | |
2178 Give StaticWKmsArtifacts proper names, and pre-deselect them. | |
2179 | |
2180 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java: | |
2181 (getInitialFacetActivity): Overridden to let facets enter plot | |
2182 inactively. | |
2183 (setup): Give Facets the name of the Wst. | |
2184 | |
2185 * src/main/java/de/intevation/flys/artifacts/model/WKmsFactory.java: | |
2186 Refactored to expose getWKmsName separately. | |
2187 | |
2188 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
2189 | |
2190 Adjusted Datacage-Configuration to fetch flood-protections when | |
2191 waterlevels are requested (in system-part). | |
2192 | |
2193 * doc/conf/meta-data.xml: Adjusted to present flood-protections with | |
2194 staticwkms factory in certain case. | |
2195 | |
2196 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
2197 | |
2198 Register staticwkms factory. | |
2199 | |
2200 * doc/conf/conf.xml: Register staticwkms factory to spawn StaticWKms- | |
2201 Artifacts. | |
2202 | |
2203 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
2204 | |
2205 Fetch name of static WKms. | |
2206 | |
2207 * src/main/java/de/intevation/flys/artifacts/model/WKmsFactory.java: | |
2208 Removed dependence on "kind", but fetch name for created WKms. | |
2209 | |
2210 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java: | |
2211 Remove dependence on Kind. | |
2212 | |
2213 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
2214 | |
2215 Store parameterization in data, not in Artifact. | |
2216 | |
2217 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java: | |
2218 Resolve col_pos and wst_id field, use data instead. | |
2219 | |
2220 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
2221 | |
2222 Add convenience-method to add defaultdata (string). | |
2223 | |
2224 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
2225 (addStringData): Add Default (String) Data . | |
2226 | |
2227 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
2228 | |
2229 Add a new Artifact and Facet (StaticWKmsArtifact, WKmsFacet) to | |
2230 access WKms obtainable with the WKmsFactory. | |
2231 | |
2232 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java: | |
2233 New, artifact with single state to get WKms from WKmsFactory. | |
2234 | |
2235 * src/main/java/de/intevation/flys/artifacts/model/WKmsFacet.java: | |
2236 New Facet to display W over km. | |
2237 | |
2238 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: | |
2239 Added new type name. | |
2240 | |
2241 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
2242 | |
2243 Add WKMsFactory to access 'static' wst-data. | |
2244 | |
2245 * src/main/java/de/intevation/flys/artifacts/model/StaticWKmsCacheKey.java: | |
2246 Cache Key for the static WKms data. | |
2247 | |
2248 * src/main/java/de/intevation/flys/artifacts/model/WKmsFactory.java: | |
2249 New, creates WKms from wst-id and column. Does not yet fetch the | |
2250 name. | |
2251 | |
2252 * doc/conf/cache.xml: Added cache configuration for static wkms data. | |
2253 | |
2254 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
2255 | |
2256 Cosmetics, docs. | |
2257 | |
2258 * src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java, | |
2259 src/main/java/de/intevation/flys/artifacts/model/ManagedFacet.java, | |
2260 src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java, | |
2261 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java, | |
2262 src/main/java/de/intevation/flys/jfree/FLYSAnnotation.java: | |
2263 Cosmetics, docs. | |
2264 | |
2265 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
2266 | |
2267 * src/main/java/de/intevation/flys/artifacts/model/WKmsImpl.java: | |
2268 Added constructor that takes name, docs. | |
2269 | |
2270 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
2271 | |
2272 Fix issue that Annotations do not come with theme/style. | |
2273 | |
2274 * doc/conf/themes.xml: Added "Annotations" default style. | |
2275 | |
2276 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
2277 Set style of annotations, minor cosmetics. | |
2278 | |
2279 2011-10-17 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
2280 | |
2281 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
2282 Made inner class ThemeList static. | |
2283 s/new Integer(small)/Integer.valueOf(small)/ | |
2284 | |
2285 2011-10-17 Ingo Weinzierl <ingo@intevation.de> | |
2286 | |
2287 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
2288 The inner class ThemeList makes now use of ManagedDomFacet to read the | |
2289 attributes of Facets saved in the Collection's attribute. | |
2290 | |
2291 2011-10-17 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
2292 | |
2293 flys/issue314: Variables in datacage are now case insensitive. | |
2294 (H2 returns meta data variables uppercase) | |
2295 | |
2296 * doc/conf/meta-data.xml: | |
2297 Made a statement more precise. Added some debug output. | |
2298 | |
2299 * src/main/java/de/intevation/flys/artifacts/datacage/templating/CompiledStatement.java: | |
2300 Use uppercase variable names. | |
2301 | |
2302 * src/main/java/de/intevation/flys/artifacts/datacage/templating/StackFrames.java, | |
2303 src/main/java/de/intevation/flys/artifacts/datacage/templating/Builder.java, | |
2304 src/main/java/de/intevation/flys/artifacts/datacage/templating/FunctionResolver.java, | |
2305 src/main/java/de/intevation/flys/artifacts/datacage/templating/ResultData.java: | |
2306 Variables are now treated as uppercase. | |
2307 | |
2308 * src/main/java/de/intevation/flys/artifacts/datacage/Recommendations.java: | |
2309 Input variables are now treated uppercase. | |
2310 | |
2311 2011-10-17 Ingo Weinzierl <ingo@intevation.de> | |
2312 | |
2313 * src/main/java/de/intevation/flys/artifacts/model/ManagedDomFacet.java, | |
2314 src/main/java/de/intevation/flys/artifacts/model/ManagedFacet.java, | |
2315 src/main/java/de/intevation/flys/artifacts/model/ManagedFacetAdapter.java: | |
2316 Prepared Facets to support a "visible" attribute. | |
2317 | |
2318 * src/main/java/de/intevation/flys/collections/OutputParser.java: Adapted | |
2319 the constructor call of ManagedFacetAdapter. | |
2320 | |
2321 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
2322 The inner class ThemeList now supports the "visible" attribute of | |
2323 ManagedFacets. | |
2324 | |
2325 2011-10-17 Raimund Renkert <raimund.renkert@intevation.de> | |
2326 | |
2327 * src/main/java/de/intevation/flys/exports/StyledXYSeries.java: | |
2328 Added method to apply line type. | |
2329 | |
2330 * doc/conf/themes.xml: | |
2331 Changed initial default value for line type. | |
2332 | |
2333 2011-10-17 Ingo Weinzierl <ingo@intevation.de> | |
2334 | |
2335 flys/issue226 (W-INFO: Dauerlinienberechung /Abbbildung x-Achse) | |
2336 | |
2337 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java: | |
2338 Set the upper bound of these charts to 364. | |
2339 | |
2340 2011-10-17 Ingo Weinzierl <ingo@intevation.de> | |
2341 | |
2342 * src/main/java/de/intevation/flys/artifacts/model/GaugesFactory.java: | |
2343 Added a function that returns a Gauge based on its name. | |
2344 | |
2345 * src/main/java/de/intevation/flys/artifacts/states/ComputationRangeState.java: | |
2346 Create proper descriptions for facets. | |
2347 | |
2348 * src/main/java/de/intevation/flys/jfree/FLYSAnnotation.java: Added a | |
2349 setter for labels. | |
2350 | |
2351 * src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java, | |
2352 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java, | |
2353 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java, | |
2354 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java, | |
2355 src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java, | |
2356 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java: | |
2357 Use the string returned by Facet.getDescription() as series names. The | |
2358 ThemePanel and the Legend will always display the same titles for curves | |
2359 now. | |
2360 | |
2361 | |
2362 2011-10-17 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
2363 | |
2364 Fix flys/issue363 (W-INFO/ Abflusskurve, Extremwert-Rendering). | |
2365 | |
2366 * src/main/java/de/intevation/flys/utils/ThemeUtil.java: | |
2367 (parseLineWidth): New. Get line width from Document. | |
2368 | |
2369 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: | |
2370 When adding annotations, parse line width from theme, set it. | |
2371 | |
2372 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java: | |
2373 When painting, set Paint and stroke early enough. | |
2374 | |
2375 2011-10-14 Ingo Weinzierl <ingo@intevation.de> | |
2376 | |
2377 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Put the | |
2378 config directory into the Velocity context. It is available as | |
2379 '$CONFIGDIR' in templates. | |
2380 | |
2381 * doc/conf/mapserver/mapfile.vm: Set the debug file to | |
2382 "$CONFIGDIR/flys-user-wms.log" and added a LEGEND section. | |
2383 | |
2384 * doc/conf/mapserver/wsplgen_class.vm: Adapted the class names. Those | |
2385 names are displayed in the image served by GetLegendGraphic. | |
2386 | |
2387 2011-10-14 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
2388 | |
2389 Add possibility of programmatic configuration of initial "activity" | |
2390 state (active or inactive) of (Managed)Facets by introducing | |
2391 FLYSArtifact.getInitialFacetActivity. This method shall be overriden | |
2392 by subclasses where Facets are wanted to come to live inactive. | |
2393 Artifacts will be asked only once how the MangedFacet should come to live, | |
2394 namely when AttributeWriter finds a genuinely new Facet. | |
2395 | |
2396 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java, | |
2397 src/main/java/de/intevation/flys/artifacts/WaterlevelArtifact.java | |
2398 (getInitialFacetActivity): | |
2399 New function to let Artifact decide whether a ManagedFacet shall | |
2400 initially be set to active or inactive. | |
2401 | |
2402 * src/main/java/de/intevation/flys/collections/AttributeWriter.java: | |
2403 Accept database in constructor. For genuinely new Facets, spawn its | |
2404 mother artifact and ask whether the (Managed)Facet shall be active | |
2405 or inactive (initially). | |
2406 | |
2407 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java | |
2408 (buildOutAttributes): Pass database to AttributeWrite (which needs it | |
2409 to spawn artifacts), rename items parameter to reflect content. | |
2410 | |
2411 2011-10-13 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
2412 | |
2413 Cosmetics, removed obsolete imports. | |
2414 | |
2415 * src/main/java/de/intevation/flys/artifacts/WaterlevelArtifact.java, | |
2416 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java: | |
2417 Removed obsolete imports. | |
2418 | |
2419 2011-10-12 Ingo Weinzierl <ingo@intevation.de> | |
2420 | |
2421 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: | |
2422 Added a further attribute "mark.selected" to the barriers feature type. | |
2423 This attribute is used in the client, where we are not able to remove it | |
2424 properly. Reading the GeoJSON string without this attribute is no longer | |
2425 possible... strange! | |
2426 | |
2427 2011-10-12 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
2428 | |
2429 Added i18n for label of wdiff "pair select" states data. | |
2430 | |
2431 * src/main/resources/messages.properties, | |
2432 src/main/resources/messages_de_DE.properties, | |
2433 src/main/resources/messages_en.properties, | |
2434 src/main/resources/messages_de.properties: Added i18n for | |
2435 state.winfo.waterlevel_pair_select . | |
2436 | |
2437 2011-10-12 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
2438 | |
2439 Addressed "Wrong labels" [6] part of flys/issue371 (W-INFO / Differenzen: | |
2440 Anmerkungen zur Umsetzung) . | |
2441 | |
2442 * src/main/java/de/intevation/flys/exports/WDifferencesExporter.java: | |
2443 Adjusted variable names to avoid conflict in subclasses, adjusted | |
2444 default value for i18n string. | |
2445 | |
2446 2011-10-12 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
2447 | |
2448 Cosmetics, docs. | |
2449 | |
2450 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
2451 Cosmetics: Space after full stop in commments, slightly improved | |
2452 documentation, added one debug message. | |
2453 | |
2454 2011-10-12 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
2455 | |
2456 Fix remainder of flys/issue304 (Erweiterte Funktionen W-Differenzen) . | |
2457 | |
2458 * doc/conf/artifacts/winfo.xml: Removed obsolete data of | |
2459 WDifferencesState. | |
2460 | |
2461 * src/main/java/de/intevation/flys/artifacts/WaterlevelArtifact.java: | |
2462 Re-enable facet-filtering, but adjust filters before that happens | |
2463 (former longitudinal_section output is now w_differences output). | |
2464 | |
2465 2011-10-11 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
2466 | |
2467 Added wdiff-chart translations. | |
2468 | |
2469 * src/main/resources/messages.properties, | |
2470 src/main/resources/messages_de_DE.properties, | |
2471 src/main/resources/messages_en.properties, | |
2472 src/main/resources/messages_de.properties: Added i18n for wdiff. | |
2473 | |
2474 2011-10-11 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
2475 | |
2476 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java, | |
2477 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java: | |
2478 Expose translateable Strings as constants. | |
2479 | |
2480 2011-10-11 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
2481 | |
2482 Fix most labels in w-differences charts. | |
2483 | |
2484 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java, | |
2485 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java: | |
2486 Remove most static final i18n-variables in favor of direct String | |
2487 usage or usage of methods. By this, allow easier adoption of labels | |
2488 in subclasses. | |
2489 | |
2490 2011-10-11 Ingo Weinzierl <ingo@intevation.de> | |
2491 | |
2492 flys/issue383 (Zweite Y-Achse wird beim Zoomen/Verschieben nicht angepasst.) | |
2493 | |
2494 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: | |
2495 Call adjustAxes() before applying zoom settings with autoZoom(). We need | |
2496 to add new y-axes first before we adjust their ranges. | |
2497 | |
2498 2011-10-10 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
2499 | |
2500 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: | |
2501 s/new Integer(small)/Integer.valueOf(small)/ | |
2502 | |
2503 2011-10-10 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
2504 | |
2505 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java, | |
2506 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
2507 Do not fire change events for each and every data point added. | |
2508 | |
2509 2011-10-10 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
2510 | |
2511 Fix WDifferences with more than one Pair (crashed due to incorrect index for | |
2512 facets.) | |
2513 | |
2514 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java: | |
2515 Fix wrong index for difference facets (allows for more than one | |
2516 difference facet per artifact without crashes). | |
2517 | |
2518 2011-10-10 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
2519 | |
2520 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java: | |
2521 Use slightly modified doWOut-implementation from | |
2522 LongitudinalSectionGenerator (here need to add Ws to different axis). | |
2523 | |
2524 2011-10-10 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
2525 | |
2526 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelPairSelectState.java: | |
2527 Fix import/reference. | |
2528 | |
2529 2011-10-10 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
2530 | |
2531 Let WaterlevelPairSelectState include diffids-data (if any) to enable | |
2532 future work on repopulation of Grid in GUI when jumping back | |
2533 (reparameterization). | |
2534 | |
2535 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelPairSelectState.java: | |
2536 (createItems): Override to include old data. | |
2537 | |
2538 2011-10-10 Ingo Weinzierl <ingo@intevation.de> | |
2539 | |
2540 flys/issue150 (Diagramm: Anzeige von W bergauf) | |
2541 flys/issue345 (W-INFO / Wasserspiegellagenberechnung, Diagrammausgabe) | |
2542 | |
2543 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
2544 Corrected the determination to invert the x axis, so that waterlines | |
2545 will start with their highest value at the left and end with their | |
2546 lowest values at the right. | |
2547 | |
2548 2011-10-10 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
2549 | |
2550 * src/main/java/de/intevation/flys/artifacts/math/DifferenceCurveFacet.java: | |
2551 Cosmetics, added an (@Override) annotation. | |
2552 | |
2553 * src/main/java/de/intevation/flys/artifacts/model/CalculationResult.java, | |
2554 src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: | |
2555 Cosmetics, added documentation. | |
2556 | |
2557 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java: | |
2558 Cosmetics, whitespace after full stops in comments, added | |
2559 (@Override) annotation. | |
2560 | |
2561 2011-10-10 Ingo Weinzierl <ingo@intevation.de> | |
2562 | |
2563 flys/issue220 (Diagramm: Achsenbeschriftungen an verschiedenen Achsen müssen gleich aussehen) | |
2564 | |
2565 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java, | |
2566 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
2567 Adjusted the label font of the 2nd y-axis - now, both axes labels look | |
2568 equal. | |
2569 | |
2570 2011-10-10 Ingo Weinzierl <ingo@intevation.de> | |
2571 | |
2572 flys/issue189 (WINFO/Dauerlinie: Sortierung der Berechnungsausgabe nach Dauerzahlen aufsteigend) | |
2573 | |
2574 * src/main/java/de/intevation/flys/artifacts/model/WQDay.java: Added a | |
2575 method that determines if the items (days) in this object are increasing | |
2576 or not. | |
2577 | |
2578 * src/main/java/de/intevation/flys/exports/DurationCurveExporter.java: | |
2579 Changed the order of the CSV export - the highest day is at the top of | |
2580 the export; the lowest day is at the bottom. | |
2581 | |
2582 2011-10-07 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
2583 | |
2584 Worked on flys/issue150 (Diagramm: Anzeige von W bergauf). | |
2585 Still does not work in all cases. | |
2586 | |
2587 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java (generateChart()): | |
2588 Reordered calls to ensure that the inversion of the x axis is | |
2589 not eliminated by other chart generation steps as a side effect. | |
2590 | |
2591 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
2592 Assuming that JFreeChart is inverting axis automatically if the | |
2593 KMs are reversed ordered only do invert only in some situations. | |
2594 | |
2595 Do not invert axis for Q (@Ingo: This is wrong! We must do this | |
2596 if we are only displaying the Qs and the Ws are deactived). | |
2597 | |
2598 2011-10-07 Ingo Weinzierl <ingo@intevation.de> | |
2599 | |
2600 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: | |
2601 Take care on empty ranges while preparing ranges for single points. | |
2602 | |
2603 2011-10-07 Ingo Weinzierl <ingo@intevation.de> | |
2604 | |
2605 flys/issue114 (W-INFO: Wasserspiegellagenberechnung / Ort (Spezialfall: Generierung eines Diagramms bei punkthafter Berechnung)) | |
2606 | |
2607 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Expand | |
2608 ranges for x and y axes if there is just a single point in a series - | |
2609 JFreeChart requires a range where lower <> upper. | |
2610 | |
2611 2011-10-07 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
2612 | |
2613 * src/main/java/de/intevation/flys/artifacts/states/ComputationRangeState.java, | |
2614 src/main/java/de/intevation/flys/artifacts/states/DistanceSelect.java, | |
2615 src/main/java/de/intevation/flys/artifacts/states/RangeState.java, | |
2616 src/main/java/de/intevation/flys/exports/XYChartGenerator.java: | |
2617 Add whitespace after full stop in comments, minor doc improvements. | |
2618 | |
2619 2011-10-07 Ingo Weinzierl <ingo@intevation.de> | |
2620 | |
2621 flys/issue353 (W-INFO / Wasserspiegellagenberechnung, Diagramm) | |
2622 | |
2623 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
2624 Adapted the process of collecting outs for Artifacts/Facets. We will now | |
2625 call OutGenerator.doOut() for each Artifact and Facet - never mind if | |
2626 the facet is activated (visible) or not. The OutGenerator should decide | |
2627 on its own whtat to do with facets which are "marked" as _not_ visible. | |
2628 | |
2629 * src/main/java/de/intevation/flys/exports/OutGenerator.java, | |
2630 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java, | |
2631 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java, | |
2632 src/main/java/de/intevation/flys/exports/ChartGenerator.java, | |
2633 src/main/java/de/intevation/flys/exports/ReportGenerator.java, | |
2634 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java, | |
2635 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java, | |
2636 src/main/java/de/intevation/flys/exports/AbstractExporter.java, | |
2637 src/main/java/de/intevation/flys/exports/ATExporter.java, | |
2638 src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java, | |
2639 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java, | |
2640 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java, | |
2641 src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java: | |
2642 Adapted the signature of OutGenerator.doOut(). There will be a new | |
2643 boolean parameter "visible" that determines if the facet specified in | |
2644 this method is visible for this output or not. | |
2645 | |
2646 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Now, | |
2647 that we walk over every Artifact/Facet, we are able to collect min/max | |
2648 data for all axes. We store these information and use them to set the | |
2649 ranges of x and y axes. The result of this: a chart can have proper axes | |
2650 set without any data in it. | |
2651 | |
2652 * src/main/java/de/intevation/flys/exports/InfoGeneratorHelper.java: Use | |
2653 min/max ranges stored while calling doOut() for each Artifact/Facet | |
2654 instead of fetching those information from chart's Datasets (which could | |
2655 be null). | |
2656 | |
2657 2011-10-07 Ingo Weinzierl <ingo@intevation.de> | |
2658 | |
2659 * src/main/java/de/intevation/flys/utils/Formatter.java: Changed the max | |
2660 number of digits for AT exports from 0 to 2. | |
2661 | |
2662 2011-10-06 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
2663 | |
2664 * src/main/java/de/intevation/flys/exports/ATWriter.java: Get rid | |
2665 of buggy first line code. | |
2666 | |
2667 2011-10-05 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
2668 | |
2669 fixed flys/issue201 | |
2670 | |
2671 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
2672 Replace >= with > in km index lookup because last km was not found. | |
2673 | |
2674 2011-10-05 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
2675 | |
2676 fixed flys/issue177 | |
2677 | |
2678 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java: | |
2679 Revert rev2245. Code works fine now! :-) | |
2680 | |
2681 2011-10-05 Ingo Weinzierl <ingo@intevation.de> | |
2682 | |
2683 * src/main/java/de/intevation/flys/jfree/FLYSAnnotation.java: Stores a | |
2684 list of XYTextAnnotations instead of FLYS specific Annotations. This | |
2685 makes this class suitable for other annotation types as well. | |
2686 | |
2687 * src/main/java/de/intevation/flys/artifacts/model/MainValuesQFacet.java, | |
2688 src/main/java/de/intevation/flys/artifacts/model/MainValuesWFacet.java: | |
2689 Both facets' getData() will now return an instance of FLYSAnnotation. | |
2690 | |
2691 * src/main/java/de/intevation/flys/artifacts/model/AnnotationFacet.java: | |
2692 Create XYTextAnnotations used to instantiate an object of | |
2693 FLYSAnnotation. | |
2694 | |
2695 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java, | |
2696 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
2697 Removed the code to add annotations to the plot. This task is general | |
2698 enough to move this code to parent class. | |
2699 | |
2700 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: | |
2701 Instances of this class are now able to store - besides first and second | |
2702 axes datasets - a list of annotations. This annotations are added to the | |
2703 plot after the datasets have been added. To support LegendItems for | |
2704 those annotions, it was necessary to create a the LegendItemCollection | |
2705 by ourself. This work is done while applying the themes for each series | |
2706 in the chart. | |
2707 | |
2708 2011-10-05 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
2709 | |
2710 Removed code duplication of guessWaterIncreasing() | |
2711 | |
2712 * src/main/java/de/intevation/flys/artifacts/model/WKms.java(allKms, allWs): | |
2713 Added methods to fetch all kms and all ws. | |
2714 | |
2715 * src/main/java/de/intevation/flys/utils/DataUtil.java: Generalized to | |
2716 get WKms as arguments. | |
2717 | |
2718 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java, | |
2719 src/main/java/de/intevation/flys/artifacts/model/WKmsImpl.java, | |
2720 src/main/java/de/intevation/flys/artifacts/model/WQ.java: Implements | |
2721 the extended WKms interface. | |
2722 | |
2723 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java: | |
2724 Uses the generalized DataUtil.guessWaterIncreasing(). | |
2725 | |
2726 2011-10-05 Ingo Weinzierl <ingo@intevation.de> | |
2727 | |
2728 flys/issue347 (W-INFO / Wasserspiegellagenberechnung, Längsschnittdiagramm) | |
2729 flys/issue303 (Keine Streckenfavoriten, wenn nur Q im Längsschnittdiagram ausgewählt) | |
2730 flys/issue353 (W-INFO / Wasserspiegellagenberechnung, Diagramm) | |
2731 | |
2732 * src/main/java/de/intevation/flys/jfree/FLYSAnnotation.java: New. A | |
2733 wrapper for Annotations which allows us to provide a description for a | |
2734 set of annotations. | |
2735 | |
2736 * src/main/java/de/intevation/flys/artifacts/model/AnnotationFacet.java: | |
2737 The getData() will now return an instance of FLYSAnnotation that wraps | |
2738 the Annotations returned by the AnnotationArtifact. The lebel of | |
2739 FLYSAnnotation is the description of this Facet. | |
2740 | |
2741 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
2742 Modified the way to add Annotations. We will no longer create an empty | |
2743 series to support a LegendItem for a set of Annotations, but we will add | |
2744 a LegendItem manually to the LegendItemCollection of the plot. In | |
2745 addition, we are now able to display annotations if one of the two | |
2746 y-axes are missing. If there are no y-axes existing, we are not able to | |
2747 display annotations yet. | |
2748 | |
2749 2011-10-05 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
2750 | |
2751 * src/main/java/de/intevation/flys/artifacts/math/BackJumpCorrector.java: | |
2752 Lifted the wrong point. Now all backjump corrections look fine. :-) | |
2753 | |
2754 2011-10-05 Ingo Weinzierl <ingo@intevation.de> | |
2755 | |
2756 * src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java: | |
2757 Fixed bugs and make use of a cache for annotations now. | |
2758 | |
2759 2011-10-04 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
2760 | |
2761 Worked on flys/issue31 | |
2762 | |
2763 * src/main/java/de/intevation/flys/artifacts/math/BackJumpCorrector.java: | |
2764 Simplified the code a lot. Needs testing. Maybe flys/issue31 is gone | |
2765 | |
2766 2011-10-04 Ingo Weinzierl <ingo@intevation.de> | |
2767 | |
2768 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
2769 Fetch the WstUnit value from river - the Wst itself no longer supports a | |
2770 Unit iself. | |
2771 | |
2772 2011-10-04 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
2773 | |
2774 * src/main/java/de/intevation/flys/artifacts/math/BackJumpCorrector.java, | |
2775 src/main/java/de/intevation/flys/utils/DoubleUtil.java: Moved some generic | |
2776 double array code to DoubleUtil. | |
2777 | |
2778 2011-10-04 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
2779 | |
2780 * src/main/java/de/intevation/flys/utils/DoubleUtil.java (interpolateSorted): | |
2781 Added code to linear interpolate double values in a sorted array. | |
2782 Keys and values are given as double arrays. Keys need to be sorted. | |
2783 | |
2784 2011-10-04 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
2785 | |
2786 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java, | |
2787 src/main/java/de/intevation/flys/artifacts/states/WaterlevelPairSelectState.java: | |
2788 Removed superfluous imports. | |
2789 | |
2790 2011-10-04 Ingo Weinzierl <ingo@intevation.de> | |
2791 | |
2792 flys/issue330 (Dauerlinie kann nicht berechnet werden) | |
2793 | |
2794 * src/main/java/de/intevation/flys/artifacts/model/Calculation3.java: | |
2795 Add a problem if no data was found for duration curves. | |
2796 | |
2797 2011-10-04 Ingo Weinzierl <ingo@intevation.de> | |
2798 | |
2799 * src/main/java/de/intevation/flys/themes/Theme.java, | |
2800 src/main/java/de/intevation/flys/themes/DefaultTheme.java: Added | |
2801 getter/setter methods to provide a facet (string) and index (int). Both | |
2802 values are written as attribute to the Theme's XML representation. | |
2803 | |
2804 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
2805 Set the "facet" and "index" values of themes. | |
2806 | |
2807 2011-10-04 Ingo Weinzierl <ingo@intevation.de> | |
2808 | |
2809 flys/issue346 (W-INFO / Anzeige der Höheninformation) | |
2810 | |
2811 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
2812 Modified x and y axis title. The x axis title is now "RIVERNAME-km"; the | |
2813 y axis title is now "W[WST_UNIT]" where WST_UNIT depends on the unit of | |
2814 the WST. | |
2815 | |
2816 * src/main/resources/messages.properties, | |
2817 src/main/resources/messages_de_DE.properties, | |
2818 src/main/resources/messages_en.properties, | |
2819 src/main/resources/messages_de.properties: Modified i18n expressions for | |
2820 x and y axis of longitudinal section charts. | |
2821 | |
2822 2011-09-30 Ingo Weinzierl <ingo@intevation.de> | |
2823 | |
2824 flys/issue351 (W-INFO / Wasserspiegellagenberechnungen) | |
2825 | |
2826 * src/main/java/de/intevation/flys/utils/DoubleUtil.java: Modified the | |
2827 explode() function that returns a list of values specified by min, max | |
2828 and an interval. If the last value, determined by the interval, is | |
2829 bigger than the max value, it is not included in the result list. | |
2830 | |
2831 2011-09-30 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
2832 | |
2833 flys/issue334 (Querprofil-Diagramm: Ausgabe dieses Diagrammtyps | |
2834 möglich, obwohl WSP Berechnung keine Ergebnisse liefert) | |
2835 | |
2836 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java: | |
2837 (compute): Add Facets regarding CrossSections only if data available. | |
2838 | |
2839 2011-09-29 Ingo Weinzierl <ingo@intevation.de> | |
2840 | |
2841 flys/issue176 (Diagramm: Benennung eines Abflusses bei gewählter Höhe am Pegel) | |
2842 flys/issue349 (W-INFO / Wasserspiegellagenberechnung, Längsschnittdiagramm) | |
2843 | |
2844 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java: | |
2845 Create titles for W and Q waterlevel facets with proper fractions. | |
2846 | |
2847 2011-09-30 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
2848 | |
2849 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelPairSelectState.java: | |
2850 (createStaticData, getLabels): Create proper labels for differences. | |
2851 | |
2852 2011-09-29 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
2853 | |
2854 flys/issue244 (WINFO: Export von AT-Dateien im ersten Teil unterschiedlich) | |
2855 flys/issue332 (W-INFO / Berechnung Abflusskurve, Export, FLYS 2.5) | |
2856 | |
2857 * src/main/java/de/intevation/flys/exports/ATWriter.java: Due to a rounding | |
2858 issue the w's of the first line underun the minimal w of the curve at times. | |
2859 An extra test was introduced to suppress the output of the q's of the wrong w's. | |
2860 | |
2861 2011-09-28 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
2862 | |
2863 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java: | |
2864 Use StringUtil.wWrap , fix wrong loop, minor refac and cosmetics. | |
2865 | |
2866 2011-09-28 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
2867 | |
2868 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelSelectState.java: | |
2869 Extracted/use StringUtil.wWrap . | |
2870 | |
2871 2011-09-28 Ingo Weinzierl <ingo@intevation.de> | |
2872 | |
2873 * src/main/java/de/intevation/flys/artifacts/services/MainValuesService.java: | |
2874 Log the gauge which has been determined. | |
2875 | |
2876 2011-09-28 Ingo Weinzierl <ingo@intevation.de> | |
2877 | |
2878 flys/issue332 (W-INFO / Berechnung Abflusskurve, Export, FLYS 2.5) | |
2879 | |
2880 * src/main/java/de/intevation/flys/exports/ATExporter.java: Store the | |
2881 master Artifact which is set via setMasterArtifact(). This is required | |
2882 for meta information used while preparing the header row of AT exports. | |
2883 | |
2884 * src/main/java/de/intevation/flys/exports/ATWriter.java: Print a header | |
2885 row into the AT export for being compatible with desktop FLYS. | |
2886 | |
2887 * src/main/resources/messages.properties, | |
2888 src/main/resources/messages_de_DE.properties, | |
2889 src/main/resources/messages_en.properties, | |
2890 src/main/resources/messages_de.properties: Added header row for AT | |
2891 export files. | |
2892 | |
2893 2011-09-28 Ingo Weinzierl <ingo@intevation.de> | |
2894 | |
2895 flys/issue328 (W-INFO / ÜSK: Auswahl der Wasserspiegellage / Auswahlunterstützung) | |
2896 | |
2897 * doc/conf/meta-data.xml: Added an out 'waterlevels' that might be used to | |
2898 fetch user specific waterlevels (same as longitudinal sections, but | |
2899 without Q facet). | |
2900 In addition, the system specific datacage stuff is now fetched, when: | |
2901 a) no user-id is given | |
2902 b) a user-id is given and there is a parameter 'load-system' | |
2903 | |
2904 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelSelectState.java: | |
2905 If the label of the WQKms object specified by the waterlevel selection | |
2906 begins with a "Q", the label is wrapped into a "W()", e.g. "W(Q=1200)". | |
2907 | |
2908 2011-09-28 Ingo Weinzierl <ingo@intevation.de> | |
2909 | |
2910 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Made | |
2911 feed() able to remove existing data items from Artifact's data pool. | |
2912 Therefore, the value for the item which should be removed needs to an | |
2913 empty string. | |
2914 | |
2915 2011-09-28 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
2916 | |
2917 Extracted StringUtil.unbracket from WaterlevelSelectState.strip. | |
2918 | |
2919 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java, | |
2920 src/main/java/de/intevation/flys/artifacts/states/WaterlevelSelectState.java: | |
2921 Extract and use StringUtil.unbracket, minor doc. | |
2922 | |
2923 2011-09-27 Ingo Weinzierl <ingo@intevation.de> | |
2924 | |
2925 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java, | |
2926 src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java: | |
2927 Changed access of getCurrentState() from protected to public. | |
2928 | |
2929 * src/main/java/de/intevation/flys/artifacts/CollectionMonitor.java: We | |
2930 use the configured Outputs instead of the actuel Outputs of an Artifact | |
2931 to make recommendations, now. This has the bad side effect of giving | |
2932 recommendations for Outputs that we might _NOT_ be able to produce. But | |
2933 otherwise, we would not be able to give recommendations for states with | |
2934 long calculation times that start background threads for calculation (as | |
2935 WSPLGEN caluclations does). | |
2936 | |
2937 2011-09-27 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
2938 | |
2939 Enable "auto-scaling" axis for waterlevels in WDifference-plots. | |
2940 | |
2941 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
2942 (createSecondaryAxis, zoomY): Refactored to allow modification in | |
2943 siblings. | |
2944 | |
2945 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java: | |
2946 (createSecondaryAxisRange): Override to achieve expected behavior. | |
2947 Also adjusted label. | |
2948 | |
2949 2011-09-27 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
2950 | |
2951 In W-Difference Calculation, respect indices of selected facets. | |
2952 | |
2953 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java: | |
2954 (computeAdvance): Respect index of selected facets. | |
2955 | |
2956 2011-09-27 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
2957 | |
2958 flys/issue317: (Querprofil-Diagramm: Referenzen auf CrossSectionApp entfernen) | |
2959 | |
2960 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
2961 Removed dependency to demo app. | |
2962 | |
2963 * src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java: | |
2964 Refactored to use logic from the models. | |
2965 | |
2966 * src/main/java/de/intevation/flys/artifacts/geom/Lines.java: | |
2967 Moved some logic from the demo app to this model. | |
2968 | |
2969 2011-09-27 Ingo Weinzierl <ingo@intevation.de> | |
2970 | |
2971 * src/main/java/de/intevation/flys/wsplgen/FacetCreator.java: New. Code | |
2972 from FloodMapState moved to its own class with the intent, to use it in | |
2973 classes different from FloodMapState. | |
2974 | |
2975 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: | |
2976 Removed the inner class FacetCreator. | |
2977 | |
2978 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENJob.java: Stores | |
2979 an instance of FacetCreator. | |
2980 NOTE: Maybe we should move the WSPLGEN parameters into an own class | |
2981 which might be serializable. | |
2982 | |
2983 * src/main/java/de/intevation/flys/wsplgen/JobExecutor.java: Use the | |
2984 FacetCreator instance stored in the WSPLGENJob to create a new WSPLGEN | |
2985 facet if the calculation was successfully (without errors). Finally, the | |
2986 facets of FacetCreator are added to the Facet list of the FLYSArtifacts. | |
2987 | |
2988 2011-09-27 Ingo Weinzierl <ingo@intevation.de> | |
2989 | |
2990 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: | |
2991 Put Artifact in background mode first before starting WSPLGEN, otherwise | |
2992 a very fast errors (call CallContext.afterBackground() before Artifact is | |
2993 in Background mode) might lead to an inconsistent state. | |
2994 | |
2995 * src/main/java/de/intevation/flys/wsplgen/ProblemObserver.java: Repaired | |
2996 broken error num parsing. | |
2997 | |
2998 2011-09-27 Ingo Weinzierl <ingo@intevation.de> | |
2999 | |
3000 * src/main/java/de/intevation/flys/wsplgen/ProblemObserver.java: Track | |
3001 critical errors as well (improved regular expression for errors). | |
3002 | |
3003 2011-09-27 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
3004 | |
3005 * ChangeLog: Fixed whitespace usage. | |
3006 | |
3007 2011-09-27 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
3008 | |
3009 * src/main/java/de/intevation/flys/artifacts/services/RiverService.java, | |
3010 src/main/java/de/intevation/flys/artifacts/math/DifferenceCurveFacet.java | |
3011 src/main/java/de/intevation/flys/artifacts/model/ManagedDomFacet.java, | |
3012 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java: | |
3013 Removed superfluous imports. | |
3014 | |
3015 2011-09-27 Ingo Weinzierl <ingo@intevation.de> | |
3016 | |
3017 flys/issue68 (Diagramm: Werte an der Y-Achse benötigen i18n) | |
3018 | |
3019 * src/main/java/de/intevation/flys/exports/ChartGenerator.java: Added a | |
3020 method to retrieve the current/preferred locale specified by CallMeta. | |
3021 | |
3022 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: | |
3023 Introduced two methods localizeDomainAxis() and localizeRangeAxis(). | |
3024 Both methods of this class override the NumberFormat used to format axes | |
3025 numbers. Those methods are called by localizeAxes() - which has private | |
3026 access - for each domain and range axis of the current XYPlot. | |
3027 | |
3028 2011-09-27 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
3029 | |
3030 * doc/conf/cache.xml: Number of cached annotations was much | |
3031 to low. | |
3032 | |
3033 2011-09-27 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
3034 | |
3035 Improved w-differences diagram generation where multiple differences | |
3036 can be shown. | |
3037 | |
3038 * src/main/java/de/intevation/flys/artifacts/math/DifferenceCurveFacet.java: | |
3039 New facet type. | |
3040 | |
3041 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java: | |
3042 Employ new DifferenceCurveFacet, return CalculationResult that can | |
3043 store more than one WKms. | |
3044 | |
3045 2011-09-27 Ingo Weinzierl <ingo@intevation.de> | |
3046 | |
3047 flys/issue320 (ÃœSK:Mapserver hat Probleme beim Shapefilepath mit "../" im Pfad) | |
3048 | |
3049 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Use | |
3050 File.getCanonicalPath() to substitute "../" in shapefile directories. | |
3051 | |
3052 2011-09-26 Ingo Weinzierl <ingo@intevation.de> | |
3053 | |
3054 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: | |
3055 The extent of the WSPLGEN result layer is now specified by the extent of | |
3056 the CrossSectionTracks that matches the start and end kilometer of the | |
3057 WSPLGEN calculation. | |
3058 | |
3059 * src/main/java/de/intevation/flys/utils/GeometryUtils.java: New function | |
3060 that creates the OpenLayers bounding box based on two Geometries. | |
3061 | |
3062 2011-09-26 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
3063 | |
3064 Improved w-differences diagram generation with included "absolute" | |
3065 values. | |
3066 | |
3067 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java: | |
3068 Fixed one (of two) incorrect labels. | |
3069 (doWaterlevelOut): Survive non-found gauge, fetch kilometer and w | |
3070 instead of values for w and q. | |
3071 | |
3072 2011-09-26 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
3073 | |
3074 Add positional-conflict-awareness when merging Facets for a | |
3075 FLYSArtifactCollection. First come first serve. | |
3076 | |
3077 * src/main/java/de/intevation/flys/collections/AttributeWriter.java: | |
3078 (writeFacets): First, sort incoming facets into 2 groups: | |
3079 "genuinely new" and "already there", then for each new check | |
3080 whether the position is already taken. If so, push "up" (position++) | |
3081 until no conflict exists anymore. | |
3082 | |
3083 2011-09-26 Ingo Weinzierl <ingo@intevation.de> | |
3084 | |
3085 flys/issue296 (Karte: Bezeichnungen verbessern) | |
3086 | |
3087 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: | |
3088 I18N of the WSPLGEN and barriers facets (WMS layers). | |
3089 | |
3090 * src/main/resources/messages.properties, | |
3091 src/main/resources/messages_de_DE.properties, | |
3092 src/main/resources/messages_en.properties, | |
3093 src/main/resources/messages_de.properties: Added strings for the wsplgen | |
3094 and barriers WMS layers. | |
3095 | |
3096 2011-09-26 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
3097 | |
3098 Fix (revert) access to position in ManagedDomFacet. | |
3099 | |
3100 * src/main/java/de/intevation/flys/artifacts/model/ManagedDomFacet.java: | |
3101 (getPosition): Do not add prefix when querying position ("pos") | |
3102 attribute, add a logger for faster future debugging. | |
3103 | |
3104 2011-09-23 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
3105 | |
3106 Squash positional conflict-bug. | |
3107 | |
3108 * src/main/java/de/intevation/flys/collections/AttributeWriter.java: | |
3109 (mergeFacets): Removed, replaced in parts by pickFacet. | |
3110 (pickFacet): New, return facet to be added to document. | |
3111 Documentation added. | |
3112 | |
3113 2011-09-23 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
3114 | |
3115 Squash a bug about wrongly named "art:pos" attribute in ManagedDomFacet (was | |
3116 "pos"). Added documentation from commit message. | |
3117 | |
3118 * src/main/java/de/intevation/flys/artifacts/model/ManagedDomFacet.java: | |
3119 Added documentation (commit message with minor adjustments). | |
3120 (getPosition, setPosition): Include PREFIX in attribute name. | |
3121 | |
3122 2011-09-23 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
3123 | |
3124 Refactoring, doc. | |
3125 | |
3126 * src/main/java/de/intevation/flys/collections/AttributeWriter.java: | |
3127 (mergeFacets): Removed, replaced in parts by pickFacet. | |
3128 (pickFacet): New, return facet to be added to document. | |
3129 Documentation added. | |
3130 | |
3131 2011-09-23 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
3132 | |
3133 Cosmetics, docs. | |
3134 | |
3135 * src/main/java/de/intevation/flys/collections/AttributeWriter.java: | |
3136 Documentation added. | |
3137 | |
3138 2011-09-22 Ingo Weinzierl <ingo@intevation.de> | |
3139 | |
3140 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java: | |
3141 Subclasses the FLYSService now - this should improve the database | |
3142 connection handling. | |
3143 | |
3144 2011-09-22 Bjoern Schilberg <bjoern.schilberg@intevation.de> | |
3145 | |
3146 * doc/mapserver/mosel-mapfile.map: | |
3147 Full blown mosel wms mapfile. | |
3148 | |
3149 2011-09-22 Ingo Weinzierl <ingo@intevation.de> | |
3150 | |
3151 * src/main/java/de/intevation/flys/artifacts/services/FLYSService.java: | |
3152 New. A subclass of DefaultService which is used in FLYS to init and | |
3153 shutdown database connections. | |
3154 | |
3155 * src/main/java/de/intevation/flys/artifacts/services/MainValuesService.java, | |
3156 src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java, | |
3157 src/main/java/de/intevation/flys/artifacts/services/RiverService.java: | |
3158 Centralized the initialization and shutdown of database connections. | |
3159 These services now subclass FLYSService which handles the database stuff. | |
3160 | |
3161 * src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java: The | |
3162 current database connection is not closed here - this is done in a | |
3163 Service or in the CallContext. | |
3164 | |
3165 * src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java: It's | |
3166 not necessary to create new database connections here. We already have | |
3167 an existing connection which is initialized by CallContext. | |
3168 | |
3169 2011-09-22 Ingo Weinzierl <ingo@intevation.de> | |
3170 | |
3171 * src/main/java/de/intevation/flys/artifacts/states/DistanceOnlySelect.java: | |
3172 Override validate() of parent classes to suppress "step" validation | |
3173 which is not present in this state. | |
3174 | |
3175 * src/main/java/de/intevation/flys/artifacts/states/RangeState.java: Added | |
3176 new method validateBounds() which really just validates a boundary | |
3177 without "step" parameter. | |
3178 | |
3179 2011-09-21 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
3180 | |
3181 Added WaterlevelArtifact to accompany WINFOArtifacts in WDifferencesPlots. | |
3182 | |
3183 * src/main/java/de/intevation/flys/artifacts/WaterlevelArtifact.java: | |
3184 New WaterlevelArtifact. | |
3185 | |
3186 * doc/conf/conf.xml: | |
3187 Added configuration for WaterlevelArtifact configuration (path to state-xml) | |
3188 waterlevel-factory. | |
3189 | |
3190 * doc/conf/artifacts/waterlevel.xml: | |
3191 New, trivial state description for Waterlevelartifact. | |
3192 | |
3193 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelInfoState.java: | |
3194 New, only state for WaterlevelArtifact. | |
3195 | |
3196 2011-09-21 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
3197 | |
3198 Cosmetics, docs. | |
3199 | |
3200 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java, | |
3201 src/main/java/de/intevation/flys/collections/AttributeWriter.java, | |
3202 src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
3203 Cosmetics, documentation. | |
3204 | |
3205 2011-09-21 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
3206 | |
3207 Added WaterlevelOut-processing ability to WDifferencesCurveGenerator. | |
3208 | |
3209 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java: | |
3210 Process LONGITUDINAL_W facets. | |
3211 | |
3212 2011-09-21 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
3213 | |
3214 Improved WDifferenceState in preparation to be able to deal with multiple | |
3215 pairs for differences. | |
3216 | |
3217 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java: | |
3218 Prepare multiple-pairs-case. | |
3219 | |
3220 2011-09-21 Ingo Weinzierl <ingo@intevation.de> | |
3221 | |
3222 flys/issue315 (Überschwemmungsfläche: String bei Streckenauswahl) | |
3223 | |
3224 * doc/conf/artifacts/winfo.xml: Added a new state for floodmap's range | |
3225 input. This state will accept a km range only, there is no step width. | |
3226 | |
3227 * src/main/java/de/intevation/flys/artifacts/states/DistanceOnlySelect.java: | |
3228 New. The state which is used to enter a km range with step width. | |
3229 | |
3230 2011-09-21 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
3231 | |
3232 Cosmetics, improved debug output, doc. | |
3233 | |
3234 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java: | |
3235 Improved debug output. | |
3236 | |
3237 * src/main/java/de/intevation/flys/artifacts/model/ManagedFacet.java: | |
3238 Added documentation. | |
3239 | |
3240 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelPairSelectState.java, | |
3241 src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java: | |
3242 Removed commented code. | |
3243 | |
3244 * src/main/java/de/intevation/flys/collections/AttributeParser.java: | |
3245 Whitespace cosmetics. | |
3246 | |
3247 2011-09-21 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
3248 | |
3249 Avoid NullPointerException when drawing XYChart without data. | |
3250 | |
3251 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: | |
3252 Guard calls to dataset to avoid NullPointerException. | |
3253 | |
3254 2011-09-21 Ingo Weinzierl <ingo@intevation.de> | |
3255 | |
3256 flys/issue325 (FLYS Client: Auswahl des DGM zeigt numerischen Wert an) | |
3257 | |
3258 * src/main/java/de/intevation/flys/artifacts/states/DGMSelect.java: Write | |
3259 a better label for the selected DEM into the static DESCRIBE. Use the | |
3260 name of the DEM file as label instead of the database id. | |
3261 | |
3262 2011-09-16 Bjoern Schilberg <bjoern.schilberg@intevation.de> | |
3263 | |
3264 * doc/mapserver/fontset.txt: | |
3265 Added initial font set for km_annotation layer. | |
3266 * doc/mapserver/symbols/symbols.sym: | |
3267 Added square symbol for km and fixpoint layer. | |
3268 * doc/mapserver/saar-mapfile.map: | |
3269 Adjust styling in the flys karte-archiv way. | |
3270 | |
3271 2011-09-19 Ingo Weinzierl <ingo@intevation.de> | |
3272 | |
3273 Tagged RELEASE 2.5 | |
3274 | |
3275 * Changes: Prepared changes for release. | |
3276 | |
3277 2011-09-19 Ingo Weinzierl <ingo@intevation.de> | |
3278 | |
3279 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java, | |
3280 src/main/java/de/intevation/flys/artifacts/states/WaterlevelSelectState.java, | |
3281 src/main/java/de/intevation/flys/artifacts/states/WaterlevelPairSelectState.java, | |
3282 src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java, | |
3283 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Removed | |
3284 needless imports. | |
3285 | |
3286 2011-09-16 Ingo Weinzierl <ingo@intevation.de> | |
3287 | |
3288 * doc/conf/meta-data.xml: Improved datacage configuration for DEMs. | |
3289 | |
3290 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: | |
3291 Query DGMs by the given ID in the FLYS data pool - not by given range | |
3292 values. | |
3293 | |
3294 2011-09-16 Ingo Weinzierl <ingo@intevation.de> | |
3295 | |
3296 * doc/conf/meta-data.xml: Added a section for DEMs to the floodmap | |
3297 section. | |
3298 | |
3299 2011-09-16 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
3300 | |
3301 Fix build. | |
3302 | |
3303 * src/main/java/de/intevation/flys/artifacts/state/WDifferencesState.java: | |
3304 Fix build. | |
3305 | |
3306 2011-09-16 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
3307 | |
3308 Take a given WaterlevelPair-String, load artifact and plot the diff. | |
3309 | |
3310 * src/main/java/de/intevation/flys/artifacts/state/WDifferencesState.java: | |
3311 Load correct artifacts. | |
3312 | |
3313 2011-09-16 Bjoern Schilberg <bjoern.schilberg@intevation.de> | |
3314 | |
3315 * doc/mapserver/*: Added inital mapserver configuration files. | |
3316 | |
3317 2011-09-16 Ingo Weinzierl <ingo@intevation.de> | |
3318 | |
3319 * doc/conf/meta-data.xml: Moved the system specific configuration into a | |
3320 macro to the top of the configuration document. Call this macro at the | |
3321 end of the user specific part and in the part that should contain the | |
3322 system specific stuff only! | |
3323 | |
3324 2011-09-16 Ingo Weinzierl <ingo@intevation.de> | |
3325 | |
3326 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: | |
3327 Defined createItem() here and adapted some method signatures, because I | |
3328 need the CallContext deeper in code than expected. | |
3329 | |
3330 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelSelectState.java: | |
3331 Write the name of the selected waterlevel into the static DESCRIBE. | |
3332 | |
3333 * src/main/java/de/intevation/flys/artifacts/states/ScenarioSelect.java: | |
3334 Adapted method signatures that have been changed in DefaultState. | |
3335 | |
3336 * src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java: | |
3337 Removed method createItem() which is now defined in the upper class | |
3338 DefaultState. | |
3339 | |
3340 * src/main/resources/messages.properties, | |
3341 src/main/resources/messages_de_DE.properties, | |
3342 src/main/resources/messages_en.properties, | |
3343 src/main/resources/messages_de.properties: Added string for selected | |
3344 waterlevel that is displayed in static UI. | |
3345 | |
3346 2011-09-16 Ingo Weinzierl <ingo@intevation.de> | |
3347 | |
3348 * src/main/resources/messages.properties, | |
3349 src/main/resources/messages_de_DE.properties, | |
3350 src/main/resources/messages_en.properties, | |
3351 src/main/resources/messages_de.properties: Added state label for | |
3352 waterlevel selection. | |
3353 | |
3354 2011-09-15 Ingo Weinzierl <ingo@intevation.de> | |
3355 | |
3356 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelSelectState.java: | |
3357 Validate incoming data string and strip brackets. | |
3358 | |
3359 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: | |
3360 Fetch waterlevel data from external Artifact if existing. If no external | |
3361 Artifact is specified that provides waterlevel data, we gonna try to | |
3362 fetch it from the current Artifact. | |
3363 | |
3364 2011-09-15 Ingo Weinzierl <ingo@intevation.de> | |
3365 | |
3366 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelPairSelectState.java: | |
3367 Removed needless import which caused compile errors. | |
3368 | |
3369 2011-09-15 Ingo Weinzierl <ingo@intevation.de> | |
3370 | |
3371 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: | |
3372 Added a transform() method. This method should be used to transform | |
3373 input data in form of a string into a better data structure. This state | |
3374 provides a simple implementation which just returns a StateData object | |
3375 that contains exactly the input string. | |
3376 | |
3377 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Transform | |
3378 input strings using DefaultState.transform() before they are added to | |
3379 its data pool. | |
3380 | |
3381 2011-09-15 Ingo Weinzierl <ingo@intevation.de> | |
3382 | |
3383 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
3384 Made collection solid for the case if it has no Artifacts. | |
3385 | |
3386 2011-09-15 Ingo Weinzierl <ingo@intevation.de> | |
3387 | |
3388 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: Fetch Artifact | |
3389 from ArtifactDatabase properly. Write better error logs if that process | |
3390 fails. | |
3391 | |
3392 2011-09-14 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
3393 | |
3394 Extend WDifferences branch to have calculations in dedicated, new state. | |
3395 | |
3396 * doc/conf/artifacts/winfo.xml: Added new State and Transition in | |
3397 WDifferences-branch. | |
3398 | |
3399 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelPairSelectState.java: | |
3400 New state. | |
3401 | |
3402 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java: | |
3403 Specify to not take input, prepare getting other facets. | |
3404 | |
3405 2011-09-14 Ingo Weinzierl <ingo@intevation.de> | |
3406 | |
3407 * src/main/java/de/intevation/flys/artifacts/states/DGMSelect.java: This | |
3408 state now desires the UIProvider 'dem_datacage_panel'. | |
3409 | |
3410 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelSelectState.java: | |
3411 New. This state is used to define the desired UIProvider | |
3412 'wsp_datacage_panel'. | |
3413 | |
3414 * doc/conf/artifacts/winfo.xml: Added a new way to start a WSPLGEN | |
3415 calculation when choosing the calculation type 'floodmap'. | |
3416 | |
3417 2011-09-14 Ingo Weinzierl <ingo@intevation.de> | |
3418 | |
3419 * src/main/java/de/intevation/flys/collections/AttributeWriter.java: Merge | |
3420 facets only if their name AND their owner artifact are equal. | |
3421 | |
3422 2011-09-14 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
3423 | |
3424 Partial Fix flys/issue304 (3) (Baseline). | |
3425 | |
3426 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java: | |
3427 Show Baseline in WDifferencesPlot. | |
3428 | |
3429 2011-09-14 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
3430 | |
3431 Fix flys/issue310 (cross-section theme). | |
3432 | |
3433 * doc/conf/themes.xml: CrossSection-Themes: profile thin, water blue. | |
3434 | |
3435 2011-09-14 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
3436 | |
3437 Fix flys/issue310 (cross-section theme). | |
3438 | |
3439 * doc/conf/themes.xml: CrossSection-Themes: profile thin, water blue. | |
3440 | |
3441 2011-09-13 Ingo Weinzierl <ingo@intevation.de> | |
3442 | |
3443 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: | |
3444 Add an quick and simple error to the report if an error occured while | |
3445 WSPLGENJob creation. | |
3446 | |
3447 * src/main/resources/messages.properties, | |
3448 src/main/resources/messages_de_DE.properties, | |
3449 src/main/resources/messages_en.properties, | |
3450 src/main/resources/messages_de.properties: Added error messages for | |
3451 WSPLGEN job creation errors. | |
3452 | |
3453 2011-09-13 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
3454 | |
3455 Fix crash when drawing StickyAxisAnnotation when no range was given. | |
3456 User-directed issues remain ( flys/issue303 ). | |
3457 | |
3458 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java | |
3459 (draw): | |
3460 Guard access to domainAxis, rangeAxis and the corresponding ranges. | |
3461 Warn and exit if any was null. | |
3462 | |
3463 2011-09-13 Ingo Weinzierl <ingo@intevation.de> | |
3464 | |
3465 flys/issue290 (Karte: Eingabe von Differenzen zw. WSP und Gelände findet | |
3466 keine Ausprägung in der Karte) | |
3467 | |
3468 * doc/conf/mapserver/wsplgen_class.vm: Added styles for DIFF attribute. | |
3469 | |
3470 * doc/conf/mapserver/mapfile.vm: Set debug default to '5'. | |
3471 | |
3472 2011-09-12 Ingo Weinzierl <ingo@intevation.de> | |
3473 | |
3474 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: | |
3475 Add a first WSPLGEN status message (notifies the user about a | |
3476 queued job) after the job has been added to the Scheduler. | |
3477 | |
3478 * src/main/resources/messages.properties, | |
3479 src/main/resources/messages_de_DE.properties, | |
3480 src/main/resources/messages_en.properties, | |
3481 src/main/resources/messages_de.properties: Added english and german | |
3482 status message text. | |
3483 | |
3484 2011-09-12 Ingo Weinzierl <ingo@intevation.de> | |
3485 | |
3486 * src/main/java/de/intevation/flys/utils/GeometryUtils.java: Write | |
3487 shapefiles only if there are features for it existing. | |
3488 | |
3489 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: | |
3490 A WSPLGEN facet is only created, if the calculation was successfully | |
3491 added to the Scheduler. A barrier facet is only created if the WSPLGEN | |
3492 calculation has been added to the scheduler AND if there are digitized | |
3493 geometries existing. | |
3494 | |
3495 2011-09-12 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
3496 | |
3497 Copied and slightly modified implementation of guessWaterIncreasing from | |
3498 WQKms to (new) DataUtils. Accidentally commited usage in last commit, to | |
3499 correct orientation of diagram (invert x axis). | |
3500 | |
3501 * src/main/java/de/intevation/flys/utils/DataUtils.java: | |
3502 New file with guessWaterIncreasing implementation from WQKms, | |
3503 slightly adjusted. | |
3504 | |
3505 2011-09-12 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
3506 | |
3507 Cosmetics. | |
3508 | |
3509 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java, | |
3510 src/main/java/de/intevation/flys/artifacts/model/WKmsImpl.java: | |
3511 Cosmetics. | |
3512 | |
3513 2011-09-12 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
3514 | |
3515 Added CSV Export for W-Differences. | |
3516 | |
3517 * doc/conf/conf.xml: Added Exporter. | |
3518 | |
3519 * doc/conf/artifacts/winfo.xml: Removed transition over distances | |
3520 state, added export outputmode and facet. | |
3521 | |
3522 * src/main/java/de/intevation/flys/exports/WDifferencesExporter.java: | |
3523 New, CSV-Exporter for WDifferences. | |
3524 | |
3525 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java: | |
3526 Add export facet. | |
3527 | |
3528 2011-09-12 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
3529 | |
3530 * src/main/java/de/intevation/flys/artifacts/model/DataFacet.java: | |
3531 Cosmetics, docs. | |
3532 | |
3533 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java, | |
3534 src/main/java/de/intevation/flys/exports/AbstractExporter.java, | |
3535 src/main/java/de/intevation/flys/exports/DurationCurveExporter.java: | |
3536 Cosmetics. | |
3537 | |
3538 2011-09-12 Ingo Weinzierl <ingo@intevation.de> | |
3539 | |
3540 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: | |
3541 Sourced the code to append a concrete data item to the static DESCRIBE | |
3542 part out to an own method (appendStaticData()). | |
3543 | |
3544 * src/main/java/de/intevation/flys/artifacts/states/ScenarioSelect.java: | |
3545 Override appendStaticData() to suppress the GeoJSON string to be | |
3546 included in the static DESCRIBE. | |
3547 | |
3548 2011-09-12 Ingo Weinzierl <ingo@intevation.de> | |
3549 | |
3550 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionFactory.java, | |
3551 src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java, | |
3552 src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java, | |
3553 src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java, | |
3554 src/main/java/de/intevation/flys/artifacts/states/RiverAxisState.java, | |
3555 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java, | |
3556 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java: | |
3557 Removed needless imports. | |
3558 | |
3559 2011-09-09 Ingo Weinzierl <ingo@intevation.de> | |
3560 | |
3561 * src/main/java/de/intevation/flys/artifacts/model/CalculationMessage.java: | |
3562 New. A subclass of Message (in the Artifacts system). It stores a | |
3563 string message and a progress (in form of step x/y). | |
3564 | |
3565 * src/main/java/de/intevation/flys/wsplgen/JobObserver.java: The observer | |
3566 now writes background messages into the artifact system using the | |
3567 CallContext.addBackgroundMessage(). We use instances of | |
3568 CalculationMessage here, that makes the WINFOArtifact able to put | |
3569 progress information into the Artifact's DESCRIBE as well. | |
3570 | |
3571 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Write | |
3572 status message and progress information into the DESCRIBE if the | |
3573 Artifact has started a background process. | |
3574 | |
3575 2011-09-09 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
3576 | |
3577 Fix flys/issue280 . | |
3578 | |
3579 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java: | |
3580 Do not draw boxes around annotations. | |
3581 | |
3582 2011-09-09 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
3583 | |
3584 Fix flys/issue279 . | |
3585 | |
3586 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
3587 Fix behaviour in various thinkable malconditions. | |
3588 | |
3589 2011-09-09 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
3590 | |
3591 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
3592 Made one case of cross section fetching more robust. | |
3593 | |
3594 2011-09-09 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
3595 | |
3596 Fix Facet name and Legend of W-Differences, also insert state to specify | |
3597 distance. | |
3598 | |
3599 * doc/conf/artifacts/winfo.xml: Add additional transitions to walk over | |
3600 distances state. | |
3601 | |
3602 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java: | |
3603 Set facets description. | |
3604 | |
3605 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java: | |
3606 Take facets description as legend. | |
3607 | |
3608 2011-09-09 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
3609 | |
3610 Added configuration to kick-in w-differences branch of winfo. | |
3611 | |
3612 * doc/conf/conf.xml: Register new (w-differences) OutputGenerators. | |
3613 | |
3614 * doc/conf/artifacts/winfo.xml: Register new state and transitions. | |
3615 | |
3616 * src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java: | |
3617 Added new (w-differences) calculation mode. | |
3618 | |
3619 * src/main/java/de/intevation/flys/exports/WDifferencesCurveInfoGenerator.java: | |
3620 New file, implementing naive approach to display w-differences | |
3621 (accidentially omitted in last commit). | |
3622 | |
3623 2011-09-09 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
3624 | |
3625 Added very stubby WDifferences State/OutGenerator for WINFOArtifact. | |
3626 | |
3627 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: | |
3628 Added w_differences facet type. | |
3629 | |
3630 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java: | |
3631 New file, implements naive approach to calculate w-differences (of | |
3632 calculations identified by hardcoded uuids!) and register respective facet. | |
3633 | |
3634 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java: | |
3635 New file, implementing naive approach to display w-differences. | |
3636 | |
3637 2011-09-09 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
3638 | |
3639 Implement getArtifact(uuid,context) in FLYSUtils. | |
3640 | |
3641 * src/main/java/de/intevation/flys/utils/FLYSUtils.java (getArtifact): | |
3642 Added implementation, partially resolving a TODO. Added logger instance. | |
3643 | |
3644 2011-09-08 Ingo Weinzierl <ingo@intevation.de> | |
3645 | |
3646 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENCalculation.java: | |
3647 New. This sublcass of Calculation saves warnings and errors that occur | |
3648 while WSPLGEN is running. | |
3649 Note, that the interface of this class doesn't exactly apply the interface | |
3650 of Calculation. Maybe, we should generalize this interface! | |
3651 | |
3652 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENJob.java: Stores | |
3653 an instance of WSPLGENCalculation now. We use this instance to save | |
3654 warnings and errors. | |
3655 | |
3656 * src/main/java/de/intevation/flys/wsplgen/ProblemObserver.java: Use the | |
3657 WSPLGENCalculation to save errors and warnings. | |
3658 | |
3659 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENReportFacet.java: | |
3660 New. This facet is used for WSPLGEN reports. It stores an instance of | |
3661 WSPLGENCalculation which saves ERRORS and WARNINGS that occur while | |
3662 WSPLGEN execution. | |
3663 | |
3664 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: | |
3665 Create a WSPLGENReportFacet for WSPLGEN reports. | |
3666 | |
3667 * doc/conf/conf.xml: Added an OutputGenerator 'report' for WSPLGEN | |
3668 reports. | |
3669 | |
3670 * doc/conf/artifacts/winfo.xml: Added an output 'report' for WSPLGEN | |
3671 reports. | |
3672 | |
3673 2011-09-08 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
3674 | |
3675 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java, | |
3676 src/main/java/de/intevation/flys/artifacts/math/WKmsOperation.java, | |
3677 src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java: | |
3678 Cosmetics, docs. | |
3679 | |
3680 2011-09-08 Ingo Weinzierl <ingo@intevation.de> | |
3681 | |
3682 * src/main/java/de/intevation/flys/wsplgen/JobObserver.java: Small | |
3683 adjustments that makes it easier to subclass this observer. | |
3684 | |
3685 * src/main/java/de/intevation/flys/wsplgen/ProblemObserver.java: New. A | |
3686 sublcass of JobObserver which analyses the WSPLGEN output for errors and | |
3687 warnings. | |
3688 | |
3689 * src/main/java/de/intevation/flys/wsplgen/JobExecutor.java: Use | |
3690 JobObserver and ProblemObserver to track the whole WSPLGEN output and | |
3691 print number of errors/warnings to log output. | |
3692 | |
3693 2011-09-08 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
3694 | |
3695 Added translation of w_differences. | |
3696 | |
3697 * src/main/resources/messages_de_DE.properties, | |
3698 src/main/resources/messages_de.properties, | |
3699 src/main/resources/messages_en.properties, | |
3700 src/main/resources/messages.properties: | |
3701 Added "w_differnces" translation. | |
3702 | |
3703 2011-09-07 Ingo Weinzierl <ingo@intevation.de> | |
3704 | |
3705 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Appended | |
3706 a new attribute 'background-processing' to the DESCRIBE of this | |
3707 Artifact. Its value is 'true' if this Artifact has started a background | |
3708 thread which has not finished yet - otherwise it is 'false. | |
3709 | |
3710 2011-09-07 Ingo Weinzierl <ingo@intevation.de> | |
3711 | |
3712 * src/main/java/de/intevation/flys/artifacts/states/RiverAxisState.java, | |
3713 src/main/java/de/intevation/flys/utils/GeometryUtils.java: Moved the | |
3714 code to determine the extent of a river based on its axis to | |
3715 GeometryUtils. | |
3716 | |
3717 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: | |
3718 Determine the extent of the selected river and set the WMSLayerFacet's | |
3719 extent attribute. | |
3720 | |
3721 2011-09-07 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
3722 | |
3723 Added Themeing support for CrossSection Diagrams. | |
3724 | |
3725 * doc/conf/themes.xml: | |
3726 Added new themes and mappings, slightly modified longitudinalsection | |
3727 theme. | |
3728 | |
3729 2011-09-07 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
3730 | |
3731 In CrossSection Diagram fix subtitle to display the km of which the data is | |
3732 actually displayed (maybe contrasting users wish). | |
3733 | |
3734 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
3735 (getCrossSectionSnapKm): New method to fetch the actual km of crosssection. | |
3736 | |
3737 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java: | |
3738 Add correct km to charts subtitle. | |
3739 | |
3740 2011-09-07 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
3741 | |
3742 Fix various display-issues like i18n in cross-section diagram. | |
3743 | |
3744 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java: | |
3745 Set description of facets to expected values. | |
3746 | |
3747 * src/main/java/de/intevation/flys/artifacts/exports/CrossSectionGenerator.java: | |
3748 Fix i18n of chart title. Set subtitle to expected value, pass facets | |
3749 description to StyledSeries to see expected legend. | |
3750 | |
3751 2011-09-07 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
3752 | |
3753 Cosmetics, resolved refactoring todo. | |
3754 | |
3755 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java | |
3756 (compute, computeAdvance, computeFeed): Refactored, extracted method, | |
3757 resolving duplicate code and TODO. | |
3758 | |
3759 2011-09-07 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
3760 | |
3761 Fix waterline "calculation" at given km. Chosen approach is | |
3762 "head-through-wall". | |
3763 | |
3764 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
3765 Some refactoring to do the same calculation twice easier and be able | |
3766 to "cross" waterline against correct profile data. | |
3767 | |
3768 | |
3769 2011-09-07 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
3770 | |
3771 Fix setting of kilometer for profile (not yet waterlevel) of cross section | |
3772 diagram. | |
3773 | |
3774 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
3775 (getCrossSectionData): Respect corss_section.km data; do naive linear | |
3776 search for profile data for this km. | |
3777 | |
3778 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionFacet.java: | |
3779 Declare a ComputeType. | |
3780 | |
3781 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java: | |
3782 Implement computeFeed. | |
3783 | |
3784 2011-09-07 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
3785 | |
3786 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java, | |
3787 src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
3788 Minor cosmetics. | |
3789 | |
3790 2011-09-07 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
3791 | |
3792 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java, | |
3793 src/main/java/de/intevation/flys/artifacts/model/DataFacet.java, | |
3794 src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java, | |
3795 src/main/java/de/intevation/flys/artifacts/state/DefaultState.java: | |
3796 Cosmetics, docs. | |
3797 | |
3798 2011-09-06 Ingo Weinzierl <ingo@intevation.de> | |
3799 | |
3800 * doc/conf/mapserver/barrier_polygons_class.vm, | |
3801 doc/conf/mapserver/barrier_lines_class.vm, | |
3802 doc/conf/mapserver/wsplgen_class.vm: Default Mapserver styles for | |
3803 barriers and WSPLGEN results. Those styles are only used as long as we | |
3804 don't have map specific themes (as already used in charts). | |
3805 | |
3806 * doc/conf/mapserver/layer.vm: Implements a fallback mechanism for styling | |
3807 barrier lines/polygons and WSPLGEN results. | |
3808 | |
3809 * src/main/java/de/intevation/flys/artifacts/model/LayerInfo.java: Added a | |
3810 getStyle() method that currently returns "null". This method needs to be | |
3811 implemented when map themes are introduced. | |
3812 | |
3813 2011-09-06 Ingo Weinzierl <ingo@intevation.de> | |
3814 | |
3815 * src/main/java/de/intevation/flys/artifacts/model/LayerInfo.java: Renamed | |
3816 some attributes to make their job in the mapfile more obvious. | |
3817 | |
3818 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added | |
3819 new facet type for barriers. | |
3820 | |
3821 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: Add | |
3822 a facet for the barriers layer. | |
3823 | |
3824 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Parse | |
3825 barriers (lines and polygons) and create two new layers for each type - | |
3826 those layers are grouped. | |
3827 | |
3828 * doc/conf/mapserver/layer.vm: Renamed attribute based on changes in | |
3829 LayerInfo and added support for Group-Layers. | |
3830 | |
3831 2011-09-06 Raimund Renkert <raimund.renkert@intevation.de> | |
3832 | |
3833 * doc/conf/conf.xml: | |
3834 Added driver to database configuration for use with postgresql. | |
3835 | |
3836 2011-09-06 Ingo Weinzierl <ingo@intevation.de> | |
3837 | |
3838 * doc/conf/mapserver/mapfile.vm: Removed FONTSET attribute and set quotes | |
3839 for SHAPEPATH. | |
3840 | |
3841 2011-09-05 Ingo Weinzierl <ingo@intevation.de> | |
3842 | |
3843 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENFacet.java: | |
3844 Removed. We gonna use the WMSLayerFacet until now. | |
3845 | |
3846 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: | |
3847 Add a WMSLayerFacet after we triggered the Scheduler to start a WSPLGEN | |
3848 calculation. | |
3849 | |
3850 2011-09-05 Ingo Weinzierl <ingo@intevation.de> | |
3851 | |
3852 * doc/conf/mapserver/layer.vm, | |
3853 doc/conf/mapserver/mapfile.vm: Small bugfixes and style improvements. | |
3854 | |
3855 * src/main/java/de/intevation/flys/wsplgen/JobExecutor.java: Trigger the | |
3856 MapfileGenerator after a WSPLGEN job has finished regardless if it has | |
3857 been finished successfully or not. | |
3858 | |
3859 2011-09-05 Ingo Weinzierl <ingo@intevation.de> | |
3860 | |
3861 * pom.xml: Added Apache Velocity 1.7 for templating support. | |
3862 | |
3863 * doc/conf/conf.xml: Added config options for mapserver/template relevant | |
3864 stuff. | |
3865 | |
3866 * doc/conf/mapserver/mapfile.vm, | |
3867 doc/conf/mapserver/layer.vm: New. A default mapfile template and a | |
3868 template used for layers. | |
3869 | |
3870 * src/main/java/de/intevation/flys/artifacts/model/LayerInfo.java: New. | |
3871 This class is used while reading WMS layer relevant information from | |
3872 filesystem. | |
3873 | |
3874 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java: New. This | |
3875 thread is used for creating mapfiles for Mapserver. The MapfileGenerator | |
3876 runs in daemon mode (own thread) and creates mapfiles based on WMS | |
3877 layer relevant information read from filesystem. | |
3878 | |
3879 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java, | |
3880 src/main/java/de/intevation/flys/utils/FLYSUtils.java: Moved shapefile | |
3881 specific XPath expressions from FloodMapState to FLYSUtils which is a | |
3882 better place to use it in other classes (as MapfileGenerator). | |
3883 | |
3884 2011-09-05 Ingo Weinzierl <ingo@intevation.de> | |
3885 | |
3886 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENJob.java: | |
3887 Bugfixed broken attribute assignment. | |
3888 | |
3889 * src/main/java/de/intevation/flys/wsplgen/JobExecutor.java: Call | |
3890 CallContext.afterBackground() after a WSPLGEN job has finished to remove | |
3891 the background lock from Artifact. | |
3892 | |
3893 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: | |
3894 Call CallContext.afterCall(BACKGROUND) to lock the Artifact for | |
3895 background processing. | |
3896 | |
3897 2011-09-02 Ingo Weinzierl <ingo@intevation.de> | |
3898 | |
3899 * src/main/java/de/intevation/flys/wsplgen/JobExecutor.java: New. This | |
3900 class is used to start WSPLGEN for a specific WSPLGENJob. The System | |
3901 property "wsplgen.bin.path" tells the JobExecutor where the WSPLGEN | |
3902 binary is placed (which means in general, the property points to the | |
3903 'wsplgen.exe'). | |
3904 | |
3905 * src/main/java/de/intevation/flys/wsplgen/Scheduler.java: New. This | |
3906 scheduler currently allows to start just a single WSPLGEN Thread. All | |
3907 WSPLGEN calculations should be started using Scheduler.addJob(). | |
3908 | |
3909 * src/main/java/de/intevation/flys/wsplgen/JobObserver.java: New. This | |
3910 thread reads log messages from WSPLGEN and listens for specific | |
3911 messages. It should be used to update status messages of the WSPLGEN | |
3912 calculation that is currently running. | |
3913 There is a System property that tells the JobObserver to log all WSPLGEN | |
3914 output to log4j: enable WSPLGEN output with "-Dwsplgen.log.output=true". | |
3915 | |
3916 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENJob.java: Added | |
3917 the FLYSArtifact, the current working directory and the CallContext. | |
3918 | |
3919 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: | |
3920 Use the Scheduler to start new WSPLGEN calculations. | |
3921 | |
3922 2011-09-02 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
3923 | |
3924 Add CrossSectionInfoGenerator. | |
3925 | |
3926 * src/main/java/de/intevation/flys/exports/CrossSectionInfoGenerator.java: | |
3927 New, trivial implementation of CrossSectionInfoGenerator. | |
3928 | |
3929 * doc/conf/conf.xml: | |
3930 Register CrossSectionInfoGenerator. | |
3931 | |
3932 2011-09-01 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
3933 | |
3934 Cleanups of CrossSection*. | |
3935 | |
3936 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
3937 New methods to retrieve name of utilized CrossSection. | |
3938 | |
3939 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java: | |
3940 Cleanup, get rid of copied unused method, documentation and more sensible | |
3941 translations. | |
3942 | |
3943 * src/main/resources/messages_de_DE.properties, | |
3944 src/main/resources/messages_de.properties, | |
3945 src/main/resources/messages_en.properties, | |
3946 src/main/resources/messages.properties: | |
3947 Added cross_section* translations, also cleanups. | |
3948 | |
3949 2011-09-01 Ingo Weinzierl <ingo@intevation.de> | |
3950 | |
3951 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: | |
3952 Set the "typ" attribute of lines and polygons in barrier shapefiles. | |
3953 | |
3954 2011-09-01 Ingo Weinzierl <ingo@intevation.de> | |
3955 | |
3956 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: | |
3957 Set the Z values of line and polygon barrier geometries. Both barrier | |
3958 shapefiles will contain 3D geometries now. | |
3959 | |
3960 2011-09-01 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
3961 | |
3962 Get real data to display in CrossSection (although ignorant of | |
3963 parameterization), making use of the showcase code of the CrossSectionApp- | |
3964 Standalone application. | |
3965 | |
3966 * doc/conf/artifacts/winfo.xml: Add new facet (~waterline) to state/out. | |
3967 | |
3968 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
3969 New methods to get relevant data. So far just takes the first value of | |
3970 everything and assuming a waterlevel at 130m. | |
3971 | |
3972 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java: | |
3973 New Facet responsible of water level in cross section. | |
3974 | |
3975 * src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java: | |
3976 Made some functionality publicly and statically available. | |
3977 | |
3978 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionFacet.java: | |
3979 Update call. | |
3980 | |
3981 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added new | |
3982 Facet type. | |
3983 | |
3984 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java: | |
3985 Added new Facet to out. | |
3986 | |
3987 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java: | |
3988 Respect new facet and facets data. | |
3989 | |
3990 2011-09-01 Ingo Weinzierl <ingo@intevation.de> | |
3991 | |
3992 * src/main/java/de/intevation/flys/utils/GeometryUtils.java: Close an open | |
3993 shapefile transaction and catch exceptions which are thrown while | |
3994 shapefile creation here. If there occured an error, this functions | |
3995 returns FALSE, otherwise TRUE. | |
3996 | |
3997 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: | |
3998 Removed exception handling while shapefile creation - this is done in | |
3999 GeometryUtils now. | |
4000 | |
4001 2011-09-01 Ingo Weinzierl <ingo@intevation.de> | |
4002 | |
4003 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: | |
4004 Renamed the file for WSPLGEN required waterlevels to "waterlevels.wst". | |
4005 WSPLGEN did not work with the former "waterlevels.txt" file. | |
4006 | |
4007 2011-09-01 Ingo Weinzierl <ingo@intevation.de> | |
4008 | |
4009 * src/main/java/de/intevation/flys/utils/GeometryUtils.java: New static | |
4010 function that builds new SimpleFeatureTypes with additional attributes. | |
4011 | |
4012 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: | |
4013 Write attributes "ELEVATION" and "KILOMETER" into the crosssection | |
4014 tracks shapefiles. | |
4015 | |
4016 2011-08-31 Ingo Weinzierl <ingo@intevation.de> | |
4017 | |
4018 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: Added a method | |
4019 stub that should return a FLYSArtifact based on a given UUID. | |
4020 | |
4021 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: | |
4022 Write the selected WST file for WSPLGEN. Note, that this is the WST file | |
4023 of the current WINFO artifact. Furthermore, there is currently no way | |
4024 for the user to select a column from WST file, so we currently use the | |
4025 column that is written to WST file at first. | |
4026 | |
4027 2011-08-31 Ingo Weinzierl <ingo@intevation.de> | |
4028 | |
4029 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Changed | |
4030 the parameter order of a compute(...) method. This makes me able to call | |
4031 this without a hash value. | |
4032 | |
4033 * src/main/java/de/intevation/flys/artifacts/model/DataFacet.java, | |
4034 src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java, | |
4035 src/main/java/de/intevation/flys/artifacts/model/ReportFacet.java: | |
4036 Adapted the parameter order of the compute() call (see above). | |
4037 | |
4038 2011-08-31 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
4039 | |
4040 More bones to CrossSection sceleton. | |
4041 | |
4042 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionFactory.java, | |
4043 src/main/java/de/intevation/flys/artifacts/model/CrossSectionFacet.java: | |
4044 New, yet trivial implementations of Factory and Facet for CrossSections. | |
4045 | |
4046 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java: | |
4047 Add new CrossSection- (instead of Default-)Facet. | |
4048 | |
4049 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java, | |
4050 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java: | |
4051 Adjusted to use (touch) new Factory and Facet. | |
4052 | |
4053 2011-08-31 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
4054 | |
4055 Cosmetics. | |
4056 | |
4057 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
4058 Cosmetics. | |
4059 | |
4060 2011-08-31 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
4061 | |
4062 Cosmetics. | |
4063 | |
4064 * src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java, | |
4065 src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java, | |
4066 src/main/java/de/intevation/flys/artifacts/model/MainValuesQFacet.java, | |
4067 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java: | |
4068 Removed obselete imports. | |
4069 | |
4070 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java: | |
4071 Removed obselete imports, whitespaces. | |
4072 | |
4073 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java: | |
4074 Whitespaces, docs. | |
4075 | |
4076 2011-08-31 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
4077 | |
4078 Fix translations of Main Values Facets. | |
4079 | |
4080 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java: | |
4081 Do acrobatics to keep state transient but get translated title. | |
4082 | |
4083 * src/main/java/de/intevation/flys/artifacts/MainValuesQFacet.java, | |
4084 src/main/java/de/intevation/flys/artifacts/MainValuesWFacet.java: | |
4085 Changed constructor to get description (which is then already be translated) | |
4086 dynamically, adjust deepCopy. | |
4087 | |
4088 * src/main/java/de/intevation/flys/states/StaticState.java: | |
4089 Adjust constructor accordingly. | |
4090 | |
4091 2011-08-31 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
4092 | |
4093 Add sceleton for CrossSection outs. | |
4094 | |
4095 * doc/conf/artifacts/winfo.xml: | |
4096 Added new output mode to respective state of winfo artifact configuration. | |
4097 | |
4098 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java: | |
4099 Add new Dummy-Facet in state. | |
4100 | |
4101 * doc/conf/conf.xml: | |
4102 Registered new OutputGenerator. | |
4103 | |
4104 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: | |
4105 Added new CROSS_SECTION type. | |
4106 | |
4107 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java: | |
4108 New, stubby skeleton for an CrossSectionGenerator. | |
4109 | |
4110 * src/main/resources/messages_de_DE.properties, | |
4111 src/main/resources/messages_de.properties, | |
4112 src/main/resources/messages_en.properties, | |
4113 src/main/resources/messages.properties: | |
4114 Added cross_section translation, also cleanups (e.g. main values). | |
4115 | |
4116 2011-08-31 Ingo Weinzierl <ingo@intevation.de> | |
4117 | |
4118 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENJob.java: Marked | |
4119 required parameters with a comment. | |
4120 | |
4121 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: | |
4122 Export floodplains (german 'Talaue') to shapefile and write its file | |
4123 path into the WSPLGEN job. | |
4124 | |
4125 2011-08-31 Ingo Weinzierl <ingo@intevation.de> | |
4126 | |
4127 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: | |
4128 Search for a DGM that fits to the current river and km range and write | |
4129 its file path into the WSPLGEN job. | |
4130 | |
4131 2011-08-30 Ingo Weinzierl <ingo@intevation.de> | |
4132 | |
4133 * src/main/java/de/intevation/flys/utils/GeometryUtils.java: Improved | |
4134 exception handling: exceptions are catched in GeometryUtils now. | |
4135 | |
4136 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: | |
4137 Write river axis and crosssections to shapefiles and save shapefile | |
4138 pathes in WSPLGENJob. | |
4139 | |
4140 2011-08-30 Ingo Weinzierl <ingo@intevation.de> | |
4141 | |
4142 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: | |
4143 Use the coorect SRID for reading GeoJSON and writing line/polygon | |
4144 shapefiles. | |
4145 | |
4146 * src/main/java/de/intevation/flys/utils/GeometryUtils.java: Use a | |
4147 concrete coordinate system while feature type creation. | |
4148 | |
4149 2011-08-30 Ingo Weinzierl <ingo@intevation.de> | |
4150 | |
4151 * pom.xml: Added GeoTools 2.7.2 dependencies for Shapefile, GeoJSON and | |
4152 EPSG support. | |
4153 | |
4154 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENJob.java: Store | |
4155 'LIN' parameter in a list now. A WSPLGEN parameter might contain many | |
4156 LINs. | |
4157 | |
4158 * src/main/java/de/intevation/flys/utils/GeometryUtils.java: New functions | |
4159 to create FeatureTypes and to write shapefiles. | |
4160 | |
4161 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: | |
4162 Write user specified barriers into a shapefile placed in the artifact | |
4163 directory. | |
4164 | |
4165 2011-08-30 Ingo Weinzierl <ingo@intevation.de> | |
4166 | |
4167 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: Added a function | |
4168 that extracts the SRID defined in the global configuration file for a | |
4169 given river. | |
4170 | |
4171 * src/main/java/de/intevation/flys/artifacts/states/RiverAxisState.java: | |
4172 Removed the code that extracts the river SRID - use FLYSUtils instead. | |
4173 | |
4174 2011-08-29 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
4175 | |
4176 Use FLYSUtils.getRiver instead of WINFOArtifact.getRiver. | |
4177 | |
4178 * src/main/java/de/intevation/flys/exports/ChartGenerator.java: | |
4179 Use FLYSUtils.getRiver instead of WINFOArtifact.getRiver. | |
4180 | |
4181 2011-08-29 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
4182 | |
4183 Use FLYSUtils.getRiver instead of WINFOArtifact.getRiver. | |
4184 | |
4185 * src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java, | |
4186 src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java, | |
4187 src/main/java/de/intevation/flys/artifacts/states/WQSelect.java, | |
4188 src/main/java/de/intevation/flys/artifacts/states/DurationCurveState.java, | |
4189 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java: | |
4190 Use FLYSUtils.getRiver instead of WINFOArtifact.getRiver. | |
4191 | |
4192 2011-08-29 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
4193 | |
4194 Commit accidentally omitted result of refactoring (WINFO/FLYSUtils/getRiver). | |
4195 | |
4196 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
4197 Removed implementations of getRiver, update calls to use FLYSUtils. | |
4198 | |
4199 2011-08-29 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
4200 | |
4201 Interpolate Q main values, generate interpolated W main values on the fly from | |
4202 Q main values. | |
4203 | |
4204 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java: | |
4205 (getGaugeDatum): removed, obsolete | |
4206 (getLocation): new, gets location | |
4207 Use WstValueTable to look up interpolated Qs of MainValues. In absence of | |
4208 the same functionality for Ws, generate W Main Values from Q Main Values. | |
4209 | |
4210 2011-08-29 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
4211 | |
4212 Use new helper class FLYSUtils, minor refactorization. | |
4213 | |
4214 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java: | |
4215 Use new functionality of helper class, convenience of FLYSArtifact. | |
4216 | |
4217 2011-08-29 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
4218 | |
4219 Refactored to use new Helper class FLYSUtils, moved getRiver-functionality | |
4220 in there. | |
4221 | |
4222 * src/main/java/de/intevation/flys/utils/FLYSUtils.java (getRiver): | |
4223 New function to retrieve river of an artifact, slightly modified from | |
4224 WINFOArtifact. | |
4225 | |
4226 * src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java: | |
4227 Removed implementations of getRiver, update calls to use FLYSUtils. | |
4228 | |
4229 2011-08-29 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
4230 | |
4231 Minor cosmetics. | |
4232 | |
4233 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java: | |
4234 Resolved a TODO. | |
4235 | |
4236 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
4237 Added some documentation. | |
4238 | |
4239 * src/main/java/de/intevation/flys/artifacts/model/WMSLayerFacet.java: | |
4240 Minor cosmetic. | |
4241 | |
4242 2011-08-26 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
4243 | |
4244 * doc/conf/meta-data.xml: Made it Oracle compatible. | |
4245 | |
4246 * src/main/java/de/intevation/flys/artifacts/datacage/templating/CompiledStatement.java: | |
4247 If running in debug mode log executed statements. | |
4248 Helps debugging Oracle connections. | |
4249 | |
4250 2011-08-26 Ingo Weinzierl <ingo@intevation.de> | |
4251 | |
4252 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: | |
4253 Set some WSPLGENJob parameters which are stored at FLYSArtifact. | |
4254 | |
4255 2011-08-26 Ingo Weinzierl <ingo@intevation.de> | |
4256 | |
4257 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: New. This helper | |
4258 class should provide some basic FLYS stuff. Currently, there are functions | |
4259 that return the km range/location. | |
4260 | |
4261 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Removed | |
4262 the methods that return the km range/locations. This is implemented in | |
4263 FLYSUtils now. | |
4264 | |
4265 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java, | |
4266 src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java, | |
4267 src/main/java/de/intevation/flys/exports/ChartGenerator.java: Adapted | |
4268 the WINFO method calls to retrieve the km range/locations - call | |
4269 FLYSUtils now. | |
4270 | |
4271 2011-08-26 Ingo Weinzierl <ingo@intevation.de> | |
4272 | |
4273 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: New method | |
4274 to destroy a single state. | |
4275 | |
4276 2011-08-26 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
4277 | |
4278 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java: | |
4279 Cosmetic, remove debug output and comments, minor style adjustments. | |
4280 | |
4281 2011-08-26 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
4282 | |
4283 Added limited themeing-support for MainValues. | |
4284 | |
4285 * doc/conf/themes.xml: | |
4286 Added Q/W-MainValues themes. | |
4287 | |
4288 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java: | |
4289 Added limited theming support, add legend entry for main values. | |
4290 | |
4291 2011-08-26 Ingo Weinzierl <ingo@intevation.de> | |
4292 | |
4293 * doc/conf/conf.xml: Added a configuration node that points to the directory | |
4294 where shapefiles should be stored in. | |
4295 | |
4296 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENJob.java: New. | |
4297 This class is used to save/write the parameter for a WSPLGEN calculation. | |
4298 WSPLGEN's *.par files are written using the toFile() method. | |
4299 | |
4300 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: | |
4301 A directory for all WSPLGEN stuff is created in computeAdvance() - those | |
4302 directory and all its contained files are removed in endOfLife(). | |
4303 | |
4304 2011-08-26 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
4305 | |
4306 * src/main/java/de/intevation/flys/utils/ThemeUtil.java: | |
4307 New Util to work with theme-related stuff. | |
4308 | |
4309 2011-08-26 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
4310 | |
4311 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java: | |
4312 Use NamedDoubles instead of MainValues, try to adjust scale of Ws. | |
4313 | |
4314 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java: | |
4315 Use NamedDoubles instead of MainValues, generalize annotation handling, to | |
4316 allow easier reusability and themeing. | |
4317 | |
4318 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java: | |
4319 Added convenience constructor, exemplary switch on bordered text. | |
4320 | |
4321 2011-08-26 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
4322 | |
4323 * doc/conf/meta-data.xml: | |
4324 Recommend MainValues for Computed discharge curves. | |
4325 | |
4326 2011-08-26 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
4327 | |
4328 New NamedDouble class which implements a <String,double>-pair. | |
4329 | |
4330 * src/main/java/de/intevation/flys/artifacts/model/NamedDouble.java: | |
4331 New, implementation of a double with a string or vice versa. | |
4332 | |
4333 2011-08-26 Ingo Weinzierl <ingo@intevation.de> | |
4334 | |
4335 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Call | |
4336 State.endOfLife() for all States when endOfLife() of the Artifact is | |
4337 called. | |
4338 | |
4339 2011-08-26 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
4340 | |
4341 Also plot "W"-MainValues (on vertical axis), take correct parameters, but | |
4342 do not convert to correct scale (cm vs NN+m). | |
4343 | |
4344 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java: | |
4345 Naive attempt at allowing the vertical axis to be sticked at. | |
4346 | |
4347 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java: | |
4348 Store Q and W MainValues separately, add them to plot as annotations. | |
4349 | |
4350 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java: | |
4351 Serve the MainValues, parameterized on river and location, Q and W. | |
4352 Removed Facet-implementation. | |
4353 | |
4354 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: | |
4355 Updated Facet Types. | |
4356 | |
4357 * src/main/java/de/intevation/flys/artifacts/model/MainValuesQFacet.java: | |
4358 src/main/java/de/intevation/flys/artifacts/model/MainValuesWFacet.java: | |
4359 New, trivial facets, extracted from MainValuesArtifact. | |
4360 | |
4361 2011-08-26 Ingo Weinzierl <ingo@intevation.de> | |
4362 | |
4363 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Call | |
4364 State.endOfLife() of each State that is no longer in the queue of the | |
4365 artifact when this artifact steps back to a previous state. | |
4366 | |
4367 2011-08-25 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
4368 | |
4369 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java: | |
4370 Plot MainValues delivered by MainValuesFacet in much the same ways than | |
4371 Annotations in LongitudinalSection plots. | |
4372 | |
4373 2011-08-25 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
4374 | |
4375 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java: | |
4376 Prepare further differentiation between Annotations that stick to X or Y- | |
4377 Axis, copied some positioning logic into StickyAxisAnnotation | |
4378 implementation. | |
4379 | |
4380 2011-08-25 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
4381 | |
4382 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java: | |
4383 Minor cosmetics. | |
4384 | |
4385 2011-08-25 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
4386 | |
4387 Added MainValue-Fetching-Capabilities to MainValuesArtifact. | |
4388 | |
4389 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java | |
4390 (initialize, getMinValues): | |
4391 Let MainValuesArtifact return "real" MainValues, although ignorant of all | |
4392 parameterization. | |
4393 | |
4394 2011-08-25 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
4395 | |
4396 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java | |
4397 (MainValueFacet): | |
4398 Improved and straightened implementation, added code-Annotations and Todos. | |
4399 | |
4400 2011-08-25 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
4401 | |
4402 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java | |
4403 (MainValueFacet): | |
4404 Improved and straightened implementation, added code-Annotations and Todos. | |
4405 | |
4406 2011-08-25 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
4407 | |
4408 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java | |
4409 (getState): | |
4410 Resolved multiple creation of state (yet not very clean). | |
4411 | |
4412 2011-08-25 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
4413 | |
4414 * src/main/java/de/intevation/flys/artifacts/model/AnnotationFacet.java, | |
4415 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
4416 Cosmetics, docs. | |
4417 | |
4418 * src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java: | |
4419 Cosmetics. | |
4420 | |
4421 2011-08-25 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
4422 | |
4423 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: | |
4424 Added new (MainValues) Facet-Type. | |
4425 | |
4426 2011-08-24 Ingo Weinzierl <ingo@intevation.de> | |
4427 | |
4428 * src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java: | |
4429 Added a method that returns a River object based on its database id. | |
4430 | |
4431 * src/main/java/de/intevation/flys/artifacts/RiverAxisArtifact.java: The | |
4432 data that is required for this artifact is fetched from database instead | |
4433 from a Master-Artifact. The creation of static artifacts should use | |
4434 database ids instead of cloning a Master-Artifact. | |
4435 | |
4436 2011-08-24 Ingo Weinzierl <ingo@intevation.de> | |
4437 | |
4438 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java: | |
4439 Removed needless imports. | |
4440 | |
4441 2011-08-24 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
4442 | |
4443 Added configuration for factory and rule for MainValueArtifacts. | |
4444 | |
4445 * doc/conf.xml: | |
4446 Add a mainvalue factory to serve MainValueArtifacts. | |
4447 | |
4448 * doc/conf/meta-data.xml: | |
4449 Recomment mainvalue artifact when computed_discharge_curve can be put out. | |
4450 | |
4451 2011-08-24 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
4452 | |
4453 Let MainValuesArtifact have a state, outputmode and facet. | |
4454 | |
4455 * src/main/java/de/intevation/flys/artifacts/states/StaticState.java: | |
4456 New, a non-abstract DefaultState. | |
4457 | |
4458 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java: | |
4459 Progressed with implementation, use StaticState to hook output modes and | |
4460 facet in; use (Static)FLYSArtifact implementation. | |
4461 | |
4462 2011-08-24 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
4463 | |
4464 Smaller cosmetics. | |
4465 | |
4466 * src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java, | |
4467 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java: | |
4468 Cosmetics in comments. | |
4469 | |
4470 * src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java: | |
4471 Added @Override annotations. | |
4472 | |
4473 * src/main/java/de/intevation/flys/artifacts/model/DataFacet.java: | |
4474 Use brackets to improve readability of ternary operator. | |
4475 | |
4476 2011-08-24 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
4477 | |
4478 * doc/conf/meta-data.xml: Use "ids" in user specific part, too. | |
4479 | |
4480 2011-08-24 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
4481 | |
4482 * doc/conf/meta-data.xml: s/db-ids/ids/g to unify system and user specific | |
4483 loading. | |
4484 | |
4485 2011-08-24 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
4486 | |
4487 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
4488 Extracted access to state and states in order to have fewer places to | |
4489 modify when going for single/trivial state- artifacts. | |
4490 | |
4491 2011-08-24 Ingo Weinzierl <ingo@intevation.de> | |
4492 | |
4493 * src/main/java/de/intevation/flys/artifacts/states/WMSBackgroundState.java: | |
4494 Append the river's srid to the WMSLayerFacet. | |
4495 | |
4496 2011-08-24 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
4497 | |
4498 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java: | |
4499 Minor fixes, ressurect Facet implementation as inner class. | |
4500 | |
4501 2011-08-24 Ingo Weinzierl <ingo@intevation.de> | |
4502 | |
4503 * doc/conf/artifacts/winfo.xml: Moved the input of barriers one state | |
4504 earlier where the scenario is selected as well. | |
4505 | |
4506 * src/main/java/de/intevation/flys/artifacts/states/ScenarioSelect.java: | |
4507 This state now desires the "map_digitize" UI provider and returns both | |
4508 items "scenario" and "uesk.barriers" in the dynamic describe part. | |
4509 | |
4510 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: | |
4511 Removed the UI provider and the computeFeed() which is no longer needed, | |
4512 because there is no more user input in this state. | |
4513 | |
4514 2011-08-24 Ingo Weinzierl <ingo@intevation.de> | |
4515 | |
4516 * src/main/java/de/intevation/flys/artifacts/states/WMSBackgroundState.java, | |
4517 src/main/java/de/intevation/flys/artifacts/states/RiverAxisState.java: | |
4518 Repaired broken xpath expressions (the config changed in one of the last | |
4519 commits) and make use of the variable support in xpath expressions to | |
4520 replace the rivername. | |
4521 | |
4522 * src/main/java/de/intevation/flys/artifacts/WMSBackgroundArtifact.java: | |
4523 Save the rivername while initializing this artifact. This is now | |
4524 necessary, because each river can have its own background wms | |
4525 configured. | |
4526 | |
4527 2011-08-23 Ingo Weinzierl <ingo@intevation.de> | |
4528 | |
4529 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java: | |
4530 Repaired broken river-wms initialization. | |
4531 | |
4532 2011-08-23 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
4533 | |
4534 * src/main/java/de/intevation/flys/artifacts/model/WMSLayerFacet.java, | |
4535 src/main/java/de/intevation/flys/artifacts/model/DataFacet.java, | |
4536 src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java, | |
4537 src/main/java/de/intevation/flys/artifacts/model/ReportFacet.java, | |
4538 src/main/java/de/intevation/flys/artifacts/model/DurationCurveFacet.java, | |
4539 src/main/java/de/intevation/flys/artifacts/model/ManagedFacet.java, | |
4540 src/main/java/de/intevation/flys/artifacts/model/ManagedFacetAdapter.java, | |
4541 src/main/java/de/intevation/flys/artifacts/model/AnnotationFacet.java, | |
4542 src/main/java/de/intevation/flys/artifacts/model/WSPLGENFacet.java: | |
4543 Made facets cloneable with the right type. | |
4544 | |
4545 * src/main/java/de/intevation/flys/artifacts/services/MapInfoService.java, | |
4546 src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java: | |
4547 Removed superfluous imports. | |
4548 | |
4549 2011-08-23 Ingo Weinzierl <ingo@intevation.de> | |
4550 | |
4551 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
4552 Declare the first artifact of an output as master artifact (artifacts | |
4553 are ordered by their creation time). | |
4554 | |
4555 2011-08-23 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
4556 | |
4557 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java: | |
4558 Removed facet interface. | |
4559 | |
4560 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
4561 Make artifacts cloneable. TODO: Override deepCopy() in subclassed | |
4562 states and facets. | |
4563 | |
4564 2011-08-23 Ingo Weinzierl <ingo@intevation.de> | |
4565 | |
4566 * doc/conf/conf.xml: Added the MapInfoService and adapted the floodmap | |
4567 configuration. Now, each river can have its own background wms layer | |
4568 defined. | |
4569 | |
4570 * src/main/java/de/intevation/flys/artifacts/services/MapInfoService.java: | |
4571 New. This service returns some basic information used to create maps for | |
4572 a specific river. The name of the desired river needs to be defined at | |
4573 "/mapinfo/river/text()". | |
4574 | |
4575 * src/main/java/de/intevation/flys/artifacts/states/RiverAxisState.java: | |
4576 Adapted an xpath expression that points to the srid of a river in the | |
4577 floodmap configuration (which changed). | |
4578 | |
4579 2011-08-22 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
4580 | |
4581 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
4582 Build out/facet filter from XML document passed at creation time. | |
4583 | |
4584 2011-08-22 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
4585 | |
4586 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
4587 Added some code to filter outs/facets by an optional positive list. | |
4588 This is needed to only expose parts of the facets. This | |
4589 is needed for artifacts which are loaded into a collection. | |
4590 TODO: create the filter from the XML document passed at creation | |
4591 time. | |
4592 | |
4593 2011-08-22 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
4594 | |
4595 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Moved all | |
4596 WINFO specific code to WINFOArtifact. FLYSArtifact is now only revolving | |
4597 about state affairs. | |
4598 | |
4599 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Re-inserted | |
4600 the specific stuff here. | |
4601 | |
4602 * src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java, | |
4603 src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java, | |
4604 src/main/java/de/intevation/flys/artifacts/states/WQSelect.java, | |
4605 src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java, | |
4606 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java, | |
4607 src/main/java/de/intevation/flys/exports/ChartGenerator.java: | |
4608 Adjusted the casts. | |
4609 | |
4610 2011-08-22 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
4611 | |
4612 * doc/conf/meta-data.xml: Filter by outs in user template part. | |
4613 | |
4614 2011-08-22 Ingo Weinzierl <ingo@intevation.de> | |
4615 | |
4616 * doc/conf/artifacts/winfo.xml: Defined an input value for the GeoJSON | |
4617 string to save user defined barriers in the map. | |
4618 | |
4619 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: | |
4620 Added a computeFeed() method. In addition, this state now prefers the | |
4621 "noinput" UI provider. | |
4622 | |
4623 2011-08-19 Ingo Weinzierl <ingo@intevation.de> | |
4624 | |
4625 * doc/conf/conf.xml: Each river requires a SRID definition. This | |
4626 definition is used to transform the river's geometries into the desired | |
4627 projection. | |
4628 | |
4629 * src/main/java/de/intevation/flys/artifacts/model/WMSLayerFacet.java: | |
4630 This facets are able to save a SRID. | |
4631 | |
4632 * src/main/java/de/intevation/flys/artifacts/states/RiverAxisState.java: | |
4633 The extent that is written into the WMSLayerFacet is determined by the | |
4634 boundary of the geometry. | |
4635 | |
4636 * src/main/java/de/intevation/flys/utils/GeometryUtils.java: New. A | |
4637 utility class that provides helper functions for geometries. Currently, | |
4638 one function is defined, that creates a boundary string for OpenLayers. | |
4639 | |
4640 2011-08-19 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
4641 | |
4642 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java, | |
4643 src/main/java/de/intevation/flys/artifacts/states/DGMSelect.java, | |
4644 src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java, | |
4645 src/main/java/de/intevation/flys/artifacts/states/ProfileDistanceSelect.java, | |
4646 src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java, | |
4647 src/main/java/de/intevation/flys/artifacts/states/RangeState.java: | |
4648 Removed superfluous imports. | |
4649 | |
4650 2011-08-19 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
4651 | |
4652 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: | |
4653 Removed CallContext from state validation. It is not needed and hindered | |
4654 the extraction of all out of an artifact if you don't have a | |
4655 call context (like initial scan of datacage database). | |
4656 | |
4657 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java: | |
4658 Extract all outs now. | |
4659 | |
4660 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java, | |
4661 src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java, | |
4662 src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java, | |
4663 src/main/java/de/intevation/flys/artifacts/states/FloodplainChoice.java, | |
4664 src/main/java/de/intevation/flys/artifacts/states/ScenarioSelect.java, | |
4665 src/main/java/de/intevation/flys/artifacts/states/DGMSelect.java, | |
4666 src/main/java/de/intevation/flys/artifacts/states/LocationSelect.java, | |
4667 src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java, | |
4668 src/main/java/de/intevation/flys/artifacts/states/ProfileDistanceSelect.java, | |
4669 src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java, | |
4670 src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java, | |
4671 src/main/java/de/intevation/flys/artifacts/states/DefaultState.java, | |
4672 src/main/java/de/intevation/flys/artifacts/states/WQSelect.java, | |
4673 src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java, | |
4674 src/main/java/de/intevation/flys/artifacts/states/RangeState.java, | |
4675 src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java, | |
4676 src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java, | |
4677 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
4678 Adjusted calls. | |
4679 | |
4680 2011-08-19 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
4681 | |
4682 * src/main/resources/messages.properties, | |
4683 src/main/resources/messages_de_DE.properties, | |
4684 src/main/resources/messages_en.properties, | |
4685 src/main/resources/messages_de.properties: | |
4686 Added lacalization of "Streckenfavoriten". | |
4687 | |
4688 2011-08-19 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
4689 | |
4690 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: | |
4691 Picky white-space cosmetics. | |
4692 | |
4693 2011-08-19 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
4694 | |
4695 Added stub implementation of new MainValuesArtifact. | |
4696 | |
4697 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java: | |
4698 New. Stub implementation for new MainValuesArtifact. | |
4699 | |
4700 2011-08-19 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
4701 | |
4702 Fixed flys/issue262 | |
4703 | |
4704 * src/main/java/de/intevation/flys/artifacts/datacage/Recommendations.java: | |
4705 Unified user and system tempate. | |
4706 Looks for "/artifact-database/metadata/template/text()" | |
4707 in conf.xml. Defaults to "${artifacts.config.dir}/meta-data.xml". If user id is | |
4708 given its the default connection for contexts. | |
4709 | |
4710 * doc/conf/conf.xml: Adjusted | |
4711 * doc/conf/meta-data-system.xml, doc/conf/meta-data-user.xml: Deleted. | |
4712 * doc/conf/meta-data.xml: Unified version of user and system template. | |
4713 | |
4714 * src/main/java/de/intevation/flys/artifacts/datacage/templating/App.java: | |
4715 Adjusted the test program. | |
4716 | |
4717 2011-08-18 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
4718 | |
4719 Fixed flys/issue260 | |
4720 | |
4721 * doc/conf/meta-data-user.xml: Uses master_artifacts view now. | |
4722 | |
4723 2011-08-18 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
4724 | |
4725 * doc/conf/datacage.sql: Added view master_artifacts to select | |
4726 the master artifacts of the collections more easily. | |
4727 To upgrade existing database: | |
4728 | |
4729 CREATE VIEW master_artifacts AS | |
4730 SELECT a2.id AS id, | |
4731 a2.gid AS gid, | |
4732 a2.state AS state, | |
4733 a2.creation AS creation, | |
4734 ci2.collection_id AS collection_id | |
4735 FROM collection_items ci2 | |
4736 JOIN artifacts a2 | |
4737 ON ci2.artifact_id = a2.id | |
4738 JOIN (SELECT ci.collection_id AS c_id, | |
4739 MIN(a.creation) AS oldest_a | |
4740 FROM collection_items ci | |
4741 JOIN artifacts a | |
4742 ON ci.artifact_id = a.id | |
4743 GROUP BY ci.collection_id) o | |
4744 ON o.c_id = ci2.collection_id | |
4745 WHERE a2.creation = o.oldest_a; | |
4746 | |
4747 TODO: Use the view in the templates. | |
4748 | |
4749 2011-08-18 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
4750 | |
4751 * doc/conf/meta-data-user.xml: Removed state filter because it was broken. | |
4752 Simplified by joining two contexts. | |
4753 | |
4754 2011-08-18 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
4755 | |
4756 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java: | |
4757 Fix issues with lines of annotation when zoomed (wrong scale used). | |
4758 | |
4759 2011-08-18 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
4760 | |
4761 Added legend for annotations to LongitudinalSectionDiagram. | |
4762 | |
4763 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
4764 Added a pseudo-dataseries/collection to employ existing infrastructure for | |
4765 displaying localized label for Annotations (yet unthemed). | |
4766 | |
4767 * src/main/resources/messages.properties, | |
4768 src/main/resources/messages_de_DE.properties, | |
4769 src/main/resources/messages_en.properties, | |
4770 src/main/resources/messages_de.properties: | |
4771 Made label-string available for localization. | |
4772 | |
4773 2011-08-17 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
4774 | |
4775 Moved StickyAxisAnnotation into new package de.intevation.flys.jfree . | |
4776 | |
4777 * src/main/java/de/intevation/flys/exports/StickyAxisAnnotation.java: | |
4778 Deleted/moved to src/main/java/de/intevation/flys/jfree/ . | |
4779 | |
4780 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java: | |
4781 New/moved from src/main/java/de/intevation/flys/export/ , adjusted | |
4782 package statement, made class public. | |
4783 | |
4784 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
4785 Added import statement for de.intevation.flys.jfree.StickyAxisAnnotation . | |
4786 | |
4787 2011-08-17 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
4788 | |
4789 Extracted and renamed CustomAnnotation to StickyAxisAnnotation. Also removed | |
4790 needless imports. | |
4791 | |
4792 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java, | |
4793 src/main/java/de/intevation/flys/exports/StickyAxisAnnotation.java: | |
4794 Extracted class implementation CustomAnnotation and renamed to | |
4795 StickyAxisAnnotation. | |
4796 | |
4797 2011-08-17 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
4798 | |
4799 Improved CustomAnnotations and rendering thereof, now including an | |
4800 "axis mark" (little line at axis), also prepared possibility to put | |
4801 annotations on Y-axis. | |
4802 | |
4803 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
4804 Improved CustomAnnotation to include marks on the axis and better spacing | |
4805 from it. | |
4806 | |
4807 2011-08-17 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
4808 | |
4809 Implemented proof-of-concept collision-detection when drawing | |
4810 CustomAnnotations (text only). | |
4811 | |
4812 * src/main/java/de/intevation/flys/exports/ChartExportHelper.java: | |
4813 Pass a fresh ChartRenderingInfo-Object to createBufferedImage, such that | |
4814 information can be collected while rendering. | |
4815 | |
4816 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
4817 Exploit the fact that XYTextAnnotation already registers drawn shape in the | |
4818 ChartRenderingInfo if it exists and either an URL or tooltip is set. | |
4819 Before drawing, calculate own shape and compare against already registered | |
4820 shapes. | |
4821 | |
4822 2011-08-16 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
4823 | |
4824 Implemented (yet dummy) custom Annotation class. | |
4825 | |
4826 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
4827 Added implementation of yet dummy CustomAnnotation class. | |
4828 | |
4829 2011-08-16 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
4830 | |
4831 Slightly improved rendering of annotations. | |
4832 | |
4833 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
4834 Slightly improved rendering of annotations. Still no valid collision | |
4835 detection. Annotations are drawn every 2 km; first come first serve. | |
4836 | |
4837 2011-08-15 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
4838 | |
4839 Fix for flys/issue191 | |
4840 | |
4841 * src/main/java/de/intevation/flys/artifacts/model/WQ.java(longestIncreasingWRangeIndices): | |
4842 Added a method to find the longest index range with increasing w values. | |
4843 | |
4844 * src/main/java/de/intevation/flys/exports/ATWriter.java: Export the longest | |
4845 range of monotone increasing w values instead of the first one. | |
4846 TODO: The first line of the export is still broken. | |
4847 | |
4848 * src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java: | |
4849 Removed superfluous import. | |
4850 | |
4851 2011-08-12 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
4852 | |
4853 * src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java: | |
4854 Resolved two TODOs: get Annotations of selected River, get "point" | |
4855 Annotations only. | |
4856 | |
4857 2011-08-12 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
4858 | |
4859 Added functionality to query range and point-annotations only to | |
4860 AnnotationFactory. | |
4861 | |
4862 * src/main/java/de/intevation/flys/artifacts/model/AnnotationsFactory.java | |
4863 (getPointAnnotations, getAnnotationsBreadth): | |
4864 New functions to query breadth and point-only annotations. | |
4865 | |
4866 2011-08-11 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
4867 | |
4868 * src/main/java/de/intevation/flys/artifacts/datacage/Recommendations.java: | |
4869 Added a development mode for recommendations. Enabled with | |
4870 stetting system property 'flys.datacage.recommendations.development' to true. | |
4871 When set the XML template are re-read if the timestamps of the | |
4872 files have changed so you do not have to restart the server again and again. | |
4873 | |
4874 * doc/conf/meta-data-user.xml: Sort collections by creation time in descending order. | |
4875 | |
4876 2011-08-11 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
4877 | |
4878 Rather picky cosmetics only. | |
4879 | |
4880 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java, | |
4881 src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java, | |
4882 src/main/java/de/intevation/flys/artifacts/datacage/templating/Builder.java, | |
4883 src/main/java/de/intevation/flys/artifacts/datacage/Recommendations.java, | |
4884 src/main/java/de/intevation/flys/artifacts/model/WQKms.java, | |
4885 src/main/java/de/intevation/flys/artifacts/states/DefaultState.java, | |
4886 src/main/java/de/intevation/flys/artifacts/states/DurationCurveState.java, | |
4887 src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
4888 End comments on a full stop, separate from closing '*/' by whitespace, | |
4889 adjusted javadoc comments. | |
4890 | |
4891 2011-08-11 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
4892 | |
4893 Made Annotations visible in LongitudinalSection diagrams. | |
4894 | |
4895 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java, | |
4896 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
4897 Register new Facet Type, let LongitudinalSectionGenerator include | |
4898 Annotations in diagram (yet unfiltered and independent of river). | |
4899 | |
4900 2011-08-11 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
4901 | |
4902 * doc/conf/conf.xml, | |
4903 doc/conf/artifacts/annotation.xml, | |
4904 doc/conf/meta-data-system.xml: | |
4905 Added configuration for AnnotationArtifacts. | |
4906 | |
4907 2011-08-11 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
4908 | |
4909 Added demo- implementation of a AnnotationArtifact and its Facet. | |
4910 | |
4911 * src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java, | |
4912 src/main/java/de/intevation/flys/artifacts/model/AnnotationFacet.java, | |
4913 src/main/java/de/intevation/flys/artifacts/states/AnnotationRiverState.java: | |
4914 New. Initial version of an AnnotationArtifact and its State and Facet. | |
4915 | |
4916 2011-08-10 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
4917 | |
4918 * doc/conf/datacage.sql: Extended schema for artifacts and collections | |
4919 to have creation times, too. | |
4920 | |
4921 To update existing databases: | |
4922 | |
4923 ALTER TABLE artifacts ADD COLUMN creation TIMESTAMP NOT NULL DEFAULT current_timestamp; | |
4924 ALTER TABLE collections ADD COLUMN creation TIMESTAMP NOT NULL DEFAULT current_timestamp; | |
4925 | |
4926 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java: | |
4927 Store creation times for artifacts and collections, too. | |
4928 | |
4929 * src/main/resources/datacage-sql/org-h2-driver.properties, | |
4930 src/main/resources/datacage-sql/org-postgresql-driver.properties: | |
4931 Adjusted SQL statements. | |
4932 | |
4933 2011-08-10 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
4934 | |
4935 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java: | |
4936 Make it compilable again (BackendListener interface changed). | |
4937 | |
4938 2011-08-10 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
4939 | |
4940 * doc/conf/meta-data-user.xml: Added grouping element around w/q of each | |
4941 longitudinal section artifact. | |
4942 | |
4943 * src/main/java/de/intevation/flys/artifacts/datacage/templating/CompiledStatement.java, | |
4944 src/main/java/de/intevation/flys/artifacts/datacage/templating/StackFrames.java: | |
4945 Added some debugging capabilities. | |
4946 | |
4947 * src/main/java/de/intevation/flys/artifacts/datacage/templating/ResultData.java: | |
4948 Added isEmpty() method. | |
4949 | |
4950 * src/main/java/de/intevation/flys/artifacts/datacage/templating/Builder.java: | |
4951 Now it is possible to nest <dc:elements> into other elements in the <dc:context> | |
4952 body. This is useful and needed for grouping and repeating results. | |
4953 | |
4954 2011-08-10 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
4955 | |
4956 * src/main/java/de/intevation/flys/artifacts/datacage/Recommendations.java: | |
4957 User connection was cached, system was not. Lead to incorrect results. | |
4958 | |
4959 2011-08-09 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
4960 | |
4961 * doc/conf/meta-data-user.xml: Added <old_calculations> element | |
4962 around old calculations. | |
4963 | |
4964 2011-08-09 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
4965 | |
4966 * src/main/java/de/intevation/flys/artifacts/model/QRangeTree.java: | |
4967 Cosmetic: Replaced usage of legacy java.util.Stack with java.util.Deque. | |
4968 | |
4969 2011-08-04 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
4970 | |
4971 * doc/conf/meta-data-user.xml: Use 'CAST(x AS uuid)' instead of 'x::uuid' | |
4972 to be more compatible. | |
4973 | |
4974 2011-08-04 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
4975 | |
4976 * src/main/java/de/intevation/flys/artifacts/datacage/Recommendations.java: | |
4977 If given an artifact place its identifier into parameters passed to template. | |
4978 Fixed swapped user/system connections if using the user template. | |
4979 | |
4980 * doc/conf/meta-data-user.xml: Recommend w/q facet from old calculations | |
4981 if an artifact was given that represents a longitudinal section | |
4982 "Laengsschnitt". | |
4983 | |
4984 TODO I: The template uses PostgreSQL specific UUID casts. | |
4985 TODO II: We need to find a way only to recommend the master artifacts. | |
4986 | |
4987 2011-08-04 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
4988 | |
4989 * src/main/java/de/intevation/flys/artifacts/datacage/templating/Builder.java: | |
4990 Added a <dc:comment> tag to place comments in the meta data templates. | |
4991 <!-- ... --> comments are copied through. | |
4992 | |
4993 * doc/conf/meta-data-user.xml: Added a simple test. | |
4994 | |
4995 2011-08-04 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
4996 | |
4997 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java: | |
4998 Be a bit more tolerant about empty strings for UUIDs of artifact and user. | |
4999 | |
5000 2011-08-03 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5001 | |
5002 Bring user specific meta data service to life. | |
5003 | |
5004 * doc/conf/conf.xml: There are now two templates to configure: | |
5005 The system template (only the data from the backend) and the | |
5006 user template (the datcage db and the backend db), | |
5007 | |
5008 * doc/conf/meta-data-template.xml: Deleted. | |
5009 * doc/conf/meta-data-user.xml: New. The user specific template. TODO: Write it! | |
5010 * doc/conf/meta-data-system.xml: New. The system template. | |
5011 | |
5012 * src/main/java/de/intevation/flys/artifacts/datacage/templating/NoneUserSpecific.java: | |
5013 Deleted. | |
5014 * src/main/java/de/intevation/flys/artifacts/datacage/Recommendations.java: | |
5015 New. The logic to fill the templates. | |
5016 | |
5017 * src/main/java/de/intevation/flys/artifacts/CollectionMonitor.java: | |
5018 Adjusted to follow the new call signatures. | |
5019 | |
5020 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java: | |
5021 Refactored. Removed the old code and only leave the new service. Following | |
5022 XPaths are evaluated on the incomming document: | |
5023 | |
5024 "/art:meta/art:artifact-id/@value" The UUID of the artifact. Optional. | |
5025 Used to fill the template enviroment. | |
5026 "/art:meta/art:user-id/@value" The UUID of the user. Optional. | |
5027 If given the user specific template is filled. | |
5028 "/art:meta/art:outs/@value" The list of outs used to recommend for the | |
5029 various outputs. | |
5030 "/art:meta/art:parameters/@value" A list of key/value pairs to inject more | |
5031 filters to the templating. | |
5032 | |
5033 * src/main/java/de/intevation/flys/artifacts/datacage/templating/App.java: | |
5034 Change to follow the new recommendations semantics. | |
5035 | |
5036 * src/main/java/de/intevation/flys/artifacts/datacage/templating/Builder.java: | |
5037 Added symbolic constants to distinguish "user" and "system" db connections. | |
5038 | |
5039 2011-08-03 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
5040 | |
5041 * doc/conf/conf.xml: | |
5042 Cosmetics, let comments start with a capital and end on a full stop, | |
5043 removed incorrect comment. | |
5044 | |
5045 2011-08-03 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
5046 | |
5047 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
5048 Cosmetics, let comments start with a capital and end on a full stop. | |
5049 | |
5050 2011-08-03 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5051 | |
5052 * src/main/java/de/intevation/flys/artifacts/CollectionMonitor.java(extractOutputNames): | |
5053 Fixed potential NPE. | |
5054 | |
5055 2011-08-03 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5056 | |
5057 Added support for more than one db connection in datacage templating. | |
5058 | |
5059 * src/main/java/de/intevation/flys/artifacts/datacage/templating/Builder.java: | |
5060 Now you can pass a list of named db connections to the build process. | |
5061 The purpose is to mix more then one database (e.g. the backend db and | |
5062 the user specific one). | |
5063 | |
5064 To use this feature you can add an "connection" attribute | |
5065 to <dc:context> with the name of the connection to use. | |
5066 If no connection name is given the last used is used again. | |
5067 Initially the first connection in the given list is used. | |
5068 If the context is left the connection that was active before | |
5069 will be active again in a stacking manner. | |
5070 | |
5071 When creating NamedConnection objects you can set a boolean flag | |
5072 if the results coming from the connection should be cached. This | |
5073 is useful e.g. for the user specific database which runs in-memory | |
5074 so caching would introduce some superfluous overhead. | |
5075 | |
5076 * src/main/java/de/intevation/flys/artifacts/datacage/templating/CompiledStatement.java: | |
5077 When executing the queries explicitly pass if caching should be used. | |
5078 | |
5079 2011-08-02 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5080 | |
5081 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java: | |
5082 Forgot to fetch dialect dependent SQL statement for deleting | |
5083 artifacts by uuid. | |
5084 | |
5085 2011-08-02 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5086 | |
5087 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java: | |
5088 Set the name of the collections at initial scan, too. | |
5089 | |
5090 2011-08-02 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5091 | |
5092 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java: | |
5093 Fixed wrong SQL references. | |
5094 | |
5095 2011-08-02 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5096 | |
5097 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java: | |
5098 Fixed two NPEs. | |
5099 | |
5100 2011-08-02 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5101 | |
5102 * src/main/java/de/intevation/flys/artifacts/datacage/DatacageBackendListener.java, | |
5103 src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java: | |
5104 Forwarded kill collections and artifacts events to datacage. | |
5105 | |
5106 * src/main/resources/datacage-sql/org-h2-driver.properties, | |
5107 src/main/resources/datacage-sql/org-postgresql-driver.properties: | |
5108 Added statement to delete artifact by uuid. | |
5109 | |
5110 2011-08-02 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5111 | |
5112 * src/main/java/de/intevation/flys/artifacts/datacage/DatacageBackendListener.java: | |
5113 Made it compilable again. The signature of BackendListener has changed. | |
5114 | |
5115 2011-08-01 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5116 | |
5117 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java: | |
5118 Completed the backend listener stuff. | |
5119 | |
5120 TODO I: Added some cleanup for orphaned artifacts. | |
5121 TODO II: Figure out a way to delete collections/artifacts | |
5122 which are delete from backend without the | |
5123 backend API. | |
5124 | |
5125 * src/main/resources/datacage-sql/org-h2-driver.properties, | |
5126 src/main/resources/datacage-sql/org-postgresql-driver.properties: | |
5127 Added needed statements. | |
5128 | |
5129 2011-08-01 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5130 | |
5131 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java: | |
5132 Update collection names on change. Remove artifacts from collections. | |
5133 | |
5134 * src/main/resources/datacage-sql/org-h2-driver.properties, | |
5135 src/main/resources/datacage-sql/org-postgresql-driver.properties: | |
5136 Added needed statements. | |
5137 | |
5138 2011-08-01 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5139 | |
5140 * src/main/java/de/intevation/flys/artifacts/datacage/DatacageBackendListener.java: | |
5141 Call datacage with the global context. This is needed to access the state engine. | |
5142 | |
5143 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java: Changed | |
5144 signatures to take the global context, too. Create artifacts via backend listener | |
5145 interface. | |
5146 | |
5147 2011-08-01 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5148 | |
5149 * src/main/java/de/intevation/flys/artifacts/datacage/DatacageBackendListener.java: | |
5150 Fixed recursion bug. | |
5151 | |
5152 2011-08-01 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5153 | |
5154 * src/main/java/de/intevation/flys/artifacts/datacage/DatacageBackendListener.java: | |
5155 Added debug output. | |
5156 | |
5157 2011-08-01 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5158 | |
5159 * doc/conf/conf.xml: Added backend listener for datacage. | |
5160 | |
5161 * src/main/java/de/intevation/flys/artifacts/datacage/DatacageBackendListener.java: | |
5162 New. Proxies backend listener calls to datacage. | |
5163 | |
5164 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java: | |
5165 Implements backend listener. TODO: Update the datacage database | |
5166 according the change calls. | |
5167 | |
5168 2011-08-01 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5169 | |
5170 * src/main/java/de/intevation/flys/artifacts/services/meta, | |
5171 src/main/java/de/intevation/flys/artifacts/datacage/templating: | |
5172 Moved/renamed package to better fit the common semantics. | |
5173 DataCage.java is now call NoneUserSpecific.java to reflect the | |
5174 fact that it is the template for the user independent db | |
5175 analysis. | |
5176 | |
5177 * src/main/java/de/intevation/flys/artifacts/CollectionMonitor.java, | |
5178 src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java: | |
5179 Ajusted imports and calls. | |
5180 | |
5181 2011-08-01 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5182 | |
5183 * doc/conf/conf.xml: For documentation purposes added a out-commented | |
5184 section with the default configuration of the datacage. | |
5185 | |
5186 2011-07-31 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5187 | |
5188 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java: | |
5189 Delete the artifacts at before initial scan, too. They are independent | |
5190 from users. Fixed problem when writing state data content. | |
5191 | |
5192 * src/main/resources/datacage-sql/org-h2-driver.properties: Added | |
5193 statement to delete the artifacts at initial scan, too. | |
5194 | |
5195 * src/main/resources/datacage-sql/org-postgresql-driver.properties: | |
5196 New. PostgreSQL version of the statements. The database scheme | |
5197 is the same as H2. Very useful for debugging. | |
5198 | |
5199 2011-07-31 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5200 | |
5201 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java: | |
5202 Added kludge for the types of artifact data. They seem to be null | |
5203 in some circumstances. Needs to be debugged! | |
5204 | |
5205 2011-07-31 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5206 | |
5207 * src/main/java/de/intevation/flys/artifacts/datacage/DBConfig.java: | |
5208 Fixed default connection URL to use a namend in-mermory database. | |
5209 | |
5210 2011-07-31 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5211 | |
5212 * doc/conf/datacage.sql: Fixed constraint. | |
5213 | |
5214 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java: | |
5215 Added some debug output. | |
5216 | |
5217 2011-07-29 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5218 | |
5219 * doc/conf/datacage.sql: Removed artifact_id from facet because there | |
5220 is a link via out_id -> outs.id: artifact_id -> artifacts to | |
5221 find the corresponding artifact. | |
5222 | |
5223 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java, | |
5224 src/main/resources/datacage-sql/org-h2-driver.properties: Store | |
5225 facets of outs into datacage db at initial scan. | |
5226 | |
5227 2011-07-29 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5228 | |
5229 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java, | |
5230 src/main/resources/datacage-sql/org-h2-driver.properties: | |
5231 Store outs of artifacts into datacage db at initial scan. | |
5232 TODO: store facets. | |
5233 | |
5234 2011-07-29 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5235 | |
5236 * doc/conf/datacage.sql: Added 'type' column in artifacts data. | |
5237 Maybe useful for filtering. | |
5238 | |
5239 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java, | |
5240 src/main/resources/datacage-sql/org-h2-driver.properties: | |
5241 Store artifact data into db at initial scan. | |
5242 TODO: store outs and facets. | |
5243 | |
5244 2011-07-29 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5245 | |
5246 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java, | |
5247 src/main/resources/datacage-sql/org-h2-driver.properties: | |
5248 Add artifacts into datacage db at initial scan. | |
5249 TODO: Store data, outs and facets. | |
5250 | |
5251 2011-07-28 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5252 | |
5253 * doc/conf/datacage.sql: Fixed spelling in sequence name. | |
5254 | |
5255 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java, | |
5256 src/main/resources/datacage-sql/org-h2-driver.properties: Simply add | |
5257 collection item at initial scan if artifact was stored before. | |
5258 TODO: Store new artifacts. | |
5259 | |
5260 2011-07-28 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5261 | |
5262 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java, | |
5263 src/main/resources/datacage-sql/org-h2-driver.properties: Add | |
5264 collections at initial scan. | |
5265 | |
5266 2011-07-28 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5267 | |
5268 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java, | |
5269 src/main/resources/datacage-sql/org-h2-driver.properties: Add users | |
5270 at initial scan. | |
5271 | |
5272 2011-07-28 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5273 | |
5274 * doc/conf/datacage.sql: Using sequences for id generation now | |
5275 to make schema more compatible. | |
5276 | |
5277 2011-07-28 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5278 | |
5279 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java, | |
5280 src/main/resources/datacage-sql/org-h2-driver.properties: Clear database | |
5281 before initial scan. | |
5282 | |
5283 2011-07-28 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5284 | |
5285 * src/main/java/de/intevation/flys/artifacts/datacage/DBConnection.java: | |
5286 Deleted. This stuff comes from the artifact database now. | |
5287 | |
5288 * src/main/java/de/intevation/flys/artifacts/datacage/DBConfig.java: | |
5289 New. The db config of the datacage database. | |
5290 | |
5291 * src/main/resources/datacage-sql/org-h2-driver.properties: New. | |
5292 The SQL statements needed for the datacage. | |
5293 | |
5294 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java: | |
5295 Make use of the db config. | |
5296 | |
5297 2011-07-27 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5298 | |
5299 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java: | |
5300 New. A artifact database lifetime listener to build the initial | |
5301 index of the artifacts in database. | |
5302 | |
5303 * doc/conf/conf.xml: Added the datacage to the list of lifetime | |
5304 listeners. | |
5305 | |
5306 2011-07-27 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5307 | |
5308 * doc/conf/datacage.sql: Added an explicit table for the outs | |
5309 of an artifact. | |
5310 | |
5311 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
5312 Make the current outs of an artifact accessible only with | |
5313 the global context. | |
5314 | |
5315 2011-07-27 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5316 | |
5317 * doc/conf/datacage.sql: Added ON DELETE CASCADE constraints. | |
5318 Added state in facet. | |
5319 | |
5320 2011-07-26 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5321 | |
5322 * doc/conf/datacage.sql: New. H2 Schema for the datacage database. | |
5323 Uses special features like IDENTITY (autoincrement) typed columns. | |
5324 | |
5325 * src/main/java/de/intevation/flys/artifacts/datacage/DBConnection.java: | |
5326 Pooled connection. | |
5327 | |
5328 * pom.xml: Added dependencies to H2 and Apache DBCP. | |
5329 | |
5330 2011-07-26 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5331 | |
5332 * src/test/java/de/intevation/flys/artifacts/AppTest.java, | |
5333 src/main/java/de/intevation/flys/artifacts/App.java: Removed. | |
5334 This the stupid "Hello, World!" app initially created by the | |
5335 maven archetype. It was never used. | |
5336 | |
5337 2011-07-25 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5338 | |
5339 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java: | |
5340 Argh! Usage the DOM was not thread safe (discovered with ab). | |
5341 | |
5342 2011-07-25 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5343 | |
5344 * doc/conf/meta-data-template.xml: '$recommended' lead to XPath | |
5345 errors. Using "dc:contains($parameters, 'recommended')" helps. | |
5346 | |
5347 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java, | |
5348 src/main/java/de/intevation/flys/artifacts/services/meta/FunctionResolver.java: | |
5349 Added some debugging. | |
5350 | |
5351 * src/main/java/de/intevation/flys/artifacts/services/meta/DataCage.java: | |
5352 Added parameters as 'parameters' to parameters. Usefull to check | |
5353 for containment of variables. | |
5354 | |
5355 2011-07-25 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5356 | |
5357 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java: | |
5358 Added 'if log.isDebugEnabled() {}'. | |
5359 | |
5360 2011-07-25 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5361 | |
5362 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java: | |
5363 Made Artifact UUID optional and accept extra parameters, too. This enables | |
5364 the service to be used without an arttifact and test all filters. | |
5365 | |
5366 <art:meta xmlns:art="http://www.intevation.de/2009/artifacts"> | |
5367 <art:outs value="computed_discharge_curve,floodmap"/> | |
5368 <art:parameters value="river:Elbe"/> | |
5369 <art:filters value="recommended"/> | |
5370 </art:meta> | |
5371 | |
5372 * src/main/java/de/intevation/flys/artifacts/services/meta/FunctionResolver.java: | |
5373 'contain' accept Maps and collection, too. | |
5374 | |
5375 * src/main/java/de/intevation/flys/artifacts/services/meta/DataCage.java: | |
5376 Made artifact option (= null) in recommendations. | |
5377 | |
5378 2011-07-21 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5379 | |
5380 * src/main/java/de/intevation/flys/artifacts/services/meta/CompiledStatement.java: | |
5381 Moved connection specific into inner class. The enables the reuse of the | |
5382 compiled statement. | |
5383 | |
5384 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java: The | |
5385 SQL statements are now only compiled once at creation time of the builder. | |
5386 Each connection now reuses them. | |
5387 | |
5388 2011-07-21 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5389 | |
5390 * doc/conf/cache.xml: Added configuration for static datacage db access. | |
5391 | |
5392 * src/main/java/de/intevation/flys/artifacts/services/meta/App.java: Using | |
5393 caches seems to need an explicit System.exit(). | |
5394 | |
5395 * src/main/java/de/intevation/flys/artifacts/services/meta/CompiledStatement.java: | |
5396 Added support for caching the SQL statements and there results. | |
5397 | |
5398 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java: Some | |
5399 clean up. Reordered code for performance. Strip SQL statements more | |
5400 aggressively. | |
5401 | |
5402 * src/main/java/de/intevation/flys/artifacts/services/meta/ResultData.java: | |
5403 Made it Serializable. | |
5404 | |
5405 * src/main/java/de/intevation/flys/artifacts/cache/CacheFactory.java: | |
5406 Introduced system property 'flys.artifacts.cache.config.file' to make | |
5407 the caching configurable without pulling up the whole stack. | |
5408 | |
5409 2011-07-22 Ingo Weinzierl <ingo@intevation.de> | |
5410 | |
5411 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
5412 Prepared the FLYSArtifactCollection to support the storage of already | |
5413 loaded recommendations in its attribute document. | |
5414 | |
5415 2011-07-21 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5416 | |
5417 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java: | |
5418 Adjusted to use the DataCage recommendations. The incomming document | |
5419 can pass the artifacts UUID by '/art:outs/@value' the outs as a | |
5420 comma separated list in '/art:outs/@value' and optional a set of | |
5421 filters comma separated in '/art:filters/@value'. | |
5422 | |
5423 If UUID and OUTS are not given the old service is used. This | |
5424 should be removed as soon as the client uses the new service. | |
5425 | |
5426 2011-07-21 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5427 | |
5428 * src/main/java/de/intevation/flys/artifacts/services/meta/CompiledStatement.java: | |
5429 Allow '-' in variable names. | |
5430 | |
5431 2011-07-21 Ingo Weinzierl <ingo@intevation.de> | |
5432 | |
5433 * doc/conf/meta-data-template.xml: Now, the river-id is really added to | |
5434 the factory node of the wmsbackground layer. | |
5435 | |
5436 2011-07-21 Ingo Weinzierl <ingo@intevation.de> | |
5437 | |
5438 * doc/conf/meta-data-template.xml: Added the river-id to the factory node | |
5439 of the riveraxis and wmsbackground layer. | |
5440 | |
5441 2011-07-21 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5442 | |
5443 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java, | |
5444 src/main/java/de/intevation/flys/artifacts/services/MainValuesService.java, | |
5445 src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java, | |
5446 src/main/java/de/intevation/flys/artifacts/services/RiverService.java: | |
5447 Adjusted to implement changed Service interface. | |
5448 | |
5449 2011-07-21 Ingo Weinzierl <ingo@intevation.de> | |
5450 | |
5451 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Refactored | |
5452 the method that retrieves the Outputs for the Artifact. Now, we are able | |
5453 to query the Outputs for the current state, and all outputs separately. | |
5454 | |
5455 * src/main/java/de/intevation/flys/artifacts/CollectionMonitor.java: The | |
5456 recommendations provided by this monitor will take the Outputs of the | |
5457 current state only into account. | |
5458 | |
5459 2011-07-21 Ingo Weinzierl <ingo@intevation.de> | |
5460 | |
5461 * doc/conf/meta-data-template.xml: Added conditions for each output type. | |
5462 Splitted the "floodmap" output into two parts: a recommended one and a | |
5463 complete one. The recommended part will only build the document tree for | |
5464 the recommended artifacts; the complete part will build the whole document | |
5465 tree that is available for a floodmap. | |
5466 | |
5467 * src/main/java/de/intevation/flys/artifacts/CollectionMonitor.java: | |
5468 This Hook now uses the DataCage to generate the recommended artifacts. | |
5469 The output-defaults configurtion is needless now. | |
5470 | |
5471 * doc/conf/output-defaults.xml: Removed. The configuration of recommended | |
5472 artifacts takes place in meta-data-template.xml. | |
5473 | |
5474 * src/main/java/de/intevation/flys/artifacts/services/meta/DataCage.java: | |
5475 Bugfix: the DataCage didn't start working if its builder was NOT null, | |
5476 but it shouldn't start if the builder IS null. | |
5477 | |
5478 2011-07-21 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5479 | |
5480 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java: | |
5481 Now it is possible to directly pass a Node as a root to the builder. | |
5482 The owning document if fetch by Node.getOwnerDocument(). This is | |
5483 useful if you want to generate the recommendation directly into | |
5484 an already existing document under a given node. | |
5485 | |
5486 * src/main/java/de/intevation/flys/artifacts/services/meta/DataCage.java: | |
5487 Changed the signature of recommend() to accept a node where to | |
5488 append the recommendations. | |
5489 | |
5490 2011-07-20 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5491 | |
5492 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java: | |
5493 Added a macro mechanism: | |
5494 | |
5495 <dc:macro name="keine-fuenf"> | |
5496 <dc:text>'5' ist nicht in der Liste der Outs.</dc:text> | |
5497 </dc:macro> | |
5498 <dc:call-macro name="keine-fuenf"/> | |
5499 <dc:call-macro name="keine-fuenf"/> | |
5500 <dc:call-macro name="keine-fuenf"/> | |
5501 | |
5502 Macros can be defined everywhere in the template | |
5503 with 'macro'. There bodies can contain all valid elements | |
5504 including other 'macro's and 'call-macro's. They are | |
5505 called with their 'name' with 'call-macro'. The control flow | |
5506 is continued inside the body of the called macro and | |
5507 will continue right after the calling 'call-macro' when | |
5508 the macro body is finished. | |
5509 | |
5510 2011-07-20 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5511 | |
5512 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java: | |
5513 Added a new 'if' construct similiar to XSLT: | |
5514 | |
5515 <dc:if test="not(dc:contains($outs, '5'))"> | |
5516 <dc:text>'5' ist nicht in der Liste der Outs.</dc:text> | |
5517 </dc:if> | |
5518 | |
5519 The control flow is continued inside the 'if' if the 'test' attribute | |
5520 as an XPath expression on an empty document evalutes to true. | |
5521 Else the inside is skipped. There is no 'else'. Use 'choose'/'otherwise' | |
5522 if you need this. | |
5523 | |
5524 2011-07-20 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5525 | |
5526 * src/main/java/de/intevation/flys/artifacts/services/meta/DataCage.java: | |
5527 Added a recommend() method to generate recommendations for | |
5528 a given artifact, outs and extra parameters. | |
5529 | |
5530 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Added | |
5531 method to extract all data at once. | |
5532 | |
5533 2011-07-20 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5534 | |
5535 * src/main/java/de/intevation/flys/artifacts/services/meta/FunctionResolver.java: | |
5536 New. Custom XPath function provider. Provides | |
5537 'dc:contains(Object [] haystack, Object needle)' by now. Should be | |
5538 useful to check containments in 'out' lists later. | |
5539 | |
5540 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java: | |
5541 Register the FunctionResolver to the evaluated XPaths. | |
5542 | |
5543 * src/main/java/de/intevation/flys/artifacts/services/meta/App.java: | |
5544 Added code to parse | |
5545 "param:a,b,c" to "param" -> new String [] { "a", "b", "c" } to | |
5546 help testing the 'dc:contains' XPath function. | |
5547 | |
5548 2011-07-20 Ingo Weinzierl <ingo@intevation.de> | |
5549 | |
5550 * doc/conf/conf.xml: Added wms configurations for Saar, Mosel and Elbe. | |
5551 Each river supported by FLYS requires such a WMS configuration. A WMS | |
5552 should contain layers for the river axis, buildings, kilometer labels | |
5553 and maybe a background layer as well. | |
5554 | |
5555 * src/main/java/de/intevation/flys/artifacts/context/FLYSContext.java: | |
5556 Added key that is used to store a map of WMS URLs - for each river a | |
5557 WMS URL. | |
5558 | |
5559 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java: | |
5560 Parse the river WMS from global configuration. | |
5561 | |
5562 * src/main/java/de/intevation/flys/artifacts/states/RiverAxisState.java: | |
5563 Create WMSLayerFacets with URLs based on the river and the river wms | |
5564 configuration stored in the FLYSContext. | |
5565 | |
5566 * src/main/java/de/intevation/flys/artifacts/WMSBackgroundArtifact.java, | |
5567 src/main/java/de/intevation/flys/artifacts/RiverAxisArtifact.java: | |
5568 Adapted the initialize() signature and the method call of computeInit() | |
5569 which requires a FLYSContext to retrieve the river WMS configurations. | |
5570 | |
5571 * src/main/java/de/intevation/flys/artifacts/states/WMSBackgroundState.java, | |
5572 src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: | |
5573 Added the context object parameter to the computeInit() method. | |
5574 | |
5575 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Call | |
5576 initialize() with the context object - which is a FLYSContext or a | |
5577 CallContext. | |
5578 | |
5579 2011-07-20 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5580 | |
5581 * src/main/java/de/intevation/flys/artifacts/services/meta/App.java: | |
5582 Check if builder was created properly before using it. | |
5583 | |
5584 * src/main/java/de/intevation/flys/artifacts/services/meta/StackFrames.java: | |
5585 Implements now variable provider for XPath expressions. | |
5586 | |
5587 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java: | |
5588 Added new choose/when/otherwise construct similiar to XSLT | |
5589 | |
5590 <dc:choose> | |
5591 <dc:when test="$river = 'Mosel'"> | |
5592 <dc:text>Es ist die Mosel.</dc:text> | |
5593 </dc:when> | |
5594 <dc:when test="$river = 'Saar'"> | |
5595 <dc:text>Es ist die Saar.</dc:text> | |
5596 </dc:when> | |
5597 <dc:otherwise> | |
5598 <dc:text>Es ist weder Mosel noch Saar.</dc:text> | |
5599 </dc:otherwise> | |
5600 </dc:choose> | |
5601 | |
5602 A 'choose' block can contain a list of 'when's and an optional | |
5603 'otherwise'. For each 'when' the test attribute is evaluated | |
5604 as an XPath expression on an empty document. The result of | |
5605 the evaluation is taken as a boolean value. If its value is | |
5606 true the control flow is continued inside the corresponding | |
5607 'when' and the other choose elements are not tested. | |
5608 If the value is values the testing continues with the next | |
5609 'when'. If no 'test' expression is evaluated to true, the | |
5610 control flow continues inside the 'otherwise'. If no 'otherwise' | |
5611 is given nothing happens at all. | |
5612 | |
5613 2011-07-20 Ingo Weinzierl <ingo@intevation.de> | |
5614 | |
5615 * doc/conf/conf.xml: Added a config section for floodmaps. Currently, the | |
5616 background layer's url and layername is defined here. | |
5617 | |
5618 * src/main/java/de/intevation/flys/artifacts/states/WMSBackgroundState.java: | |
5619 Read the background layer configuration from conf.xml. Those values are | |
5620 used to create the WMSLayerFacet. | |
5621 | |
5622 2011-07-20 Ingo Weinzierl <ingo@intevation.de> | |
5623 | |
5624 * src/main/java/de/intevation/flys/artifacts/states/WMSBackgroundState.java: | |
5625 The background layer facet will no longer have an extent set. | |
5626 | |
5627 2011-07-20 Ingo Weinzierl <ingo@intevation.de> | |
5628 | |
5629 * src/main/java/de/intevation/flys/artifacts/states/WMSBackgroundState.java, | |
5630 src/main/java/de/intevation/flys/artifacts/states/RiverAxisState.java: | |
5631 Set the extent of the created WMSLayerFacets and i18n its descriptions. | |
5632 | |
5633 * src/main/resources/messages.properties, | |
5634 src/main/resources/messages_de_DE.properties, | |
5635 src/main/resources/messages_en.properties, | |
5636 src/main/resources/messages_de.properties: Added I18N strings for the | |
5637 background an river axis layer. | |
5638 | |
5639 2011-07-20 Ingo Weinzierl <ingo@intevation.de> | |
5640 | |
5641 * src/main/java/de/intevation/flys/artifacts/model/WMSLayerFacet.java: | |
5642 This facet type has a method to set the extent of a WMS layer. The | |
5643 extent is written to the facets XML node in toXML() as well. | |
5644 | |
5645 2011-07-20 Ingo Weinzierl <ingo@intevation.de> | |
5646 | |
5647 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Adapted | |
5648 the signature of setup() which requires a CallMeta parameter now. | |
5649 | |
5650 * src/main/java/de/intevation/flys/artifacts/WMSBackgroundArtifact.java, | |
5651 src/main/java/de/intevation/flys/artifacts/RiverAxisArtifact.java: Use | |
5652 the CallMeta object retrieved in setup() to call initialize(). It is now | |
5653 able to i18n things. | |
5654 | |
5655 2011-07-20 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5656 | |
5657 * src/main/java/de/intevation/flys/artifacts/services/meta/App.java: New. | |
5658 Standalone app to debug the datacage template. To use in a maven environment: | |
5659 | |
5660 -Dmeta.data.template=PATH_TO_META_DATA-TEMPLATE.XML \ | |
5661 -Dmeta.data.parameters=river:Mosel \ | |
5662 -Dmeta.data.output=OUTPUT.XML \ | |
5663 -Dflys.backend.user=DB_USER \ | |
5664 -Dflys.backend.password=DB_PASSWORD \ | |
5665 -Dflys.backend.url=DB_CONNECTION_URL \ | |
5666 -Dexec.mainClass=de.intevation.flys.artifacts.services.meta.App | |
5667 | |
5668 2011-07-20 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5669 | |
5670 * src/main/java/de/intevation/flys/artifacts/services/meta/DataCage.java: | |
5671 New. First step to factor out the "Datenkorb" logic into a service independent | |
5672 singleton. | |
5673 | |
5674 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java: | |
5675 Uses the "Datenkorb" singleton now. | |
5676 | |
5677 2011-07-20 Ingo Weinzierl <ingo@intevation.de> | |
5678 | |
5679 * src/main/java/de/intevation/flys/artifacts/model/ManagedFacet.java: | |
5680 Removed "index" property, because it is already existing in parent | |
5681 class. | |
5682 | |
5683 2011-07-19 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5684 | |
5685 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java: | |
5686 Improved error handling. | |
5687 | |
5688 2011-07-19 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5689 | |
5690 * src/main/resources/metadata/template.xml: Deleted. | |
5691 | |
5692 * doc/conf/meta-data-template.xml: New. Was template.xml | |
5693 | |
5694 * doc/conf/conf.xml: Made meta data template configurable. | |
5695 | |
5696 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java: | |
5697 Load template from configuration not from resources. | |
5698 | |
5699 2011-07-19 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5700 | |
5701 * src/main/resources/metadata/template.xml: s/[a-z]+-id/db-id/ | |
5702 Make database ids identifiable with unique name "db-id". | |
5703 | |
5704 2011-07-19 Ingo Weinzierl <ingo@intevation.de> | |
5705 | |
5706 * src/main/java/de/intevation/flys/artifacts/model/ManagedFacet.java: | |
5707 Override the toXML() method. Subclasses can now write their own XML | |
5708 representation. | |
5709 | |
5710 * src/main/java/de/intevation/flys/artifacts/model/ManagedDomFacet.java: | |
5711 New. This ManagedFacet uses an Element (DOM) to store the information | |
5712 about a facet. The intent of this facet type is to represent a facet | |
5713 stored in an Collection attribute. Different facets can have different | |
5714 attributes that we need to parse, but the only thing ManagedFacets need | |
5715 to do, is to adjust the attributes "active" and "position". So, those | |
5716 values are set directly on the Element, the other attributes aren't | |
5717 touched. | |
5718 | |
5719 * src/main/java/de/intevation/flys/artifacts/model/ManagedFacetAdapter.java: | |
5720 New. This facet is a wrapper for another facet. This subclass of a | |
5721 ManagedFacet overrides the toXML() method. The XML representation is | |
5722 defined by the inner facet that is stored as member variable. The | |
5723 ManagedFacet specific attributes "artifact", "facet", "pos" and "active" | |
5724 are added manually. | |
5725 | |
5726 * src/main/java/de/intevation/flys/collections/AttributeWriter.java: Uses | |
5727 the toXML() method to write a facet node into the attribute document. | |
5728 | |
5729 * src/main/java/de/intevation/flys/collections/AttributeParser.java: Uses | |
5730 the ManagedDomFacet to save the information of a facet which is | |
5731 contained in the attribute part of a Collection's DESCRIBE document. | |
5732 | |
5733 * src/main/java/de/intevation/flys/collections/OutputParser.java: Uses the | |
5734 ManagedFacetAdapter to save a facet, because we want to keep the | |
5735 specific facet to be able to write its specific XML representation into | |
5736 the Collection's DESCRIBE document. | |
5737 | |
5738 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
5739 Adapted the XPath of facets stored in the attribute part of the | |
5740 DESCRIBE. | |
5741 | |
5742 2011-07-18 Ingo Weinzierl <ingo@intevation.de> | |
5743 | |
5744 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Added a | |
5745 method that returns the Outputs for the Artifact. | |
5746 | |
5747 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
5748 Adapeted the call of OutputParser. | |
5749 | |
5750 * src/main/java/de/intevation/flys/collections/OutputParser.java: | |
5751 Simplified the code to read the Outputs of Artifacts. This parser will | |
5752 now longer parse the DESCRIBE documents of the Artifacts, but query the | |
5753 Outputs via FLYSArtifact.getOutputs() directly. | |
5754 | |
5755 2011-07-18 Ingo Weinzierl <ingo@intevation.de> | |
5756 | |
5757 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java, | |
5758 src/main/java/de/intevation/flys/artifacts/StaticFLYSArtifact.java: | |
5759 Adapted the function call of ProtocolUtils.appendOutputModes(). | |
5760 | |
5761 * src/main/java/de/intevation/flys/artifacts/model/WMSLayerFacet.java: | |
5762 Override toXML() to add the URL and layernames to the XML representation | |
5763 of this facet. | |
5764 | |
5765 2011-07-18 Ingo Weinzierl <ingo@intevation.de> | |
5766 | |
5767 * doc/conf/artifacts/wmsbackground.xml, | |
5768 doc/conf/artifacts/riveraxis.xml: New configurations for an Artifact | |
5769 that is used as background layer in floodmaps, and an artifact that is | |
5770 used as layer showing the river axis in a floodmap. | |
5771 | |
5772 * doc/conf/output-defaults.xml: New file to configure default artifacts | |
5773 for specific output states. E.g. the floodmap state recommends a | |
5774 background layer and a layer displaying the river axis. In suche case, | |
5775 the floodmap state recommends two artifacts for the two layers. | |
5776 | |
5777 * doc/conf/conf.xml: Added new artifacts/artifact-factories and a Hook to | |
5778 monitor artifacts (-> CollectionMonitor.java). | |
5779 | |
5780 * src/main/java/de/intevation/flys/artifacts/model/WMSLayerFacet.java: | |
5781 New. This facet is used to represent a layer in a map. So, this facet | |
5782 stores information about a WMS URL and the layer names provided by this | |
5783 WMS. | |
5784 | |
5785 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added | |
5786 facet types for the wmsbackground and riveraxis. | |
5787 | |
5788 * src/main/java/de/intevation/flys/artifacts/states/WMSBackgroundState.java, | |
5789 src/main/java/de/intevation/flys/artifacts/WMSBackgroundArtifact.java: | |
5790 New. An artifact and its default state. The intent of these classes is | |
5791 to generate WMSLayerFacets which represent background layers in maps. | |
5792 | |
5793 * src/main/java/de/intevation/flys/artifacts/states/RiverAxisState.java, | |
5794 src/main/java/de/intevation/flys/artifacts/RiverAxisArtifact.java: New. | |
5795 An artifact and its default state. The intent of these classes is to | |
5796 generate WMSLayerFacets which represent layers that display a river | |
5797 axis. | |
5798 | |
5799 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: | |
5800 Added the INIT ComputeType. | |
5801 | |
5802 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Added a | |
5803 case for the INIT ComputeType while computing data. | |
5804 | |
5805 2011-07-18 Ingo Weinzierl <ingo@intevation.de> | |
5806 | |
5807 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: | |
5808 Added a method computeInit() which is called to initialize data/facets | |
5809 after an artifact has been created. | |
5810 | |
5811 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Repaired | |
5812 broken XPath. | |
5813 | |
5814 2011-07-14 Ingo Weinzierl <ingo@intevation.de> | |
5815 | |
5816 * src/main/java/de/intevation/flys/artifacts/CollectionMonitor.java: | |
5817 Removed the code to generate new artifacts. Instead of creating new | |
5818 artifacts automatically, we decided to suggest creating new artifacts | |
5819 from specific types. Therefore, the DESCRIBE document of the artifacts | |
5820 is extended with a node that contains recommended artifact types. | |
5821 | |
5822 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
5823 FLYSArtifacts might be setup with the identifier of an other | |
5824 FLYSArtifact. Subclasses are able to override a method called | |
5825 initialize(Artifact, GlobalContext). This might be helpful to extract | |
5826 required values or clone artifacts. | |
5827 | |
5828 2011-07-14 Ingo Weinzierl <ingo@intevation.de> | |
5829 | |
5830 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java: | |
5831 Adapted the signature of createArtifactContext() - it returns an | |
5832 instance of GlobalContext now. | |
5833 | |
5834 2011-07-14 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5835 | |
5836 * src/main/java/de/intevation/flys/artifacts/geom/Lines.java: | |
5837 Debugged the water fill algorithm. Added a lot of logging. | |
5838 | |
5839 * src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java: | |
5840 Added a text field to give a water level to fill in. | |
5841 | |
5842 2011-07-14 Ingo Weinzierl <ingo@intevation.de> | |
5843 | |
5844 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java, | |
5845 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Moved code | |
5846 to create the output modes based on the given facets to FLYSArtifact. In | |
5847 addition, FLYSArtifact got a new method that returns a specific input | |
5848 value as string. | |
5849 | |
5850 * src/main/java/de/intevation/flys/artifacts/CollectionMonitor.java: New. | |
5851 This hook monitors the "post-feed" and "post-advance". If the monitored | |
5852 Artifact's state has configured recommended artifacts, this hook will | |
5853 create new Artifacts. | |
5854 | |
5855 TODO: We have to add the UUIDs of the new Artifacts to the DESCRIBE | |
5856 document of the artifact to let the client know, that there are new | |
5857 recommended Artifacts. | |
5858 | |
5859 * src/main/java/de/intevation/flys/artifacts/StaticFLYSArtifact.java: New. | |
5860 This Artifact is the base class for Artifacts, that represent static | |
5861 data. E.g. this could be a decoration theme in a chart or a background | |
5862 layer in the map. | |
5863 | |
5864 * src/main/java/de/intevation/flys/artifacts/states/OutputState.java: New. | |
5865 This state might be used as base class for states, that doesn't require | |
5866 any user input, but only provide static Facets added by a computeFeed() | |
5867 operation. So, subclasses need to implement computeFeed() only. | |
5868 | |
5869 2011-07-13 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5870 | |
5871 * src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java: | |
5872 New. Standalone Swing-App to test cross sections from database without the | |
5873 hassles of our complete software stack. Runnable from a maven environment: | |
5874 | |
5875 $ mvn -e \ | |
5876 -Dflys.backend.user=DB_USER \ | |
5877 -Dflys.backend.password=DB_PASSWD \ | |
5878 -Dflys.backend.url=DB_CONNECTION_URL \ | |
5879 -Dexec.mainClass=de.intevation.flys.artifacts.charts.CrossSectionApp \ | |
5880 exec:java | |
5881 | |
5882 You can set the river to be used with the system property 'river'. | |
5883 Defaults to 'Mosel'. | |
5884 | |
5885 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENFacet.java: | |
5886 Removed superfluous imports. | |
5887 | |
5888 2011-07-13 Ingo Weinzierl <ingo@intevation.de> | |
5889 | |
5890 * doc/conf/artifacts/winfo.xml: The FloodMapState has a new Outputmode | |
5891 called "floodmap" now. | |
5892 | |
5893 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENFacet.java: New. | |
5894 This facet is used to generate WSPLGEN results. | |
5895 | |
5896 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added | |
5897 the WSPLGENFacet. | |
5898 | |
5899 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: | |
5900 This state will now generate WSPLGENFacets. | |
5901 | |
5902 2011-07-12 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5903 | |
5904 * src/main/java/de/intevation/flys/artifacts/geom/Lines.java: | |
5905 Fixed corner case. | |
5906 | |
5907 2011-07-11 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5908 | |
5909 * src/main/java/de/intevation/flys/artifacts/geom/Lines.java: New. | |
5910 fillWater() generates a list of wet lines for a given profile and a | |
5911 given water level. | |
5912 | |
5913 2011-07-08 Ingo Weinzierl <ingo@intevation.de> | |
5914 | |
5915 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: The | |
5916 Outputs created while generating the DESCRIBE document will now have the | |
5917 'type' member set. | |
5918 | |
5919 * src/main/java/de/intevation/flys/collections/OutputParser.java: Read the | |
5920 'type' member from DESCRIBE document. | |
5921 | |
5922 2011-07-06 Ingo Weinzierl <ingo@intevation.de> | |
5923 | |
5924 * doc/conf/artifacts/winfo.xml: Removed a typo. | |
5925 | |
5926 2011-07-06 Ingo Weinzierl <ingo@intevation.de> | |
5927 | |
5928 * src/main/java/de/intevation/flys/artifacts/model/DataFacet.java: | |
5929 DataFacet are now able to store the ID of the state which has created | |
5930 this Facet. | |
5931 | |
5932 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java: | |
5933 Initialize DataFacets with the ID of this state. This is necessary to | |
5934 renew the waterlevel data if it is no longer existing in the cache. | |
5935 | |
5936 2011-07-06 Ingo Weinzierl <ingo@intevation.de> | |
5937 | |
5938 * src/main/java/de/intevation/flys/artifacts/model/ReportFacet.java: A | |
5939 report facet can now store the state's id and the artifact's hash value | |
5940 when it has been created. | |
5941 | |
5942 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java: | |
5943 Initialize the ReportFacet and WaterlevelFacet with state id and hash | |
5944 information. This has been necessary to retrieve reports and waterlevels | |
5945 in states after this one - in states that we need to enter for floodmap | |
5946 parameterization. | |
5947 | |
5948 2011-07-05 Ingo Weinzierl <ingo@intevation.de> | |
5949 | |
5950 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelGroundDifferences.java: | |
5951 Changed the desired UI provider. | |
5952 | |
5953 2011-07-05 Ingo Weinzierl <ingo@intevation.de> | |
5954 | |
5955 * doc/conf/artifacts/winfo.xml: Added the option to continue the | |
5956 waterlevel parameterization with the intent to create flood maps. | |
5957 | |
5958 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java: | |
5959 This state is no longer a final state. The user has the option to | |
5960 continue with the parameterization for flood maps based on the current | |
5961 waterlevel. Therefore, this states desires the "continue" UI provider. | |
5962 Clients should recognice this to just step to the next state or display | |
5963 a button that lets the user step to the next state manually. | |
5964 | |
5965 * src/main/java/de/intevation/flys/artifacts/states/FloodplainChoice.java, | |
5966 src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java, | |
5967 src/main/java/de/intevation/flys/artifacts/states/ScenarioSelect.java, | |
5968 src/main/java/de/intevation/flys/artifacts/states/DGMSelect.java, | |
5969 src/main/java/de/intevation/flys/artifacts/states/ProfileDistanceSelect.java, | |
5970 src/main/java/de/intevation/flys/artifacts/states/WaterlevelGroundDifferences.java: | |
5971 New. These states are used to parameterize a further calculation type: | |
5972 flood map. | |
5973 | |
5974 * src/main/resources/messages.properties, | |
5975 src/main/resources/messages_de_DE.properties, | |
5976 src/main/resources/messages_en.properties, | |
5977 src/main/resources/messages_de.properties: Required strings for the | |
5978 flood maps states. | |
5979 | |
5980 2011-07-04 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5981 | |
5982 Fix(?) for flys/issue114 | |
5983 | |
5984 * src/main/java/de/intevation/flys/artifacts/model/WQ.java: | |
5985 Make guessing a bit more robust. | |
5986 | |
5987 2011-07-03 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5988 | |
5989 Added the math needed to calculate "W-Differenzen" in "Laengsschnitten". | |
5990 Needs testing! | |
5991 | |
5992 * src/main/java/de/intevation/flys/artifacts/model/NamedObject.java: | |
5993 Made it an interface to be usable in more than one inheritance chain. | |
5994 | |
5995 * src/main/java/de/intevation/flys/artifacts/model/NamedObjectImpl.java: | |
5996 Implements the NamedObject interface and is the new base class of | |
5997 WQ and WKmsImpl. | |
5998 | |
5999 * src/main/java/de/intevation/flys/artifacts/model/WKms.java: | |
6000 New. Interface to associate kms with ws. | |
6001 | |
6002 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java: | |
6003 Changed the base class to NamedObjectImpl. Renamed getKms(int) | |
6004 to getKm(int) to make clear it return a single scalar value | |
6005 and fullfil the WKms interface. | |
6006 | |
6007 * src/main/java/de/intevation/flys/artifacts/model/WKmsImpl.java: | |
6008 New. Implements the WKms interface. Intended to be a lightweight | |
6009 datastore for "zusaetzliche Laengsschnitte" and as results | |
6010 of the WKmsOperations. | |
6011 | |
6012 * src/main/java/de/intevation/flys/artifacts/model/WQ.java: | |
6013 Changed base class to NamedObjectImpl. | |
6014 | |
6015 * src/main/java/de/intevation/flys/artifacts/math/WKmsOperation.java: | |
6016 New. Operations on WKms data. | |
6017 Currently only the SUBTRACTION operation is implemented. This | |
6018 one is needed to calculate the "W-Differenzen". The operation | |
6019 is insensitive about the km directions of the datasets. Missing | |
6020 values are interpolated linear. | |
6021 | |
6022 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java, | |
6023 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
6024 Adjusted to satisfy the signature change of WQKMs. | |
6025 | |
6026 2011-07-01 Ingo Weinzierl <ingo@intevation.de> | |
6027 | |
6028 * src/main/java/de/intevation/flys/exports/StyledXYSeries.java: New. This | |
6029 XYSeries stores the style information that should be used to render this | |
6030 series. These information are stored as raw XML documents. A public | |
6031 method can be used to apply those style information to a | |
6032 XYLineAndShapeRenderer. | |
6033 | |
6034 Note: The only two attributes currently supported by StyledXYSeries | |
6035 items are "linesize" and "linecolor". | |
6036 | |
6037 * doc/conf/themes.xml: Added some more basic themes for the four | |
6038 calculation methods. | |
6039 | |
6040 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: This | |
6041 generator now tries to apply themes for all series contained in the | |
6042 chart. If a series is no instance of StyledXYSeries, the default | |
6043 renderer is used. | |
6044 | |
6045 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java, | |
6046 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java, | |
6047 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java, | |
6048 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java, | |
6049 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
6050 Removed the code that had been introduced to adapt renderers statically. | |
6051 Now, each of these concrete ChartGenerators instantiates StyledXYSeries | |
6052 items to put the curves into the chart. Those items contain style | |
6053 information now! | |
6054 | |
6055 2011-07-01 Ingo Weinzierl <ingo@intevation.de> | |
6056 | |
6057 flys/issue135 (Diagramm: Trotz abgeschalteter Themen bleiben Beschriftungen bestehen) | |
6058 | |
6059 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: The way | |
6060 to store datasets has changed. Until this revision, the concrete | |
6061 generators managed their own datasets. E.g. the | |
6062 DischargeLongitudinalSectionGenerator had three datasets: w, q and | |
6063 corrected w. Now, there are just two datasets, managed by this base | |
6064 generator - one dataset for the first Y axis and one dataset for the | |
6065 second Y axis. This makes it easier to remove axes, that have no data to | |
6066 be displayed. All concrete chart generators have to add their XYSeries | |
6067 using two methods: addFirstAxisSeries() and addSecondAxisSeries(). | |
6068 | |
6069 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java, | |
6070 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java, | |
6071 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java, | |
6072 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java, | |
6073 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
6074 Those concrete chart generators no longer manage datasets themself but | |
6075 they use the two methods described above, to plot the data to the first | |
6076 or second Y axis. | |
6077 | |
6078 2011-07-01 Ingo Weinzierl <ingo@intevation.de> | |
6079 | |
6080 * src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java: | |
6081 Added the option to use a filter to reduce the number of items returned | |
6082 by this service. | |
6083 | |
6084 2011-06-30 Ingo Weinzierl <ingo@intevation.de> | |
6085 | |
6086 flys/issue159 (WINFO: Radiobutton - Ortsauswahl bei "W für ungleichwertigen Abflusslängsschnitt" entfernen) | |
6087 | |
6088 * doc/conf/artifacts/winfo.xml: Changed the kilometer range input for | |
6089 calculation 4. This calculation type requires a kilometer range. So, | |
6090 after choosing the calculation 4, the transition model leads to a state | |
6091 that just allows the input of a kilometer range with no option to | |
6092 enter locations. | |
6093 | |
6094 * src/main/java/de/intevation/flys/artifacts/states/ComputationRangeState.java: | |
6095 New. A base state for the kilometer selection for calculations. The | |
6096 target of this state is to provide facets for the duration curves. | |
6097 | |
6098 * src/main/java/de/intevation/flys/artifacts/states/DistanceSelect.java: | |
6099 New. This state is used to enter a kilometer range. The difference to | |
6100 the LocationDistanceSelect state is, that there is no option to enter | |
6101 locations. | |
6102 | |
6103 * src/main/java/de/intevation/flys/artifacts/states/RangeState.java: | |
6104 Improved this state to be the base state for calculation ranges. | |
6105 | |
6106 * src/main/java/de/intevation/flys/artifacts/states/LocationSelect.java | |
6107 src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java | |
6108 | |
6109 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java: This | |
6110 state no longer inherits from RangeState which now is used as base | |
6111 state for kilometer ranges. | |
6112 | |
6113 * src/main/resources/messages.properties, | |
6114 src/main/resources/messages_de_DE.properties, | |
6115 src/main/resources/messages_en.properties, | |
6116 src/main/resources/messages_de.properties: Added new i18n strings for | |
6117 the DistanceSelect state. | |
6118 | |
6119 2011-06-28 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6120 | |
6121 * pom.xml: Downgraded Trove to 1.1-beta-5, because the new | |
6122 later ones are removed from the maven repos. | |
6123 | |
6124 The functionality we need is in 1.1 so this downgrade should | |
6125 cause no problems. | |
6126 | |
6127 Would be nice if we would support the maintainers of trove to | |
6128 bring there new versions back into the main maven repos. | |
6129 | |
6130 2011-06-28 Ingo Weinzierl <ingo@intevation.de> | |
6131 | |
6132 * pom.xml: Repaired the JBoss repository which place has changed. | |
6133 | |
6134 2011-06-28 Ingo Weinzierl <ingo@intevation.de> | |
6135 | |
6136 Tagged RELEASE 2.4 | |
6137 | |
6138 2011-06-27 Ingo Weinzierl <ingo@intevation.de> | |
6139 | |
6140 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java, | |
6141 src/main/java/de/intevation/flys/exports/WstWriter.java: | |
6142 Append the corrected W column (if existing) to the WST export. | |
6143 | |
6144 2011-06-27 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6145 | |
6146 * src/main/java/de/intevation/flys/artifacts/model/WQ.java: | |
6147 Guessing increaing w is not based on direct neighbors any more. | |
6148 The second to be compared with is choosen by random of | |
6149 the values before the first one. This makes the guessing | |
6150 more robust against 'plateaus' of equal w values. | |
6151 | |
6152 2011-06-27 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6153 | |
6154 * src/main/java/de/intevation/flys/exports/ATWriter.java: Array | |
6155 for constructing the spline was too large leading to non-increasing | |
6156 values. | |
6157 | |
6158 2011-06-27 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6159 | |
6160 Fix for flys/issue150 | |
6161 | |
6162 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java, | |
6163 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
6164 Invert the x axis if its guessed that water is increasing. | |
6165 | |
6166 2011-06-27 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6167 | |
6168 * src/main/java/de/intevation/flys/artifacts/model/WQ.java(guessWaterIncreasing): | |
6169 Added a method to guess based on a given factor of the size (default 0.05) | |
6170 if the water levels are increasing. Needed to determine in which direction | |
6171 the water level curve should be orientated. Based on random to avoid | |
6172 running over large dataset each time a diagram is generated. | |
6173 | |
6174 2011-06-27 Ingo Weinzierl <ingo@intevation.de> | |
6175 | |
6176 flys/issue177 (WINFO: Abflusskurven am Pegel verursachen ein Hängen des Servers) | |
6177 | |
6178 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java: | |
6179 Commented out code to generate time ranges for series names. There | |
6180 seems to be a problem while loading the discharge tables of a gauge or | |
6181 while determining the start and/or end time of such discharge tables. | |
6182 | |
6183 2011-06-26 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6184 | |
6185 * src/main/java/de/intevation/flys/**/*.java: Removed trailing whitespace. | |
6186 | |
6187 2011-06-26 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6188 | |
6189 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
6190 Removed dead code. | |
6191 | |
6192 2011-06-26 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6193 | |
6194 Fix for flys/issue173 | |
6195 | |
6196 * src/main/java/de/intevation/flys/artifacts/model/Calculation4.java: | |
6197 Fixed the way the gauge was found for a given interval. | |
6198 The old way does not work because it was just tested if | |
6199 the station point was inside the segments which is not | |
6200 necessarily true. The obvious solution to simply check | |
6201 the overlapping intervals does not work either because | |
6202 the gauge ranges touch each other and so more than | |
6203 one gauge are returned in these cases. The River.maxOverlap() | |
6204 is now used to find the gauge with the max overlapping | |
6205 range. | |
6206 | |
6207 2011-06-26 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6208 | |
6209 Fix for flys/issue147 | |
6210 | |
6211 * src/main/java/de/intevation/flys/artifacts/model/Calculation1.java: | |
6212 Removed the 'kmUp' flag. It was an left over from former | |
6213 WSP calculations (w/o ref km) leading to wrong results now. | |
6214 | |
6215 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
6216 Don't pass the kmUp flag to the calculation. | |
6217 | |
6218 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
6219 Added debug output to see the value of 'wq_free'. | |
6220 | |
6221 2011-06-26 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6222 | |
6223 Fix for flys/issue86 | |
6224 | |
6225 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
6226 The reference gauge for calculations "am Pegel" was determined | |
6227 wrong. | |
6228 | |
6229 2011-06-25 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6230 | |
6231 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java: | |
6232 Conversion w->q was broken. This should fix a number of issues | |
6233 around "W am Pegel" calculations. | |
6234 | |
6235 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
6236 Issue an error report if a w->q conversion fails. | |
6237 | |
6238 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
6239 The gauge to convert w->q with its discharge table was determined wrong. | |
6240 | |
6241 2011-06-24 Ingo Weinzierl <ingo@intevation.de> | |
6242 | |
6243 flys/issue174 (Diagramm: Q-Linie wird bei initialem Laden des Diagramms | |
6244 anders dargestellt als bei Ansicht auf gesamten Wertebereich) | |
6245 | |
6246 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
6247 The chart will now have upper margins again. | |
6248 | |
6249 2011-06-24 Ingo Weinzierl <ingo@intevation.de> | |
6250 | |
6251 flys/issue172 (Diagramm: Ursprung der Diagramme bei Dauerzahlen) | |
6252 | |
6253 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java: | |
6254 Charts of this type will have the lower X value set to "0". | |
6255 | |
6256 2011-06-23 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6257 | |
6258 * src/main/java/de/intevation/flys/exports/ATWriter.java: | |
6259 Results are now in cm. Made it more robust against corner cases. | |
6260 | |
6261 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java: | |
6262 Removed superfluous import. | |
6263 | |
6264 2011-06-23 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6265 | |
6266 * doc/conf/artifacts/winfo.xml, doc/conf/conf.xml: | |
6267 Added facet config for AT exports. | |
6268 | |
6269 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: | |
6270 Added 'at' facet type. | |
6271 | |
6272 * src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java: | |
6273 Generate AT facets. | |
6274 | |
6275 2011-06-23 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6276 | |
6277 * src/main/java/de/intevation/flys/exports/ATExporter.java: New. | |
6278 Exporter for AT facets. Needs testing. | |
6279 | |
6280 2011-06-23 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6281 | |
6282 * src/main/java/de/intevation/flys/exports/ATWriter.java: New. | |
6283 Writer for AT files. New code because our data model differs | |
6284 from Desktop-FLYS. Needs testing. | |
6285 | |
6286 2011-06-23 Ingo Weinzierl <ingo@intevation.de> | |
6287 | |
6288 flys/issue157 (Diagramm: Ursprung berechnete Abflusskurve) | |
6289 | |
6290 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java, | |
6291 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java: | |
6292 Moved the method that adjusts the X-axis to include the "0" value from | |
6293 ComputedDischargeCurveGenerator to DischargeCurveGenerator. Now, both | |
6294 charts will include the "0" on the X-axis. | |
6295 | |
6296 2011-06-23 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6297 | |
6298 * src/main/java/de/intevation/flys/artifacts/model/WQDay.java: | |
6299 Based on WQ now to make it exportable as AT. | |
6300 | |
6301 2011-06-23 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6302 | |
6303 * src/main/java/de/intevation/flys/artifacts/model/WQ.java: | |
6304 New. Base class for WQKms. | |
6305 | |
6306 TODO 1: make it a base class for WQDay, too, | |
6307 TODO 2: Generate instances of WQ instead of WQKms in "Abflusskurven" | |
6308 calculations. This will save memory. | |
6309 | |
6310 AT exporter will get instances of this class as data model | |
6311 | |
6312 * src/main/java/de/intevation/flys/artifacts/model/NamedObject.java: | |
6313 Add default constructor to ease inheritance. | |
6314 | |
6315 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java: | |
6316 Based on WQ now. Removed code allready defined in base class. | |
6317 | |
6318 2011-06-23 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6319 | |
6320 * doc/conf/artifacts/winfo.xml: Add TODOs for error reports | |
6321 of "Abflusskurven am Pegel". Maybe we don't need them? | |
6322 | |
6323 * doc/conf/conf.xml: Configure report for each calculated output type. | |
6324 | |
6325 2011-06-22 Ingo Weinzierl <ingo@intevation.de> | |
6326 | |
6327 flys/issue164 (Berechnung 4: Umgekehrtes Berechnungsintervall führt zur) | |
6328 | |
6329 * src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java: | |
6330 Create the items with range information for W and Q which allows the | |
6331 client to validate the user inserted values. | |
6332 | |
6333 2011-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6334 | |
6335 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
6336 Arguments in filling datastructure were flip. Now | |
6337 the "Abflusskurve am Pegel" looks correct again. | |
6338 | |
6339 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java: | |
6340 Removed superfluous imports. | |
6341 | |
6342 2011-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6343 | |
6344 Improved situtation on rendering "Abflusskurve am Pegel". Not | |
6345 fully working, yet. | |
6346 | |
6347 * doc/conf/artifacts/winfo.xml: Generate facets for the location path, too. | |
6348 | |
6349 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Misspelled | |
6350 the facet which prevented the facets from being to the outputs. | |
6351 | |
6352 * src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java: | |
6353 Extended to store the hash and the state id of the producing artifact/state | |
6354 else it results in NPEs because the data is calculated on later (wrong) states. | |
6355 | |
6356 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java: | |
6357 Store the state id and the hash in the facet, too. | |
6358 | |
6359 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Add two | |
6360 method to do calculations for a state the artifact is currently not in | |
6361 and fetching the current state id. | |
6362 | |
6363 2011-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6364 | |
6365 * doc/conf/artifacts/winfo.xml: Generate facets for "Abflusskurven am Pegel" | |
6366 Not working by now. :-/ | |
6367 | |
6368 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: New facet type | |
6369 for "Abflusskurven am Pegel" | |
6370 | |
6371 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Do calculation | |
6372 in the artifact not in the output generator. | |
6373 | |
6374 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java: | |
6375 Generate the new facets. | |
6376 | |
6377 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java: | |
6378 Fetch data from facet. | |
6379 | |
6380 2011-06-22 Ingo Weinzierl <ingo@intevation.de> | |
6381 | |
6382 flys/issue161 (Diagramm: Q-Achse in W-Längsschnitten immer bei Q=0) | |
6383 | |
6384 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
6385 The Q axis (which is the second y axis) initially contains the 0 value. | |
6386 After a zoom action has taken place, this behaviour is no longer | |
6387 supported. | |
6388 | |
6389 2011-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6390 | |
6391 Draw correction curve again. | |
6392 | |
6393 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java: | |
6394 Use correction curve to map plot to axes. Not doing so prevented | |
6395 the correction curve from being drawn! | |
6396 Smaller code cleanups and simplifications. | |
6397 | |
6398 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java, | |
6399 src/main/java/de/intevation/flys/artifacts/model/WQCKms.java: | |
6400 Added methods to directly access the components w, q and c | |
6401 at a given index. | |
6402 | |
6403 * src/main/java/de/intevation/flys/exports/ChartGenerator.java: | |
6404 Attribute access via DOM instead of XPath. | |
6405 | |
6406 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
6407 Code simplification. | |
6408 | |
6409 2011-06-21 Ingo Weinzierl <ingo@intevation.de> | |
6410 | |
6411 flys/issue157 (Diagramm: Ursprung berechnete Abflusskurve) | |
6412 | |
6413 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Splitted | |
6414 up zooming for x and y axes to be able to override specific axis | |
6415 zoom behaviour. | |
6416 | |
6417 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java: | |
6418 The lower bound of the x axis (which is the Q axis in such chart) is | |
6419 always 0. | |
6420 | |
6421 2011-06-21 Ingo Weinzierl <ingo@intevation.de> | |
6422 | |
6423 flys/issue90 (Diagramm: Trennung derDiagrammfläche und Achsenaufheben) | |
6424 | |
6425 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: | |
6426 Added a margin between chart data and chart axes. | |
6427 | |
6428 2011-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6429 | |
6430 Fix for flys/issue158 | |
6431 | |
6432 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionExporter.java: | |
6433 Checks for right class now. | |
6434 | |
6435 2011-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6436 | |
6437 Fix for flys/issue154 | |
6438 | |
6439 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java: | |
6440 Checks for right class now. | |
6441 | |
6442 2011-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6443 | |
6444 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
6445 Only generate 'outs' if they have facets. | |
6446 | |
6447 * src/main/java/de/intevation/flys/exports/ChartExportHelper.java: | |
6448 'boolean ? true : false' <=> 'boolean' | |
6449 | |
6450 2011-06-21 Ingo Weinzierl <ingo@intevation.de> | |
6451 | |
6452 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
6453 Added the time-to-live to the DESCRIBE document. | |
6454 | |
6455 2011-06-20 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6456 | |
6457 * doc/conf/artifacts/winfo.xml: Configured states to generate report facets. | |
6458 | |
6459 2011-06-20 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6460 | |
6461 * src/main/java/de/intevation/flys/artifacts/model/ReportFacet.java: | |
6462 Return the report. | |
6463 | |
6464 * src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java, | |
6465 src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java, | |
6466 src/main/java/de/intevation/flys/artifacts/states/DurationCurveState.java, | |
6467 src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java: | |
6468 Generate report facets if there are problems with the calculations. | |
6469 TODO: Adjust winfo.xml to configure the facets. | |
6470 | |
6471 2011-06-20 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6472 | |
6473 * src/main/java/de/intevation/flys/exports/ReportGenerator.java: | |
6474 New. Generator for calculation reports. | |
6475 | |
6476 * doc/conf/conf.xml: Added ReportGenerator. | |
6477 | |
6478 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: | |
6479 Added type 'report'. | |
6480 | |
6481 * src/main/java/de/intevation/flys/artifacts/model/ReportFacet.java: | |
6482 Specialized facet for serving reports. TODO: Added them to the | |
6483 calculation states. | |
6484 | |
6485 * src/main/java/de/intevation/flys/artifacts/model/Calculation.java: | |
6486 Looped through CallMeta for i18n purposes. TODO: do i18n | |
6487 | |
6488 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
6489 Removed superfluous import. | |
6490 | |
6491 * src/main/java/de/intevation/flys/exports/AbstractExporter.java: | |
6492 Added some override annotations. | |
6493 | |
6494 2011-06-20 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6495 | |
6496 * src/main/java/de/intevation/flys/artifacts/model/CalculationResult.java: | |
6497 New. Used to transport the data and the error report. | |
6498 | |
6499 * src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java, | |
6500 src/main/java/de/intevation/flys/artifacts/model/Calculation1.java, | |
6501 src/main/java/de/intevation/flys/artifacts/model/Calculation2.java, | |
6502 src/main/java/de/intevation/flys/artifacts/model/Calculation3.java, | |
6503 src/main/java/de/intevation/flys/artifacts/model/Calculation4.java, | |
6504 src/main/java/de/intevation/flys/artifacts/model/DurationCurveFacet.java, | |
6505 src/main/java/de/intevation/flys/artifacts/model/Calculation.java, | |
6506 src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java, | |
6507 src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java, | |
6508 src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java, | |
6509 src/main/java/de/intevation/flys/artifacts/states/DurationCurveState.java, | |
6510 src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java, | |
6511 src/main/java/de/intevation/flys/exports/WaterlevelExporter.java, | |
6512 src/main/java/de/intevation/flys/exports/DurationCurveExporter.java: | |
6513 Use the CalculationResult now. | |
6514 | |
6515 2011-06-18 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6516 | |
6517 * src/main/java/de/intevation/flys/artifacts/model/Calculation1.java: | |
6518 Allow an explicit reference km to enable calculation "am Pegel". | |
6519 | |
6520 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
6521 If a calculation "am Pegel" is done, take start km of the | |
6522 calculation range and find the gauge in which range it is located. | |
6523 Take the station of the gauge as the reference km. If no gauge | |
6524 is found the calcualtion falls back to calculation "auf freier Strecke". | |
6525 | |
6526 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
6527 Replaced another inefficient attribute extraction via XPath | |
6528 with direct DOM access. | |
6529 | |
6530 2011-06-18 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6531 | |
6532 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java, | |
6533 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java, | |
6534 src/main/java/de/intevation/flys/exports/WaterlevelExporter.java, | |
6535 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
6536 Removed dead code. | |
6537 | |
6538 2011-06-18 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6539 | |
6540 * src/main/java/de/intevation/flys/artifacts/model/DataFacet.java | |
6541 src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java, | |
6542 src/main/java/de/intevation/flys/artifacts/model/DurationCurveFacet.java, | |
6543 src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java, | |
6544 src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java, | |
6545 src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java, | |
6546 src/main/java/de/intevation/flys/artifacts/states/DurationCurveState.java, | |
6547 src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java, | |
6548 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
6549 Only generate facets when needed. | |
6550 | |
6551 * src/main/java/de/intevation/flys/collections/OutputParser.java: | |
6552 Removed more XPath for simply accessing attributes of an element. | |
6553 | |
6554 * doc/conf/cache.xml: 200 elements in memory for "computed.values" are enough, | |
6555 LRU as eviction strategy is sufficent. | |
6556 | |
6557 * src/main/java/de/intevation/flys/collections/AttributeWriter.java, | |
6558 src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Use | |
6559 more 'standard' Java naming conventions. | |
6560 | |
6561 2011-06-17 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6562 | |
6563 Merged in the facet-slt branch to bring in the 'facet' feature. | |
6564 | |
6565 * doc/conf/artifacts/winfo.xml: Fixed some facets. | |
6566 | |
6567 * doc/conf/cache.xml: Added a "computed.values" cache to store the | |
6568 results of the WINFO calculations. | |
6569 | |
6570 * src/main/java/de/intevation/flys/artifacts/model/ManagedFacet.java: | |
6571 Add support for index per facet to make them unique and identifiable. | |
6572 | |
6573 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: | |
6574 New. Inteface to be used to access the facet names of the configuration. | |
6575 | |
6576 * src/main/java/de/intevation/flys/artifacts/model/DataFacet.java: New. | |
6577 A facet to be used to have raw access to the computed data of an artifact. | |
6578 Useful to export things like CSV and WST. | |
6579 | |
6580 * src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java: New. | |
6581 Specialized facet to access the water level data stored in WQKms arrays. | |
6582 | |
6583 * src/main/java/de/intevation/flys/artifacts/model/DurationCurveFacet.java: New. | |
6584 Specialized facet to access the duration data stored in WQDay data structures. | |
6585 | |
6586 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Facets are | |
6587 now generated dynamically from the current available ones stored with | |
6588 the artifact. | |
6589 | |
6590 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: Added | |
6591 methods computeAdvance() and computeFeed() called if artifact is fed or | |
6592 adance. This overwritten in subclasses to do the state depending calculations. | |
6593 | |
6594 * src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java, | |
6595 src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java, | |
6596 src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java, | |
6597 src/main/java/de/intevation/flys/artifacts/states/DurationCurveState.java, | |
6598 src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java: These | |
6599 states overwrites the computeAdvance() and computeFeed() methods to do | |
6600 the corresponding WINFO calculations. | |
6601 | |
6602 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Calls | |
6603 computeAdvance() and computeFeed() if artifact is fed or advanced. Centralized | |
6604 the caching mechanism. | |
6605 | |
6606 * src/main/java/de/intevation/flys/exports/AbstractExporter.java, | |
6607 src/main/java/de/intevation/flys/collections/AttributeParser.java, | |
6608 src/main/java/de/intevation/flys/collections/OutputParser.java, | |
6609 src/main/java/de/intevation/flys/collections/AttributeWriter.java, | |
6610 src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
6611 Adjusted the code to cope with the indices of the facets. Used | |
6612 DOM to access the attributes instead of XPath. Removed smaller bugs | |
6613 concerning position generation. | |
6614 | |
6615 * src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java, | |
6616 src/main/java/de/intevation/flys/exports/ChartGenerator.java, | |
6617 src/main/java/de/intevation/flys/exports/OutGenerator.java: | |
6618 Forwarded facet references. | |
6619 | |
6620 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java, | |
6621 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java, | |
6622 src/main/java/de/intevation/flys/exports/DurationCurveExporter.java, | |
6623 src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionExporter.java, | |
6624 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java, | |
6625 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java, | |
6626 src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java, | |
6627 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java, | |
6628 src/main/java/de/intevation/flys/exports/WaterlevelExporter.java: | |
6629 Uses facets to fetch data and generate output now. | |
6630 | |
6631 2011-06-17 Ingo Weinzierl <ingo@intevation.de> | |
6632 | |
6633 * doc/conf/artifacts/winfo.xml: Added a new parameter "wq_free" that | |
6634 determines the mode of calculation 1. If it is "false" (default), | |
6635 the calculation should be bound to a gauge. | |
6636 | |
6637 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Added a | |
6638 method to retrieve the information about the "wq_free" parameter. | |
6639 | |
6640 2011-06-17 Ingo Weinzierl <ingo@intevation.de> | |
6641 | |
6642 * doc/conf/artifacts/winfo.xml: Added a facet for corrected W in | |
6643 computation 4. | |
6644 | |
6645 2011-06-14 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6646 | |
6647 * src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java: | |
6648 Got rid of namespace in result document. | |
6649 | |
6650 2011-06-14 Ingo Weinzierl <ingo@intevation.de> | |
6651 | |
6652 flys/issue77 (Diagramm: Beschriftung der Kurven bei Dauerlinien) | |
6653 | |
6654 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java: | |
6655 Give the curves in the chart names. | |
6656 | |
6657 * src/main/resources/messages.properties, | |
6658 src/main/resources/messages_de_DE.properties, | |
6659 src/main/resources/messages_en.properties, | |
6660 src/main/resources/messages_de.properties: Added titles for duration | |
6661 chart curves. | |
6662 | |
6663 2011-06-14 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6664 | |
6665 * src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java: | |
6666 Write top 'Oberkante' and bottom 'Unterkante' to out going XML | |
6667 if they exist. | |
6668 | |
6669 2011-06-14 Ingo Weinzierl <ingo@intevation.de> | |
6670 | |
6671 * src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java: | |
6672 Write the min/max W/Q ranges as art:range elements into the DESCRIBE. | |
6673 | |
6674 2011-06-14 Ingo Weinzierl <ingo@intevation.de> | |
6675 | |
6676 * src/main/java/de/intevation/flys/artifacts/states/LocationSelect.java: | |
6677 This state that is used to retrieve locations will now write the | |
6678 kilometer range of the selected river into the DESCRIBE document. | |
6679 | |
6680 2011-06-10 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6681 | |
6682 * src/main/java/de/intevation/flys/artifacts/model/Calculation1.java: | |
6683 New. Factored out version of "Wasserspiegellage" calculation. | |
6684 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java: | |
6685 | |
6686 Removed some dead code. | |
6687 | |
6688 * src/main/java/de/intevation/flys/artifacts/model/WQCKms.java: | |
6689 Added Override annotation and used quick access method. | |
6690 | |
6691 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
6692 Looped through error reporting use by interpolate. | |
6693 | |
6694 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
6695 Used factored out version of calculation 1. Removed dead code. | |
6696 | |
6697 2011-06-10 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6698 | |
6699 * src/main/java/de/intevation/flys/artifacts/model/Calculation2.java: | |
6700 New. Factored out version of "Abflusskurve". | |
6701 | |
6702 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
6703 Loop errors through w/q at km interpolation. | |
6704 | |
6705 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
6706 Use factored out version of calculation 2. | |
6707 | |
6708 2011-06-10 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6709 | |
6710 * src/main/java/de/intevation/flys/artifacts/model/Calculation3.java: | |
6711 New. Factored out version of "Dauerzahlen". | |
6712 | |
6713 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
6714 Loop errors through for q->w interpolations. | |
6715 | |
6716 * src/main/java/de/intevation/flys/artifacts/model/WQDay.java: | |
6717 Added constructor to directly create with calculated results. | |
6718 | |
6719 * src/main/java/de/intevation/flys/artifacts/model/Calculation.java: | |
6720 Added method to return the number of problems. | |
6721 | |
6722 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
6723 Use factored out version of calculation 3. | |
6724 | |
6725 2011-06-10 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6726 | |
6727 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java, | |
6728 src/main/java/de/intevation/flys/artifacts/model/WQCKms.java, | |
6729 src/main/java/de/intevation/flys/artifacts/model/WQDay.java: | |
6730 Added methods to remove NaN values. | |
6731 | |
6732 2011-06-10 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6733 | |
6734 * src/main/java/de/intevation/flys/artifacts/model/Calculation.java: | |
6735 New. Base class for calculations. Used to collect problems occuring | |
6736 during calculation. | |
6737 | |
6738 * src/main/java/de/intevation/flys/artifacts/model/Calculation4.java: | |
6739 Extends Calculation now. Looped through the problem reports to | |
6740 base class. | |
6741 | |
6742 * src/main/java/de/intevation/flys/artifacts/math/BackJumpCorrector.java: | |
6743 Looped through the problem reports. | |
6744 | |
6745 2011-06-09 Ingo Weinzierl <ingo@intevation.de> | |
6746 | |
6747 * src/main/java/de/intevation/flys/exports/InfoGeneratorHelper.java: | |
6748 Append the min/max range and a transformation matrix for each axis. | |
6749 | |
6750 * src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java: | |
6751 Instantiate the InfoGeneratorHelper with a XYChartGenerator instance. | |
6752 | |
6753 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: | |
6754 Changed the zoom operation. The zoom values defined in the chart request | |
6755 document are no longer absolute values for a specific axis. Those values | |
6756 represent percental values for the start and end point of x and y axes. | |
6757 E.g. a chart has three axes with the following ranges: | |
6758 - x axis : 0 - 10 | |
6759 - y axis 1: 20 - 40 | |
6760 - y axis 2: 40 - 90 | |
6761 - zoom values for x: 0.1 - 0.9 (10% - 90%) | |
6762 - zoom values for y: 0.2 - 0.8 (20% - 80%) | |
6763 The produced chart will have the following ranges: | |
6764 - x axis : 1 - 9 | |
6765 - y axis 1: 24 - 36 | |
6766 y axis 2: 50 - 80 | |
6767 | |
6768 2011-06-09 Ingo Weinzierl <ingo@intevation.de> | |
6769 | |
6770 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java, | |
6771 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java: | |
6772 Map datasets to axes correctly. | |
6773 | |
6774 2011-06-08 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6775 | |
6776 * src/main/java/de/intevation/flys/artifacts/model/Calculation4.java: | |
6777 Determine the gauges by their station positions. This hopfully | |
6778 fixes the problem with wrong assigned gauges and invalid segments. | |
6779 | |
6780 2011-06-08 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6781 | |
6782 * src/main/java/de/intevation/flys/artifacts/model/Segment.java, | |
6783 src/main/java/de/intevation/flys/artifacts/model/Calculation4.java: | |
6784 Added more debug output. | |
6785 | |
6786 2011-06-08 Ingo Weinzierl <ingo@intevation.de> | |
6787 | |
6788 flys/issue103 PART 1 (WINFO: Wasserspiegellagenberechnung / Layout-Inkonsistenz) | |
6789 | |
6790 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: | |
6791 Selected values are formatted with the current locale. The static part | |
6792 of the DESCRIBE document will now contain i18n formatted numbers. | |
6793 | |
6794 2011-06-08 Ingo Weinzierl <ingo@intevation.de> | |
6795 | |
6796 flys/issue93 (WINFO: Benennung der Berechnungsart korrigieren) | |
6797 | |
6798 * src/main/resources/messages_de_DE.properties, | |
6799 src/main/resources/messages_de.properties: Changed the name of | |
6800 calculation 4. | |
6801 | |
6802 2011-06-08 Ingo Weinzierl <ingo@intevation.de> | |
6803 | |
6804 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: | |
6805 Made the range determination more robust against NaN values. | |
6806 | |
6807 2011-06-08 Ingo Weinzierl <ingo@intevation.de> | |
6808 | |
6809 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
6810 The second y axis is set to position "1". It was set to "2" before, but | |
6811 in that case, there was no position "1". | |
6812 | |
6813 2011-06-08 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6814 | |
6815 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java, | |
6816 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java, | |
6817 src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionExporter.java, | |
6818 src/main/java/de/intevation/flys/exports/DurationCurveExporter.java, | |
6819 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java, | |
6820 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java, | |
6821 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java: | |
6822 s@m³/s@m\\u00b3/s@ | |
6823 | |
6824 2011-06-08 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6825 | |
6826 * src/main/java/de/intevation/flys/exports/InfoGeneratorHelper.java: | |
6827 Only generate an axis element if a axis really exists. | |
6828 | |
6829 2011-06-07 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6830 | |
6831 * src/main/java/de/intevation/flys/artifacts/math/BackJumpCorrector.java: | |
6832 Simpified array swapping. | |
6833 | |
6834 2011-06-07 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6835 | |
6836 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java, | |
6837 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
6838 Use java.util.List instead of java.util.Vector | |
6839 | |
6840 * src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java, | |
6841 src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java, | |
6842 src/main/java/de/intevation/flys/artifacts/states/DurationCurveState.java, | |
6843 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
6844 Removed superfluous imports. | |
6845 | |
6846 2011-06-07 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6847 | |
6848 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: | |
6849 createItem() is not abstract any longer to avoid code repetitionin sub classes. | |
6850 | |
6851 * src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java, | |
6852 src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java, | |
6853 src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java, | |
6854 src/main/java/de/intevation/flys/artifacts/states/WQSelect.java, | |
6855 src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java, | |
6856 src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java, | |
6857 src/main/java/de/intevation/flys/artifacts/states/DurationCurveState.java, | |
6858 src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java: | |
6859 Removed duplicated code, inserted default constructors and Override annotations. | |
6860 | |
6861 2011-06-07 Ingo Weinzierl <ingo@intevation.de> | |
6862 | |
6863 * src/main/java/de/intevation/flys/exports/InfoGeneratorHelper.java: | |
6864 Append axes range information to the info document. | |
6865 | |
6866 2011-06-07 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6867 | |
6868 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
6869 If feed() fails do not store invalid values in database. | |
6870 | |
6871 2011-06-06 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6872 | |
6873 * src/main/java/de/intevation/flys/exports/InfoGeneratorHelper.java: | |
6874 Removed asymmetrical "- 1" from width calculation. | |
6875 | |
6876 2011-06-05 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6877 | |
6878 * src/main/java/de/intevation/flys/artifacts/model/Calculation4.java: | |
6879 Fixed problem when more than one value per segment are given. | |
6880 | |
6881 2011-06-05 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6882 | |
6883 Refactored version of "Berechnung 4" | |
6884 | |
6885 * src/main/java/de/intevation/flys/artifacts/model/Segment.java: | |
6886 Added instance fields for a reference point (= location of gauge) | |
6887 and backup of values (needed for naming). | |
6888 | |
6889 * src/main/java/de/intevation/flys/artifacts/model/WQCKms.java: | |
6890 Added a constructor to be created from a WQKms. This is helpful | |
6891 if a WQKms is replaced by a back jump correction. | |
6892 | |
6893 * src/main/java/de/intevation/flys/artifacts/model/Calculation4.java: | |
6894 New. Outfactored version of "W bei ungleichmaessigen Abflusslaengsschnitt". | |
6895 Much cleaner now and it should have a better handling of the corner | |
6896 cases. | |
6897 | |
6898 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
6899 Removed the linear interpolation stuff. It is now in Linear. Removed | |
6900 the LinearRemap interpolation method because it is not needed any | |
6901 longer. Added a method to interpolate a given km with a given | |
6902 function. | |
6903 | |
6904 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
6905 Removed the old calc 4 and used the new one. | |
6906 | |
6907 * src/main/java/de/intevation/flys/artifacts/math/LinearRemap.java: | |
6908 Deleted. Not needed any longer. | |
6909 | |
6910 * src/main/java/de/intevation/flys/artifacts/math/Function.java: | |
6911 New. Interface for a uni-variate real function. | |
6912 | |
6913 * src/main/java/de/intevation/flys/artifacts/math/Identity.java: | |
6914 New. Implements Function with f(x) = x | |
6915 | |
6916 * src/main/java/de/intevation/flys/artifacts/math/Linear.java: | |
6917 New. Implements Function with f(x) = m*x + b | |
6918 | |
6919 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
6920 Factored some stuff out to DoubleUtil. Removed some dead code. | |
6921 Does some rounding correct. | |
6922 | |
6923 * src/main/java/de/intevation/flys/utils/DoubleUtil.java: New. | |
6924 Centralized utils surrounding common double operations. | |
6925 | |
6926 * src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java: | |
6927 Removed superfluous imports. | |
6928 | |
6929 2011-06-03 Ingo Weinzierl <ingo@intevation.de> | |
6930 | |
6931 flys/issue90(Diagramm: Trennung der Diagrammfläche und Achsen aufheben) | |
6932 | |
6933 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: | |
6934 Determine the ranges of x and y axes. If no zoom ranges are given, we | |
6935 will determine the min and max xy values in the dataset manually, | |
6936 because JFreeCharts adds a margin to the left and right of the data | |
6937 area automatically.. | |
6938 | |
6939 2011-06-03 Ingo Weinzierl <ingo@intevation.de> | |
6940 | |
6941 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Moved | |
6942 the chart creation into an own public method. This lets the | |
6943 ChartInfoGenerator create charts without duplicating code. | |
6944 | |
6945 * src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java: | |
6946 Limited the possible class for generators to XYChartGenerator. This | |
6947 enables the ChartInfoGenerator class to do the whole chart creation | |
6948 stuff itself without outsourcing the code to concrete subclasses. | |
6949 | |
6950 * src/main/java/de/intevation/flys/exports/LongitudinalSectionInfoGenerator.java, | |
6951 src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionInfoGenerator.java, | |
6952 src/main/java/de/intevation/flys/exports/DurationCurveInfoGenerator.java, | |
6953 src/main/java/de/intevation/flys/exports/DischargeCurveInfoGenerator.java, | |
6954 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveInfoGenerator.java: | |
6955 Removed the code to generate charts - this is done in ChartInfoGenerator | |
6956 now. | |
6957 | |
6958 2011-06-03 Ingo Weinzierl <ingo@intevation.de> | |
6959 | |
6960 * src/main/java/de/intevation/flys/exports/ChartGenerator.java: Added new | |
6961 methods to extract the x and y ranges from request document. | |
6962 | |
6963 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Added a | |
6964 method that zooms the chart to the specified x and y ranges. | |
6965 | |
6966 2011-06-02 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6967 | |
6968 * doc/conf/conf.xml: Set collection ttl to 6 hours. | |
6969 | |
6970 2011-06-01 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6971 | |
6972 * src/main/java/de/intevation/flys/artifacts/model/Segment.java: | |
6973 New. Parse segments only once. | |
6974 | |
6975 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
6976 Expose new parser to artifacts. TODO: Use it. | |
6977 | |
6978 2011-06-01 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6979 | |
6980 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
6981 Changed interpolation methods to interpolate to an arbitrary position | |
6982 in a given double result array as a preparation for segment independent | |
6983 calculation. | |
6984 | |
6985 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
6986 Removed superfluous import. | |
6987 | |
6988 * src/main/java/de/intevation/flys/artifacts/math/BackJumpCorrector.java: | |
6989 Fixed cause for crashing: Run back too far in some siutations. | |
6990 | |
6991 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
6992 Refactored range code a bit. Needs more work. | |
6993 | |
6994 2011-06-01 Ingo Weinzierl <ingo@intevation.de> | |
6995 | |
6996 * src/main/java/de/intevation/flys/exports/InfoGeneratorHelper.java: | |
6997 Interchange the lower and upper x value of the chart if the x-axis is | |
6998 inverted before the matrix values are computed. Now, the matrix is able | |
6999 to work with charts that have an inverted x-axis. | |
7000 | |
7001 2011-06-01 Ingo Weinzierl <ingo@intevation.de> | |
7002 | |
7003 * src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java: New. A | |
7004 chart info generator generates a document that contains meta information | |
7005 for a specific chart. Concrete instances of this abstract class need to | |
7006 instantiate concrete ChartGenerators and dispatch nearly all methods of | |
7007 an OutGenerator (init(), doOut(), setMaster()) to this instance. The | |
7008 generate() method is implemented in the ChartInfoGenerator itself. It | |
7009 creates a chart with help of the ChartGenerator instance and builds a | |
7010 document that contains meta information of this chart. | |
7011 | |
7012 * src/main/java/de/intevation/flys/exports/InfoGeneratorHelper.java: New. | |
7013 This helper is used to create the chart info document. At the moment, | |
7014 the only information that is included in this document is a | |
7015 transformation matrix to transform image coordinates into chart | |
7016 coordinates. | |
7017 | |
7018 NOTE: The transformation matrix creation needs some work to support | |
7019 charts with inverted X axis. | |
7020 | |
7021 * src/main/java/de/intevation/flys/exports/LongitudinalSectionInfoGenerator.java, | |
7022 src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionInfoGenerator.java, | |
7023 src/main/java/de/intevation/flys/exports/DurationCurveInfoGenerator.java, | |
7024 src/main/java/de/intevation/flys/exports/DischargeCurveInfoGenerator.java, | |
7025 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveInfoGenerator.java: | |
7026 Concrete instances of ChartInfoGenerator that create the chart info for | |
7027 the currently supported chart types. | |
7028 | |
7029 * doc/conf/conf.xml: Registered new OutGenerators. | |
7030 | |
7031 2011-05-31 Ingo Weinzierl <ingo@intevation.de> | |
7032 | |
7033 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
7034 Added support for the 'type' paramter of the collection's out() | |
7035 operation. | |
7036 | |
7037 2011-05-31 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
7038 | |
7039 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java, | |
7040 src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
7041 Use an explicit reference km for interpolation now. | |
7042 | |
7043 2011-05-30 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
7044 | |
7045 * doc/conf/cache.xml: Introduced cache to store the distance info per river. | |
7046 This boosts performance in following ab setup from 3.61 to 39.91 requests/secs. | |
7047 | |
7048 $ ab -c 20 -n 1000 -p distances.xml http://127.0.0.1:8181/service/distanceinfo | |
7049 | |
7050 $ cat distances.xml | |
7051 <?xml version="1.0" encoding="UTF-8"?> | |
7052 <art:river xmlns:art="http://www.intevation.de/2009/artifacts">Elbe</art:river> | |
7053 | |
7054 * src/main/java/de/intevation/flys/artifacts/model/AnnotationsFactory.java: Added | |
7055 an iterator result to avoid construction expensive interim lists. | |
7056 | |
7057 * src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java: Use | |
7058 the cache if configured. | |
7059 | |
7060 2011-05-30 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
7061 | |
7062 flys/issue82 | |
7063 | |
7064 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
7065 Only successful interpolations are named. | |
7066 | |
7067 2011-05-27 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
7068 | |
7069 * src/main/java/de/intevation/flys/artifacts/math/BackJumpCorrector.java: | |
7070 Make it work independent of river flow direction. | |
7071 | |
7072 * src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java: | |
7073 Fixed bug in ordering segments | |
7074 | |
7075 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Re-enabled | |
7076 calculation of the back jump correction. Fixed more flow direction issues. | |
7077 | |
7078 2011-05-27 Ingo Weinzierl <ingo@intevation.de> | |
7079 | |
7080 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
7081 Removed call of XMLDebug class which is not in the version control. | |
7082 | |
7083 2011-05-27 Ingo Weinzierl <ingo@intevation.de> | |
7084 | |
7085 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
7086 Moved the code part that skips themes right after the part that sets the | |
7087 master artifact for the OutGenerator. We need this master artifact to | |
7088 display empty charts - master artifact is used to create titles and | |
7089 axes. | |
7090 | |
7091 2011-05-27 Ingo Weinzierl <ingo@intevation.de> | |
7092 | |
7093 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
7094 Deactivated themes are not put into the chart. | |
7095 | |
7096 2011-05-27 Ingo Weinzierl <ingo@intevation.de> | |
7097 | |
7098 * src/main/java/de/intevation/flys/collections/AttributeParser.java: | |
7099 Repaired broken XPath expressions to find the output modes in an | |
7100 attribute document of a collection. | |
7101 | |
7102 * src/main/java/de/intevation/flys/collections/AttributeWriter.java: This | |
7103 writer will now create a document that has a root node art:attribute. | |
7104 Before these changes, the document's root node was art:outputs which is | |
7105 part of the attribute document but not the right root node. | |
7106 | |
7107 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
7108 Adapted some XPath expressions and corrected the the process to create | |
7109 attribute documents. | |
7110 | |
7111 2011-05-26 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
7112 | |
7113 * src/main/java/de/intevation/flys/artifacts/math/LinearRemap.java: | |
7114 Made it work independent of from/to order. | |
7115 | |
7116 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
7117 Added method to extract the ranges correctly from data. | |
7118 | |
7119 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
7120 Use the correct ranges. Comment out backjump detection temporarily. | |
7121 | |
7122 2011-05-26 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
7123 | |
7124 * src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java: | |
7125 Generate fields for w/q input depend on flow direction. | |
7126 | |
7127 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
7128 Moved km up question out of loop. | |
7129 2011-05-26 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
7130 | |
7131 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
7132 Take the flow direction into account. | |
7133 | |
7134 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: | |
7135 Prevent NPE. | |
7136 | |
7137 * src/main/java/de/intevation/flys/artifacts/states/RangeState.java: | |
7138 Allow to be 'from' greater than 'to' in ranges. | |
7139 | |
7140 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Negate | |
7141 step if 'from' is greater than 'to'. | |
7142 | |
7143 2011-05-26 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
7144 | |
7145 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
7146 Round exploded values to a precision of 1e-6. | |
7147 | |
7148 2011-05-25 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
7149 | |
7150 Qs are now stored in ranges for each column. | |
7151 | |
7152 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory2.java: | |
7153 Deleted. | |
7154 | |
7155 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory.java: | |
7156 Was WstValueTableFactory2. | |
7157 | |
7158 * src/main/java/de/intevation/flys/artifacts/model/QRangeTree.java: Fixed | |
7159 node linking bug. Removed dead code. | |
7160 | |
7161 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
7162 Q values are now stored in range trees by each column. The qs of the rows | |
7163 are removed and the calculations are adjusted. Removed dead code. | |
7164 | |
7165 2011-05-24 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
7166 | |
7167 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory.java: | |
7168 Moved cache name to WstValueTableCacheKey. Do not cache null references. | |
7169 | |
7170 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableCacheKey.java: | |
7171 Moved cache name into this class. | |
7172 | |
7173 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
7174 Store QRangeTree for each column of value table. TODO: Use them! | |
7175 | |
7176 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory2.java: | |
7177 Intended as a replacement for WstValueTableFactory, but is work in progress. | |
7178 | |
7179 * src/main/java/de/intevation/flys/artifacts/model/QRangeTree.java: Fixed | |
7180 index errors and added methods to dump as graphviz graph. | |
7181 | |
7182 2011-05-24 Ingo Weinzierl <ingo@intevation.de> | |
7183 | |
7184 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java: | |
7185 Improved the validation of WQ values. | |
7186 | |
7187 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Use the | |
7188 correct input data object to determine the selected WQ mode (range or | |
7189 single input). | |
7190 | |
7191 2011-05-24 Ingo Weinzierl <ingo@intevation.de> | |
7192 | |
7193 ISSUE-40 (part I/II) | |
7194 | |
7195 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: | |
7196 Write default values (values already selected by the user before) of the | |
7197 input data items into DESCRIBE. | |
7198 | |
7199 2011-05-24 Ingo Weinzierl <ingo@intevation.de> | |
7200 | |
7201 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java: | |
7202 Removed needless imports. | |
7203 | |
7204 2011-05-24 Ingo Weinzierl <ingo@intevation.de> | |
7205 | |
7206 ISSUE-85 (part III/III) | |
7207 | |
7208 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java: | |
7209 Added a static function that returns the kilometer values (double[]) | |
7210 from locations input (whitespace separated double values). | |
7211 | |
7212 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Adapted | |
7213 the getKms() method. It will now return a computed array of kilometers | |
7214 if we had inserted a range, or it will return the inserted kilometers if | |
7215 we had inserted locations. | |
7216 | |
7217 2011-05-24 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
7218 | |
7219 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory.java: | |
7220 Moved cache key to separate class. | |
7221 | |
7222 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableCacheKey.java: | |
7223 New. The new cache key class. | |
7224 | |
7225 2011-05-24 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
7226 | |
7227 * src/main/java/de/intevation/flys/artifacts/model/QRangeTree.java: | |
7228 Model to store the q values of a WST column efficiently. First | |
7229 building block not to store the q values directly aside the | |
7230 w values. | |
7231 | |
7232 2011-05-24 Ingo Weinzierl <ingo@intevation.de> | |
7233 | |
7234 ISSUE-85 (part I/III) | |
7235 | |
7236 * doc/conf/artifacts/winfo.xml: Added two further field 'ld_mode' and | |
7237 'ld_locations' to the range/locations state to track the selected mode | |
7238 and locations. | |
7239 | |
7240 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java: | |
7241 Added methods to validate the user inserted locations. | |
7242 | |
7243 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Added a | |
7244 method to determine of a range or locations have been inserted. | |
7245 | |
7246 2011-05-23 Ingo Weinzierl <ingo@intevation.de> | |
7247 | |
7248 ISSUE-62 (part II/II) | |
7249 | |
7250 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Dump the | |
7251 artifacts state/data in DEBUG mode in describe(). | |
7252 | |
7253 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java, | |
7254 src/main/java/de/intevation/flys/artifacts/states/DefaultState.java, | |
7255 src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java, | |
7256 src/main/java/de/intevation/flys/artifacts/states/WQSelect.java, | |
7257 src/main/java/de/intevation/flys/artifacts/states/LocationSelect.java, | |
7258 src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java, | |
7259 src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java: | |
7260 States will no longer store data. The only reason for states storing | |
7261 StateData is to know about the necessary data for this state. If a State | |
7262 needs to access the user input for a specific StateData object, it needs | |
7263 to query the FLYSArtifact which stores the data. | |
7264 | |
7265 2011-05-23 Ingo Weinzierl <ingo@intevation.de> | |
7266 | |
7267 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Added a | |
7268 method to dump the artifacts state(s)/data. | |
7269 | |
7270 2011-05-23 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
7271 | |
7272 flys/issue84 | |
7273 | |
7274 * src/main/java/de/intevation/flys/artifacts/model/WstFactory.java: | |
7275 Forget to select wst kind. | |
7276 | |
7277 2011-05-20 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
7278 | |
7279 flys/issue81 | |
7280 | |
7281 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
7282 weights for kms were swapped. | |
7283 | |
7284 2011-05-20 Ingo Weinzierl <ingo@intevation.de> | |
7285 | |
7286 Tagged RELEASE 2.3.1 | |
7287 | |
7288 2011-05-20 Ingo Weinzierl <ingo@intevation.de> | |
7289 | |
7290 * Changes: Prepared changes for the upcoming release. | |
7291 | |
7292 2011-05-20 Hans Plum <hans@intevation.de> | |
7293 | |
7294 * NEWS: | |
7295 Hint to Release 2.3.1. For further information look into module | |
7296 flys-client/NEWS | |
7297 | |
7298 2011-05-19 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
7299 | |
7300 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java (getExplodedValues): | |
7301 Increment kms array size by one to take the end of range, too. | |
7302 | |
7303 2011-05-19 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
7304 | |
7305 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory.java: | |
7306 Sort by rows (should not be necessary). | |
7307 | |
7308 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
7309 Use unsharp km lookup (epsilon = 0.0001). This fixes the problem | |
7310 that some kms were not found. | |
7311 | |
7312 2011-05-19 Ingo Weinzierl <ingo@intevation.de> | |
7313 | |
7314 flys/issue66 | |
7315 | |
7316 * src/main/resources/messages_en.properties: Fixed broken template. | |
7317 | |
7318 2011-05-19 Ingo Weinzierl <ingo@intevation.de> | |
7319 | |
7320 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
7321 Set the name of the computed discharge curve objects. | |
7322 | |
7323 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java: | |
7324 The curves of this chart will now have names that consist of the word | |
7325 'Discharge Curve', the river name and the kilometer that has been used | |
7326 for the computation. | |
7327 | |
7328 * src/main/resources/messages.properties, | |
7329 src/main/resources/messages_de_DE.properties, | |
7330 src/main/resources/messages_en.properties, | |
7331 src/main/resources/messages_de.properties: Added i18n strings for the | |
7332 computed discharge curves. | |
7333 | |
7334 2011-05-19 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
7335 | |
7336 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
7337 Added convenience method isQ() to determine if we are | |
7338 doing Q calculations. | |
7339 | |
7340 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
7341 Reintroduced titles for the "W for unausgeglichene Abfluesse". | |
7342 | |
7343 2011-05-19 Ingo Weinzierl <ingo@intevation.de> | |
7344 | |
7345 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java: | |
7346 The curves will now have names that consist of the gauge name and its | |
7347 valid time range. | |
7348 | |
7349 * src/main/resources/messages.properties, | |
7350 src/main/resources/messages_de_DE.properties, | |
7351 src/main/resources/messages_en.properties, | |
7352 src/main/resources/messages_de.properties: Added i18n strings for the | |
7353 discharge curves. | |
7354 | |
7355 2011-05-19 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
7356 | |
7357 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
7358 Removed dead code. | |
7359 | |
7360 2011-05-19 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
7361 | |
7362 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
7363 Use the correct method to generate kms. | |
7364 | |
7365 * src/main/java/de/intevation/flys/artifacts/math/LinearRemap.java: | |
7366 Added some logging to test the map in debug mode. | |
7367 | |
7368 2011-05-18 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
7369 | |
7370 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
7371 Made getExplodedValues static. | |
7372 | |
7373 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
7374 Use new logic to calculate "W für ungleichwertige Abfluesse". | |
7375 Not working, yet. | |
7376 | |
7377 * ChangeLog: Fixed former entry. | |
7378 | |
7379 2011-05-18 Ingo Weinzierl <ingo@intevation.de> | |
7380 | |
7381 * doc/conf/artifacts/winfo.xml: Registered the WST export for discharge | |
7382 longitudinal sections. | |
7383 | |
7384 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Set the | |
7385 names of the discharge longitudinal section computation results. | |
7386 | |
7387 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java: | |
7388 The W/Q curves in the chart will now have names. | |
7389 | |
7390 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java: | |
7391 The WstWriter is filled with column names in an own method. So, we are | |
7392 able to override this process in subclasses. | |
7393 | |
7394 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionExporter.java: | |
7395 Adapted the column names for the WST export. | |
7396 | |
7397 2011-05-18 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
7398 | |
7399 Work on flys/issue69 | |
7400 | |
7401 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
7402 Use new logic to calculate "Wasserstand/Wasserspiegellage". | |
7403 Compared to desktop FLYS are the results are structurally right | |
7404 but a bit off in the positions after the decimal points. | |
7405 Maybe a result of the interpolation? Need to debug this. | |
7406 | |
7407 2011-05-18 Ingo Weinzierl <ingo@intevation.de> | |
7408 | |
7409 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
7410 W and Q curves will now have names based on the defined W or Q values | |
7411 for the waterlevel computation. | |
7412 | |
7413 2011-05-18 Ingo Weinzierl <ingo@intevation.de> | |
7414 | |
7415 * src/main/java/de/intevation/flys/artifacts/model/NamedObject.java: | |
7416 New. This object is used to give objects a name. | |
7417 | |
7418 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java: Inherit | |
7419 from NamedObject now. Because we need to display names for those objects | |
7420 in different places. | |
7421 | |
7422 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: The WQKms | |
7423 objects returned by a waterlevel computation will now have names. | |
7424 | |
7425 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java: | |
7426 Insert the column names for the WSTs into the WstWriter. | |
7427 | |
7428 * src/main/java/de/intevation/flys/exports/WstWriter.java: The column | |
7429 names are written into the head of the WSTs now. | |
7430 | |
7431 2011-05-17 Ingo Weinzierl <ingo@intevation.de> | |
7432 | |
7433 * src/main/java/de/intevation/flys/artifacts/model/WstLine.java: New. This | |
7434 class is used to store the W/Q values of a specific kilometer of a WST. | |
7435 | |
7436 * src/main/java/de/intevation/flys/exports/WstWriter.java: New. A writer | |
7437 that creates WSTs. | |
7438 | |
7439 TODO: The header of the WSTs is not finished. The Q descriptions are | |
7440 missing. | |
7441 | |
7442 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java: | |
7443 Enabled WST exports. | |
7444 | |
7445 * doc/conf/artifacts/winfo.xml: Registered the WST export for waterlevels. | |
7446 | |
7447 2011-05-17 Ingo Weinzierl <ingo@intevation.de> | |
7448 | |
7449 * src/main/java/de/intevation/flys/utils/Formatter.java: New. This class | |
7450 supports functions to retrieve formatters for specific types of data | |
7451 used in FLYS. | |
7452 | |
7453 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java, | |
7454 src/main/java/de/intevation/flys/exports/DurationCurveExporter.java, | |
7455 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java, | |
7456 src/main/java/de/intevation/flys/exports/AbstractExporter.java: | |
7457 Removed the formatter declaration - the whole formatter stuff is done in | |
7458 Formatter now. | |
7459 | |
7460 2011-05-17 Ingo Weinzierl <ingo@intevation.de> | |
7461 | |
7462 ISSUE-72 | |
7463 | |
7464 * src/main/java/de/intevation/flys/artifacts/services/MainValuesService.java: | |
7465 Repaired broken XPath expressions to extract start and end kilometer. | |
7466 | |
7467 2011-05-17 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
7468 | |
7469 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
7470 Removed the Hibernate loading stuff. | |
7471 | |
7472 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory.java: | |
7473 New. The Hibernate loading. | |
7474 | |
7475 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
7476 Use the WstValueTableFactory for loading now. | |
7477 | |
7478 2011-05-17 Ingo Weinzierl <ingo@intevation.de> | |
7479 | |
7480 Tagged RELEASE 0.1 aka Version 2.3.0 | |
7481 | |
7482 2011-05-16 Hans Plum <hans@intevation.de> | |
7483 | |
7484 * NEWS: | |
7485 New. Giving some user specific perspective to new functionality and | |
7486 changes. This file references releases dates only; details can be find | |
7487 in the client module at flys-client. | |
7488 | |
7489 2011-05-10 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
7490 | |
7491 First step to calculate "W fuer ungleichwertige Abfluesse" correctly. | |
7492 flys/issue55 | |
7493 | |
7494 * src/main/java/de/intevation/flys/artifacts/math/LinearRemap.java: | |
7495 New. Remaps "gleichwertige" Q values to the corresponding | |
7496 "ungleichwertige" Q values depending on km. | |
7497 | |
7498 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
7499 Remap the Q values "ungleichwertig" depending on the | |
7500 "gleichwertige" ones. | |
7501 | |
7502 2011-05-10 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
7503 | |
7504 First step to fix flys/issue69 | |
7505 | |
7506 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
7507 New code path to implement the calculation of "Wasserstand/Wasspiegellage" | |
7508 correctly. TODO 1: Use new path in UI. TODO 2: Remove unused old code. | |
7509 | |
7510 2011-05-13 Ingo Weinzierl <ingo@intevation.de> | |
7511 | |
7512 * Changes: Prepared Changes for the upcoming release 2.3 - see Changes | |
7513 file to get to know about the changes of the version numbers. | |
7514 | |
7515 2011-05-13 Ingo Weinzierl <ingo@intevation.de> | |
7516 | |
7517 ISSUE-37 | |
7518 | |
7519 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java: This | |
7520 state would be happy if there is a UI provider called "river_panel". | |
7521 | |
7522 2011-05-11 Ingo Weinzierl <ingo@intevation.de> | |
7523 | |
7524 * src/main/java/de/intevation/flys/exports/ChartGenerator.java: Added new | |
7525 methods that return the requested chart size as integer array [width, | |
7526 height]. The requested size is read from the incomding request document. | |
7527 | |
7528 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: The size | |
7529 of a chart is no longer static. The requested size is fetched using | |
7530 ChartGenerator.getSize(). | |
7531 | |
7532 2011-05-11 Ingo Weinzierl <ingo@intevation.de> | |
7533 | |
7534 ISSUE-52 | |
7535 | |
7536 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
7537 The X-Axis of such a chart is inverted, if the head of the river is not | |
7538 at kilometer 0. This type of charts always have the head of the river at | |
7539 the left side. | |
7540 | |
7541 2011-05-10 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
7542 | |
7543 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java: | |
7544 Make incoming XML symmetric to DistanceInfoService. | |
7545 | |
7546 2011-05-10 Ingo Weinzierl <ingo@intevation.de> | |
7547 | |
7548 ISSUE-47 | |
7549 | |
7550 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java, | |
7551 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java, | |
7552 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
7553 Adjusted temporarily the color of the W, Q and corrected W curves to | |
7554 distinguish each other. | |
7555 | |
7556 2011-05-10 Ingo Weinzierl <ingo@intevation.de> | |
7557 | |
7558 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: | |
7559 Adjusted the plot of xy charts - the gridlines are displayed now. | |
7560 | |
7561 2011-05-10 Ingo Weinzierl <ingo@intevation.de> | |
7562 | |
7563 ISSUE-53 | |
7564 | |
7565 * src/main/java/de/intevation/flys/artifacts/resources/Resources.java: | |
7566 Added a method that returns the preferred locale based on the available | |
7567 locales of the server and the desired locales of the request (CallMeta). | |
7568 | |
7569 * src/main/java/de/intevation/flys/exports/AbstractExporter.java: Added a | |
7570 method that creates a number formatter with minimum and maximum digits. | |
7571 | |
7572 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionExporter.java, | |
7573 src/main/java/de/intevation/flys/exports/WaterlevelExporter.java, | |
7574 src/main/java/de/intevation/flys/exports/DurationCurveExporter.java, | |
7575 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java: | |
7576 Formatted the number values of the CSV exports. | |
7577 | |
7578 2011-05-10 Ingo Weinzierl <ingo@intevation.de> | |
7579 | |
7580 * src/main/java/de/intevation/flys/artifacts/model/RangeWithValues.java: | |
7581 New. A data structure that enables us to save a data triple: a range | |
7582 that consist of lower and upper double value and a set of values that | |
7583 belong to this range. | |
7584 | |
7585 * src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java: | |
7586 Implemented the validation of W/Q values. | |
7587 | |
7588 2011-05-10 Ingo Weinzierl <ingo@intevation.de> | |
7589 | |
7590 * src/main/java/de/intevation/flys/exports/AbstractExporter.java: New | |
7591 method to retrieve i18n messages based on keys. | |
7592 | |
7593 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionExporter.java, | |
7594 src/main/java/de/intevation/flys/exports/WaterlevelExporter.java, | |
7595 src/main/java/de/intevation/flys/exports/DurationCurveExporter.java, | |
7596 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java: | |
7597 Added headers for CSV exports. | |
7598 | |
7599 * src/main/resources/messages.properties, | |
7600 src/main/resources/messages_de_DE.properties, | |
7601 src/main/resources/messages_en.properties, | |
7602 src/main/resources/messages_de.properties: Added new i18n strings for | |
7603 CSV headers. | |
7604 | |
7605 2011-05-10 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
7606 | |
7607 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java: | |
7608 Fetches river name from incoming XML document. If no river is given all | |
7609 infos about all rivers are listed. | |
7610 | |
7611 * src/main/resources/metadata/template.xml: Templates honors the 'river' | |
7612 parameter. | |
7613 | |
7614 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java: | |
7615 Extended to pass parameters to the templating. Added support for | |
7616 type conversion. | |
7617 | |
7618 * src/main/java/de/intevation/flys/artifacts/services/meta/StackFrames.java: | |
7619 Take parameters as an initial stack frame. | |
7620 | |
7621 * src/main/java/de/intevation/flys/artifacts/services/meta/TypeConverter.java: | |
7622 New. Converts types off stacked variables. | |
7623 | |
7624 2011-05-10 Ingo Weinzierl <ingo@intevation.de> | |
7625 | |
7626 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Added a | |
7627 method to add subtitles to charts. The implementation in this class does | |
7628 not add any subtitle. Concrete subclasses may override this method to | |
7629 add some. | |
7630 | |
7631 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java, | |
7632 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java, | |
7633 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java: | |
7634 Add subtitles to charts. | |
7635 | |
7636 * src/main/resources/messages.properties, | |
7637 src/main/resources/messages_de_DE.properties, | |
7638 src/main/resources/messages_en.properties, | |
7639 src/main/resources/messages_de.properties: Added i18n templates for | |
7640 compound messages (chart subtitles). | |
7641 | |
7642 2011-05-10 Ingo Weinzierl <ingo@intevation.de> | |
7643 | |
7644 * src/main/java/de/intevation/flys/artifacts/resources/Resources.java: | |
7645 Added new methods to retrieve translated compound messages. | |
7646 | |
7647 2011-05-10 Ingo Weinzierl <ingo@intevation.de> | |
7648 | |
7649 * src/main/java/de/intevation/flys/exports/OutGenerator.java: Added a | |
7650 method to set the master artifact that should be used for some special | |
7651 operations. | |
7652 | |
7653 * src/main/java/de/intevation/flys/exports/ChartGenerator.java, | |
7654 src/main/java/de/intevation/flys/exports/AbstractExporter.java: | |
7655 Implement the setMasterArtifact() method of the interface. | |
7656 | |
7657 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
7658 Call OutGenerator.setMasterArtifact(). | |
7659 | |
7660 NOTE: The determination of the master artifact needs to be implemented! | |
7661 | |
7662 2011-05-10 Ingo Weinzierl <ingo@intevation.de> | |
7663 | |
7664 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Removed | |
7665 hard coded dev code that defined a WQ mode. | |
7666 | |
7667 2011-05-09 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
7668 | |
7669 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java: | |
7670 Stripped ugly extra whitespace from output introduced by | |
7671 templating. | |
7672 | |
7673 2011-05-09 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
7674 | |
7675 * src/main/resources/metadata/template.xml: Added forgotten | |
7676 columns of fixation WSTs. | |
7677 | |
7678 2011-05-09 Ingo Weinzierl <ingo@intevation.de> | |
7679 | |
7680 * src/main/java/de/intevation/flys/exports/ChartGenerator.java: Added a | |
7681 method to retrieve i18n strings. | |
7682 | |
7683 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java, | |
7684 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java, | |
7685 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java, | |
7686 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java: | |
7687 Enabled i18n support for chart title and axes labels. | |
7688 | |
7689 * src/main/resources/messages.properties, | |
7690 src/main/resources/messages_de_DE.properties, | |
7691 src/main/resources/messages_en.properties, | |
7692 src/main/resources/messages_de.properties: Added i18n strings for the | |
7693 chart types above. | |
7694 | |
7695 2011-05-09 Ingo Weinzierl <ingo@intevation.de> | |
7696 | |
7697 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionExporter.java: | |
7698 New. This OutGenerator exports the data of a discharge longitudinal | |
7699 section computation. | |
7700 | |
7701 * doc/conf/conf.xml: Added the DischargeLongitudinalSectionExporter. | |
7702 | |
7703 * doc/conf/artifacts/winfo.xml: Added the exporter with CSV facet to the | |
7704 discharge_longitudinal_section state. | |
7705 | |
7706 2011-05-07 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
7707 | |
7708 * src/main/java/de/intevation/flys/artifacts/math/BackJumpCorrector.java: | |
7709 Added code to make back jump correction work with both | |
7710 potential flow directions. | |
7711 | |
7712 2011-05-06 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
7713 | |
7714 * src/main/resources/metadata/template.xml: | |
7715 Added data cage configuration for 'Längsschnitt'. | |
7716 | |
7717 2011-05-06 Ingo Weinzierl <ingo@intevation.de> | |
7718 | |
7719 * doc/conf/artifacts/winfo.xml: Added the missing Q facet for discharge | |
7720 longitudinal sections. | |
7721 | |
7722 * src/main/java/de/intevation/flys/artifacts/model/WQCKms.java: New. A | |
7723 derived dataset to store W/Q values with corrected Ws for a kilometer | |
7724 range. | |
7725 | |
7726 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java: Some new | |
7727 methods and a new constructor to initialize this data object with a | |
7728 predefined set of values. | |
7729 | |
7730 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: New | |
7731 methods to retrieve the W/Q values for the 'discharge longitudinal | |
7732 section' computation. | |
7733 | |
7734 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: New | |
7735 methods to retrieve and compute data used for the 'discharge | |
7736 longitudinal section' computation. | |
7737 | |
7738 2011-05-05 Ingo Weinzierl <ingo@intevation.de> | |
7739 | |
7740 * src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java: | |
7741 Bugfix: just write the ranges of gauges into the DESCRIBE if the | |
7742 'wq_values' data item is required. | |
7743 | |
7744 * src/main/resources/messages.properties, | |
7745 src/main/resources/messages_de_DE.properties, | |
7746 src/main/resources/messages_en.properties, | |
7747 src/main/resources/messages_de.properties: Added i18n messages used in | |
7748 the DESCRIBE of the WQAdapted state. | |
7749 | |
7750 2011-05-05 Ingo Weinzierl <ingo@intevation.de> | |
7751 | |
7752 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java: | |
7753 Changed the title of the y-axis (now 'W [NN+m]'). | |
7754 | |
7755 2011-05-05 Ingo Weinzierl <ingo@intevation.de> | |
7756 | |
7757 * doc/conf/artifacts/winfo.xml: Improved the transition model to reach the | |
7758 output state for creating 'discharge longitudinal section' charts. | |
7759 | |
7760 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Added a | |
7761 method that returns all gauges of the selected river based on a the | |
7762 given kilometer range. | |
7763 | |
7764 * src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java: New. | |
7765 This state creates a set of elements for the DESCRIBE that consist of a | |
7766 tuple of kilometer values. The number of elements depend on the number | |
7767 of gauges intersected by the given kilometer range. | |
7768 | |
7769 * src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java: | |
7770 New. This state is the output state that is reached after the 'discharge | |
7771 longitudinal section' computation has been chosen. | |
7772 | |
7773 2011-05-05 Ingo Weinzierl <ingo@intevation.de> | |
7774 | |
7775 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Default | |
7776 step width between two kilometers added - if no step width is given, | |
7777 this default width is used. | |
7778 | |
7779 2011-05-05 Ingo Weinzierl <ingo@intevation.de> | |
7780 | |
7781 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
7782 Fixed a potential NullPointerException if there is just a single | |
7783 kilometer given to create a longitudinal section. | |
7784 | |
7785 2011-05-04 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
7786 | |
7787 * pom.xml: Added http://repository.jboss.org/maven2 repo | |
7788 to fix flys/issue30 | |
7789 | |
7790 2011-05-04 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
7791 | |
7792 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
7793 To make diagram generation possible ws are now generated from qs | |
7794 because they are many ws having different qs. | |
7795 | |
7796 2011-05-04 Ingo Weinzierl <ingo@intevation.de> | |
7797 | |
7798 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java: | |
7799 Fetch the WQ data from WINFO artifact and write those values into the | |
7800 CSV export. | |
7801 | |
7802 2011-05-04 Ingo Weinzierl <ingo@intevation.de> | |
7803 | |
7804 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Added | |
7805 methods to compute and retrieve the data for discharge curves (computed). | |
7806 | |
7807 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java: | |
7808 Fetch the computed discharge curve data from WINFOArtifact and add the | |
7809 values into the JFreeChart dataset. | |
7810 | |
7811 2011-05-04 Ingo Weinzierl <ingo@intevation.de> | |
7812 | |
7813 * doc/conf/artifacts/winfo.xml: Added new transitions and states to enable | |
7814 the WINFO artifact for computing discharge curves. | |
7815 | |
7816 * doc/conf/conf.xml: Added OutGenerators that generate computed discharge | |
7817 curves and exports for its data. | |
7818 | |
7819 * src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java: | |
7820 New. This state is reached if the user chose the computed discharge | |
7821 curve. | |
7822 | |
7823 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java: | |
7824 New. This is only a stub implementation at the moment. This | |
7825 OutGenerator should create computed discharge curves later. It extends | |
7826 the DischargeCurveGenerator which should do the same stuff for discharge | |
7827 curves for gauges. | |
7828 | |
7829 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java: | |
7830 New. This is only a stub implementation at the moment. This OutGenerator | |
7831 should create the exports of the discharge curve computation. | |
7832 | |
7833 2011-05-03 Ingo Weinzierl <ingo@intevation.de> | |
7834 | |
7835 * doc/conf/artifacts/winfo.xml: Added a new output mode for the duration | |
7836 curve state (CSV export). | |
7837 | |
7838 * doc/conf/conf.xml: Added a new OutGenerator to export duration curve | |
7839 computations. | |
7840 | |
7841 * src/main/java/de/intevation/flys/exports/AbstractExporter.java: New. | |
7842 This abstract OutGenerator represents the base class for exporting | |
7843 computed data. Currently, the CSV export is supported. | |
7844 | |
7845 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java: Moved | |
7846 the most code to export to CSV into the AbstractExporter. | |
7847 | |
7848 * src/main/java/de/intevation/flys/exports/DurationCurveExporter.java: | |
7849 New. This exporter exports the computed data of a duration computation. | |
7850 | |
7851 2011-05-03 Ingo Weinzierl <ingo@intevation.de> | |
7852 | |
7853 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
7854 Modified a wrong debug statement which would confuse the user. | |
7855 | |
7856 2011-05-03 Ingo Weinzierl <ingo@intevation.de> | |
7857 | |
7858 * doc/conf/artifacts/winfo.xml: Added a new output mode for the waterlevel | |
7859 state (CSV export). | |
7860 | |
7861 * doc/conf/conf.xml: Added a new OutGenerator to export waterlevels. | |
7862 | |
7863 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java: New. | |
7864 This OutGenerator exports the data of a waterlevel computation. Note: | |
7865 It is necessary to specify the desired facet (e.g. | |
7866 'waterlevel_export.csv'). | |
7867 | |
7868 * pom.xml: Added a dependency to OpenCSV. | |
7869 | |
7870 2011-05-03 Ingo Weinzierl <ingo@intevation.de> | |
7871 | |
7872 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
7873 Introduced an "export" output target. If the target is "export", a | |
7874 facet (read from the incoming xml document) is a necessary parameter | |
7875 that determines which facets are written to the output. | |
7876 | |
7877 2011-05-03 Ingo Weinzierl <ingo@intevation.de> | |
7878 | |
7879 * src/main/resources/messages_en.properties: Bugfix: replaced german | |
7880 string (copy & paste mistake). | |
7881 | |
7882 2011-05-03 Ingo Weinzierl <ingo@intevation.de> | |
7883 | |
7884 * src/main/resources/messages.properties, | |
7885 src/main/resources/messages_de_DE.properties, | |
7886 src/main/resources/messages_en.properties, | |
7887 src/main/resources/messages_de.properties: Added new i18n strings for | |
7888 for the location selection. | |
7889 | |
7890 2011-05-03 Ingo Weinzierl <ingo@intevation.de> | |
7891 | |
7892 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java: | |
7893 New. An OutGenerator for creating duration curves. | |
7894 | |
7895 * src/main/java/de/intevation/flys/artifacts/model/WQDay.java: New. A | |
7896 model class to store necessary data for creating W and Q facets of a | |
7897 duration curve. This model stores W, Q and Days. | |
7898 | |
7899 * src/main/java/de/intevation/flys/artifacts/model/MainValuesFactory.java: | |
7900 Added a function to retrieve tuples of (day, q) based on a given gauge - | |
7901 these tuples are necessary for creating duration curves. | |
7902 | |
7903 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Added | |
7904 methods to compute and retrieve the data necessary for creating duration | |
7905 curves. | |
7906 | |
7907 * src/main/java/de/intevation/flys/artifacts/states/LocationSelect.java: | |
7908 Bugfix: improved the access to the location array (avoid | |
7909 NullPointerException). | |
7910 | |
7911 * doc/conf/conf.xml: Registered the new OutGenerator for duration curves. | |
7912 | |
7913 2011-05-03 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
7914 | |
7915 * contrib/visualize-transitions.xsl: State quoting was done wrong. | |
7916 | |
7917 2011-05-02 Ingo Weinzierl <ingo@intevation.de> | |
7918 | |
7919 * doc/conf/artifacts/winfo.xml: Enhanced the transition model to reach the | |
7920 final state for creating duration curves. | |
7921 | |
7922 * src/main/java/de/intevation/flys/artifacts/states/LocationSelect.java: | |
7923 New. This state should be reached to just insert an array of locations. | |
7924 | |
7925 * src/main/java/de/intevation/flys/artifacts/states/DurationCurveState.java: | |
7926 New. This state is reached if the duration curve calculation is | |
7927 selected. | |
7928 | |
7929 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Adjusted | |
7930 getDistance() so that it takes care on inserted locations - not just | |
7931 inserted ranges. | |
7932 | |
7933 2011-05-02 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
7934 | |
7935 * src/main/java/de/intevation/flys/artifacts/cache/CacheFactory.java: | |
7936 Flush/persist caches at program exists. | |
7937 | |
7938 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
7939 Commented out too eloquent debug output. | |
7940 | |
7941 2011-05-02 Ingo Weinzierl <ingo@intevation.de> | |
7942 | |
7943 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java: | |
7944 Uses the methods of FLYSArtifact to retrieve the necessary information | |
7945 rivername and selected distance. | |
7946 | |
7947 2011-05-02 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
7948 | |
7949 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
7950 Added interpolateW method to take reference to result ws array | |
7951 as an argument to avoid expensive array allocations in km iterating | |
7952 loops. | |
7953 | |
7954 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java: | |
7955 Added a constructor to create backing trove datastructure | |
7956 with the right capacity. | |
7957 | |
7958 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
7959 Move allocation of result ws out of km loop. | |
7960 | |
7961 2011-05-02 Ingo Weinzierl <ingo@intevation.de> | |
7962 | |
7963 * doc/conf/artifacts/winfo.xml: Added two further data items in the WQ | |
7964 selection state. Those items are necessary to store the information | |
7965 about the selected mode (range/single selection) and the values of the | |
7966 single selection. | |
7967 | |
7968 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: If | |
7969 there is no value for a data item, this item is not written into the | |
7970 static DESCRIBE part. | |
7971 | |
7972 * src/main/java/de/intevation/flys/artifacts/states/RangeState.java, | |
7973 src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java: | |
7974 Renamed the method to validate upper and lower values. | |
7975 | |
7976 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java: This | |
7977 state can now handle values inserted in the single selection. Therefore, | |
7978 new validate methods has been added. | |
7979 | |
7980 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: The | |
7981 methods getWs() and getWs() take care on the values inserted in the | |
7982 single insert mode of the client which enables the user to insert single | |
7983 W and Q. | |
7984 | |
7985 2011-05-02 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
7986 | |
7987 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java: | |
7988 Repaired getQForW() by calculating indices on right dimension. | |
7989 | |
7990 2011-05-02 Ingo Weinzierl <ingo@intevation.de> | |
7991 | |
7992 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: New | |
7993 methods for retrieving selected W values (getWs()). | |
7994 | |
7995 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: The | |
7996 method for retrieving waterlevel data takes care on selected Ws, now. | |
7997 The selected Ws are transformed using the DischargeTables.getQForW() | |
7998 into Q values. | |
7999 | |
8000 2011-05-02 Ingo Weinzierl <ingo@intevation.de> | |
8001 | |
8002 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java: | |
8003 Removed an unused parameter 'result' of getQForW(). | |
8004 | |
8005 2011-05-02 Ingo Weinzierl <ingo@intevation.de> | |
8006 | |
8007 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Removed | |
8008 the getDataset() method and replaced it with a addDataset() method. | |
8009 On this way, concrete subclasses of this OutGenerator can have multiple | |
8010 datasets (e.g. different datasets for W and Q). This abstract method is | |
8011 called after the chart generation is finished. | |
8012 | |
8013 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java, | |
8014 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java: | |
8015 Both classes implement the addDataset() method. The | |
8016 LongitudinalSectionGenerator has already multiple datasets for W and Q. | |
8017 Both are added to the chart - both have an own range axis. | |
8018 | |
8019 2011-05-01 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
8020 | |
8021 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
8022 Use the cache for the wst value table if configured. | |
8023 | |
8024 * doc/conf/cache.xml: Choose a more precise name for the | |
8025 wst value table cache. | |
8026 | |
8027 2011-04-29 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
8028 | |
8029 * pom.xml: Added dependency to Ehcache. Apache 2.0 license. | |
8030 | |
8031 * doc/conf/conf.xml: Added configuration of ehcache. | |
8032 | |
8033 * doc/conf/cache.xml: New. Cache configurations. | |
8034 | |
8035 * src/main/java/de/intevation/flys/artifacts/cache/CacheFactory.java: | |
8036 New. Factory to access caches. | |
8037 | |
8038 2011-04-29 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
8039 | |
8040 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java: | |
8041 Forgot to add. | |
8042 | |
8043 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java: | |
8044 New. Given a database connection and a XML template it generates | |
8045 an output with meta data about the database. | |
8046 | |
8047 * src/main/java/de/intevation/flys/artifacts/services/meta/CompiledStatement.java: | |
8048 New. Holds prepared statements optimized to be run in the stack of | |
8049 contextes. | |
8050 | |
8051 * src/main/java/de/intevation/flys/artifacts/services/meta/StackFrames.java: | |
8052 New. Model to hold a hierarchical scope of variables. | |
8053 | |
8054 * src/main/java/de/intevation/flys/artifacts/services/meta/ResultData.java: | |
8055 New. Stores data set fetched from a sql select to be iterated in | |
8056 a context. | |
8057 | |
8058 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java, | |
8059 src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
8060 Removed superfluous imports. | |
8061 | |
8062 2011-04-29 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
8063 | |
8064 * doc/conf/conf.xml: Added meta data service. | |
8065 | |
8066 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java: | |
8067 Stub for the meta data service. | |
8068 | |
8069 * src/main/resources/metadata/template.xml: Initial template for | |
8070 the meta data service. | |
8071 | |
8072 2011-04-29 Ingo Weinzierl <ingo@intevation.de> | |
8073 | |
8074 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
8075 Bugfix: Now, curves for Q values are drawn into a longitudinal section | |
8076 chart as well. Therefore, it was necessary to change the datastructure | |
8077 of the inner class ThemeList that stores all themes included in a chart | |
8078 in an ordered list (stored in a java.util.Vector now). | |
8079 | |
8080 2011-04-29 Ingo Weinzierl <ingo@intevation.de> | |
8081 | |
8082 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: New. An | |
8083 abstract base class for ChartGenerators that create XY charts. | |
8084 | |
8085 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java: | |
8086 Sourced the generate() method out to the XYChartGenerator. | |
8087 | |
8088 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
8089 Implemented the methods to add W and Q facets to the chart. | |
8090 | |
8091 2011-04-29 Ingo Weinzierl <ingo@intevation.de> | |
8092 | |
8093 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Improved | |
8094 the calculation of the step with for ranges. | |
8095 | |
8096 2011-04-29 Ingo Weinzierl <ingo@intevation.de> | |
8097 | |
8098 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java: Added a | |
8099 method that returns the number of elements stored in the data pool. | |
8100 | |
8101 2011-04-29 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
8102 | |
8103 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java: | |
8104 Added a get() method which takes destination array as an | |
8105 argument. | |
8106 | |
8107 2011-04-29 Ingo Weinzierl <ingo@intevation.de> | |
8108 | |
8109 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java: Changed the | |
8110 data structure to store w, q and kms values from List<Double> to | |
8111 TDoubleArrayList which stores native double values instead of big | |
8112 Double values. | |
8113 | |
8114 * pom.xml: Added the GNU Trove dependency. | |
8115 | |
8116 2011-04-29 Ingo Weinzierl <ingo@intevation.de> | |
8117 | |
8118 * src/main/java/de/intevation/flys/exports/OutGenerator.java: Added the | |
8119 name a the requested facet to doOut(). Concrete generators should just | |
8120 create output for this facet now. | |
8121 | |
8122 * src/main/java/de/intevation/flys/exports/ChartGenerator.java, | |
8123 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java, | |
8124 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java: | |
8125 Adapted the method signature of doOut(). | |
8126 | |
8127 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
8128 Adapted the method call of OutGenerator.doOut(). | |
8129 | |
8130 2011-04-29 Ingo Weinzierl <ingo@intevation.de> | |
8131 | |
8132 * doc/conf/themes.xml: Added mappings for the facets | |
8133 longitudinal.section.w and longitudinal.section.q. | |
8134 | |
8135 2011-04-29 Ingo Weinzierl <ingo@intevation.de> | |
8136 | |
8137 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Added some | |
8138 methods to retrieve necessary information for computing the data of a | |
8139 waterlevel. | |
8140 | |
8141 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Added | |
8142 methods to compute and retrieve the data of a waterlevel computation. | |
8143 | |
8144 2011-04-29 Ingo Weinzierl <ingo@intevation.de> | |
8145 | |
8146 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java: New. This | |
8147 model class represents a pool of data triples that consist of W, Q and | |
8148 Kms information. This class might be used to compute data for creating | |
8149 longitudinal section curves (which are based on those W, Q and Kms | |
8150 values). | |
8151 | |
8152 2011-04-29 Ingo Weinzierl <ingo@intevation.de> | |
8153 | |
8154 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
8155 Bugfix: Removed endless loop and a bug while iterating over Hibernate | |
8156 results. | |
8157 | |
8158 2011-04-28 Ingo Weinzierl <ingo@intevation.de> | |
8159 | |
8160 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
8161 New. An OutGenerator that creates longitudinal section curves. | |
8162 | |
8163 NOTE: This is just the stub - the out creation needs to be implemented! | |
8164 | |
8165 * doc/conf/conf.xml: Added the LongitudinalSectionGenerator. | |
8166 | |
8167 2011-04-28 Ingo Weinzierl <ingo@intevation.de> | |
8168 | |
8169 * doc/conf/conf.xml: Bugfix: Added missing <output-generators> section. | |
8170 | |
8171 2011-04-28 Ingo Weinzierl <ingo@intevation.de> | |
8172 | |
8173 * src/main/java/de/intevation/flys/artifacts/WaterlevelState.java: New. | |
8174 This state should be reached if the 'calc.surface.curve' calculation | |
8175 method has been chosen. | |
8176 | |
8177 * doc/conf/artifacts/winfo.xml: Modified a transition and added the | |
8178 WaterlevelState. This state is reached if the 'calc.surface.curve' | |
8179 calculation method has been chosen. It currently has 1 output - a | |
8180 longitudinal section that is not implemented yet! | |
8181 | |
8182 2011-04-28 Ingo Weinzierl <ingo@intevation.de> | |
8183 | |
8184 * src/main/java/de/intevation/flys/artifacts/transitions/ValueCompareTransition.java: | |
8185 New. This transition is valid if the a data object of the current | |
8186 artifact equals/notequals a configured value in the transition model. | |
8187 | |
8188 2011-04-28 Ingo Weinzierl <ingo@intevation.de> | |
8189 | |
8190 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java, | |
8191 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Bugfixes: | |
8192 - Adapted the parameters of the isStateReachable() call - added the | |
8193 artifact and the current state. | |
8194 - Append the outputs of a current state if the state is filled with | |
8195 valid data. | |
8196 | |
8197 2011-04-28 Ingo Weinzierl <ingo@intevation.de> | |
8198 | |
8199 * src/main/java/de/intevation/flys/artifacts/transitions/DefaultTransition.java: | |
8200 Added the missing init() method that has been introduced in the | |
8201 interface some commits ealier. | |
8202 | |
8203 * src/main/java/de/intevation/flys/artifacts/transitions/TransitionFactory.java: | |
8204 Call init() after a Transition has been created. | |
8205 | |
8206 2011-04-28 Ingo Weinzierl <ingo@intevation.de> | |
8207 | |
8208 * src/main/java/de/intevation/flys/collections/AttributeWriter.java: | |
8209 Bugfix: Introduced a <art:outputs> node in the attribute document of a | |
8210 Collection that contains further <art:output> nodes - instead of having | |
8211 multiple <art:output> nodes at toplevel of the document. | |
8212 | |
8213 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
8214 Adapted the XPath to retrieve the outputs in the attribute document of a | |
8215 Collection. | |
8216 | |
8217 2011-04-28 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
8218 | |
8219 * contrib/visualize-transitions.xsl: Added to create a | |
8220 Graphviz digraph out of the config.xml. Usage: | |
8221 | |
8222 $ xsltproc --stringparam base-dir ../doc/conf/ \ | |
8223 contrib/visualize-transitions.xsl \ | |
8224 doc/conf/conf.xml > transitions.dot | |
8225 | |
8226 $ dot -Tsvg -o transitions.svg transitions.dot | |
8227 | |
8228 2011-04-28 Ingo Weinzierl <ingo@intevation.de> | |
8229 | |
8230 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java, | |
8231 src/main/java/de/intevation/flys/artifacts/states/WQSelect.java: | |
8232 If no data has been inserted so far, an IllegalArgumentException is | |
8233 thrown. | |
8234 | |
8235 2011-04-28 Ingo Weinzierl <ingo@intevation.de> | |
8236 | |
8237 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:: | |
8238 A lot of new methods to retrieve the theme of a facet - used while | |
8239 creating the output of a facet/artifact. If a facet has no theme yet, it | |
8240 is initialized. | |
8241 | |
8242 2011-04-27 Ingo Weinzierl <ingo@intevation.de> | |
8243 | |
8244 * src/main/java/de/intevation/flys/collections/AttributeParser.java, | |
8245 src/main/java/de/intevation/flys/collections/OutputParser.java: Removed | |
8246 useless imports. | |
8247 | |
8248 2011-04-27 Ingo Weinzierl <ingo@intevation.de> | |
8249 | |
8250 * src/main/java/de/intevation/flys/exports/ChartGenerator.java: New. An | |
8251 abstract OutGenerator that might be used to create chart output. Some | |
8252 basic things that are equal in all charts should be done here! | |
8253 | |
8254 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java: | |
8255 This OutGenerator no longer implements the OutGenerator directly, but it | |
8256 extends the ChartGenerator now. | |
8257 | |
8258 2011-04-27 Ingo Weinzierl <ingo@intevation.de> | |
8259 | |
8260 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
8261 Restructured the out() operation of a collection: Now, we collect a list | |
8262 of artifacts/facets and use this for the OutGenerator. Its doOut() | |
8263 method gets the attribute of an artifact - the position and the active | |
8264 state is managed by the Collection itself. | |
8265 | |
8266 2011-04-26 Ingo Weinzierl <ingo@intevation.de> | |
8267 | |
8268 * src/main/java/de/intevation/flys/artifacts/model/ManagedFacet.java: New. | |
8269 a specialized facet that stores information about its position and its | |
8270 state (active/inactive) in an output of a collection. | |
8271 | |
8272 * src/main/java/de/intevation/flys/collections/AttributeParser.java: New. | |
8273 This parser takes the attributes (XML) of a collection and extracts the | |
8274 contained outputs with its facets. The result is a Map<String, Output>. | |
8275 | |
8276 * src/main/java/de/intevation/flys/collections/OutputParser.java: New. | |
8277 This parser is used to query the artifact's DESCRIBE and to extract the | |
8278 supported outputs. The result is a Map<String, Output>. | |
8279 | |
8280 * src/main/java/de/intevation/flys/collections/AttributeWriter.java: New. | |
8281 This writer merges the outputs contained in an attribute of a collection | |
8282 with the outputs of a collection's artifacts. | |
8283 | |
8284 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
8285 The attributes of a collection are written into its DESCRIBE document | |
8286 now. The OutputParser and AttributeParser are used to read the supported | |
8287 attributes by the collection and its artifacts - the AttributeWriter is | |
8288 used to merge both attributes and create a final attribute document. | |
8289 | |
8290 2011-04-26 Ingo Weinzierl <ingo@intevation.de> | |
8291 | |
8292 * src/main/java/de/intevation/flys/artifacts/context/FLYSContext.java, | |
8293 src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java: | |
8294 The facet-2-theme mappings are initialized at startup and stored in the | |
8295 FLYSContext. | |
8296 | |
8297 * src/main/java/de/intevation/flys/themes/ThemeFactory.java: Added a | |
8298 function that retrieves a theme from FLYSContext based on its name. | |
8299 | |
8300 2011-04-22 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
8301 | |
8302 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
8303 Corrected a silly c&p mistake. | |
8304 | |
8305 2011-04-22 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
8306 | |
8307 * src/main/java/de/intevation/flys/artifacts/math/BackJumpCorrector.java: | |
8308 | |
8309 Implementation of the "Ruecksprungkorrektur" to be done in | |
8310 "W fuer angepassten Abflusslaengschnitt". | |
8311 | |
8312 All tests show the expected results. In some corner cases the | |
8313 algorithm described in the "Anwenderhandbuch" chapter 3.3.4.3 "Korrektur" | |
8314 has some definition shortcomings: | |
8315 | |
8316 a - What should happend when you cannot find point 2 because | |
8317 you cannot step back one quarter from point 3 because there | |
8318 is no data there any more (river too short in this direction)? | |
8319 The implemented algorithm raises point 3' only to an | |
8320 according factor. E.g. If you can step back the whole quarter | |
8321 distance the elevation is the full quarter. If you can | |
8322 step back only the half of the quarter the elevation is | |
8323 only an eighth. | |
8324 | |
8325 b - If the water heights between point 2 and 3 are constant then | |
8326 the algorithm will produce a spline interpolation that | |
8327 lowers those values. Is this intended? | |
8328 | |
8329 For real data the back jumps are expected to be more in the middle | |
8330 of the distance ranges so the corner cases are maybe not so | |
8331 important. | |
8332 | |
8333 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java: | |
8334 Removed superfluous import. | |
8335 | |
8336 2011-04-21 Ingo Weinzierl <ingo@intevation.de> | |
8337 | |
8338 * src/main/java/de/intevation/flys/themes/ThemeFactory.java: Removed debug | |
8339 code that has been commited by accident. | |
8340 | |
8341 2011-04-21 Ingo Weinzierl <ingo@intevation.de> | |
8342 | |
8343 * doc/conf/themes.xml: New. A first small theme configuration. | |
8344 | |
8345 * doc/conf/conf.xml: Added a link to the theme configuration. | |
8346 | |
8347 * src/main/java/de/intevation/flys/artifacts/context/FLYSContext.java: | |
8348 Defined a key that is used to store a themes map in the FLYSContext. | |
8349 | |
8350 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java: | |
8351 The theme configuration is read at startup and the themes are stores in | |
8352 the FLYSContext. | |
8353 | |
8354 2011-04-21 Ingo Weinzierl <ingo@intevation.de> | |
8355 | |
8356 * src/main/java/de/intevation/flys/themes/Theme.java, | |
8357 src/main/java/de/intevation/flys/themes/DefaultTheme.java: | |
8358 New. The interface and its default implementation that represents themes | |
8359 used to style charts and maps. | |
8360 | |
8361 * src/main/java/de/intevation/flys/themes/ThemeField.java, | |
8362 src/main/java/de/intevation/flys/themes/DefaultThemeField.java: | |
8363 New. The interface and its default implementation that represents fields | |
8364 in themes. A theme might be "Lines" and one of its field might be | |
8365 "Color" or "Size". | |
8366 | |
8367 * src/main/java/de/intevation/flys/themes/ThemeFactory.java: A factory | |
8368 that creates new themes based on a theme configuration. | |
8369 | |
8370 2011-04-20 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
8371 | |
8372 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
8373 Implementation of "Abflusskurve/Abflusstafel" calculation. | |
8374 | |
8375 Added method interpolateWQ() which takes an km and results in a | |
8376 tuple of two double arrays containing the w/q values interpolated | |
8377 between the surrounding w/q values of the table. | |
8378 w values are interpolated linear, q values with a cubic spline. | |
8379 | |
8380 Drawing w over q gives you the discharge table at the given km. | |
8381 | |
8382 !!! This code needs testing !!! | |
8383 | |
8384 2011-04-20 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
8385 | |
8386 * pom.xml: Added dependency to Apache Commons Math 2.2 (Apache License 2.0) | |
8387 | |
8388 2011-04-20 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
8389 | |
8390 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java: | |
8391 Fix problem when sorting by q (copied w instead of q). | |
8392 | |
8393 2011-04-20 Ingo Weinzierl <ingo@intevation.de> | |
8394 | |
8395 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java: | |
8396 Fixed broken HQL statement. | |
8397 | |
8398 2011-04-19 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
8399 | |
8400 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
8401 add a method interpolateW() which takes an array of | |
8402 q values and returns an equal sized array of w values. | |
8403 This is essentially the "Wasserstand/Wasserspiegellagen" calculation | |
8404 of desktop FLYS. | |
8405 | |
8406 If you want to do a calculation with given w values you have | |
8407 to convert the w values with DischargeTables.getQForW() first. | |
8408 | |
8409 !!! This code needs heavy testing !!! | |
8410 | |
8411 2011-04-19 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
8412 | |
8413 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java: | |
8414 We need a getQForW() method and not getWForQ() because when | |
8415 doing a "Wasserstand/Wasserspiegellagen" calculation with given | |
8416 w values these values need to be translated to q values with | |
8417 the master discharge table. | |
8418 | |
8419 2011-04-19 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
8420 | |
8421 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java: | |
8422 Sorting of q values was done wrong. | |
8423 | |
8424 2011-04-19 Ingo Weinzierl <ingo@intevation.de> | |
8425 | |
8426 * src/main/java/de/intevation/flys/artifacts/model/AnnotationsFactory.java: | |
8427 Ordered the list of annotations returned by this factory based on its | |
8428 range. | |
8429 | |
8430 2011-04-19 Ingo Weinzierl <ingo@intevation.de> | |
8431 | |
8432 * src/main/java/de/intevation/flys/artifacts/services/MainValuesService.java: | |
8433 New. This service returns an XML document that includes the main values | |
8434 of a gauge based on a river name, a start and an end point. | |
8435 | |
8436 * doc/conf/conf.xml: Registered the MainValuesService. | |
8437 | |
8438 2011-04-19 Ingo Weinzierl <ingo@intevation.de> | |
8439 | |
8440 * src/main/java/de/intevation/flys/artifacts/model/MainValuesFactory.java: | |
8441 A factory that provides methods to return MainValues. | |
8442 | |
8443 2011-04-19 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
8444 | |
8445 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java: | |
8446 Added static method getWForQ() to interpolate a w value for | |
8447 a given q value based on a given discharge table. | |
8448 | |
8449 2011-04-19 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
8450 | |
8451 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java: | |
8452 Added convenience constructors/methods to ease the access to the master | |
8453 discharge table of a gauge. | |
8454 | |
8455 2011-04-18 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
8456 | |
8457 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
8458 Moved the query complexity into view 'wst_value_table' and | |
8459 used this instead. | |
8460 | |
8461 2011-04-18 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
8462 | |
8463 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
8464 Fetches w/q value tables from the backend. TODO: Move this | |
8465 to the backend and use a view. | |
8466 | |
8467 2011-04-18 Ingo Weinzierl <ingo@intevation.de> | |
8468 | |
8469 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Changed | |
8470 the error key that is thrown if no input data was found so that the key | |
8471 is usable for GWT's i18n mechanism. | |
8472 | |
8473 2011-04-18 Ingo Weinzierl <ingo@intevation.de> | |
8474 | |
8475 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java: | |
8476 The inserted river is validated now (overrides validate() of | |
8477 DefaultState). | |
8478 | |
8479 2011-04-18 Ingo Weinzierl <ingo@intevation.de> | |
8480 | |
8481 * src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java: | |
8482 The inserted calculation method is validated now (overrides validate() | |
8483 of DefaultState). | |
8484 | |
8485 2011-04-18 Ingo Weinzierl <ingo@intevation.de> | |
8486 | |
8487 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
8488 The input data of feed() are validated using the DefaultStates | |
8489 validate() method. | |
8490 | |
8491 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: | |
8492 New method validate() that needs to be overidden by concrete subclasses. | |
8493 It should return true, if the data of the State is fine, otherwise it | |
8494 should raise an exception. | |
8495 | |
8496 NOTE: The exceptions are not translated in the server but in the client! | |
8497 | |
8498 * src/main/java/de/intevation/flys/artifacts/states/RangeState.java: New. | |
8499 This abstract class exists to provide some methods for handling ranges. | |
8500 Currently, there is a method that validates a given range based on | |
8501 min/max values. | |
8502 | |
8503 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java, | |
8504 src/main/java/de/intevation/flys/artifacts/states/WQSelect.java: | |
8505 Implemented input data validation for ranges. | |
8506 | |
8507 NOTE: The input validation of concrete values has not been implemented | |
8508 yet! | |
8509 | |
8510 2011-04-18 Ingo Weinzierl <ingo@intevation.de> | |
8511 | |
8512 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
8513 Removed debug code that has been commited by accident :-/ | |
8514 | |
8515 2011-04-18 Ingo Weinzierl <ingo@intevation.de> | |
8516 | |
8517 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: The | |
8518 getGauge() method returns the first gauge based on the given start and | |
8519 end point of the river. | |
8520 | |
8521 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java: | |
8522 Fixed potential bugs: if no gauge could be determined, the default | |
8523 values for W and Q are the minimum and maximum double values. | |
8524 | |
8525 2011-04-15 Ingo Weinzierl <ingo@intevation.de> | |
8526 | |
8527 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java: Fills | |
8528 the DESCRIBE with default values for W and Q. | |
8529 | |
8530 2011-04-15 Ingo Weinzierl <ingo@intevation.de> | |
8531 | |
8532 * src/main/java/de/intevation/flys/artifacts/model/WstFactory.java: | |
8533 New. Returns Wst object - based on a river. | |
8534 | |
8535 2011-04-15 Ingo Weinzierl <ingo@intevation.de> | |
8536 | |
8537 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Now | |
8538 provides some methods that return some basic objects inserted while | |
8539 parameterization: River, Gauge and so on. | |
8540 | |
8541 2011-04-15 Ingo Weinzierl <ingo@intevation.de> | |
8542 | |
8543 * src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java, | |
8544 src/main/java/de/intevation/flys/artifacts/services/RiverService.java: | |
8545 Bugfix: Repaired broken imports of the SessionHolder. | |
8546 | |
8547 2011-04-15 Ingo Weinzierl <ingo@intevation.de> | |
8548 | |
8549 * src/main/java/de/intevation/flys/artifacts/model/SessionHolder.java: | |
8550 Moved this class to flys-backend. | |
8551 | |
8552 * src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java, | |
8553 src/main/java/de/intevation/flys/artifacts/model/GaugesFactory.java, | |
8554 src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java, | |
8555 src/main/java/de/intevation/flys/artifacts/model/AnnotationsFactory.java, | |
8556 src/main/java/de/intevation/flys/artifacts/context/SessionCallContextListener.java: | |
8557 Adapted imports of the SessionHolder. | |
8558 | |
8559 2011-04-14 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
8560 | |
8561 * trunk/src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java, | |
8562 trunk/src/main/java/de/intevation/flys/artifacts/services/RiverService.java: | |
8563 Acquire/release sessions in services to avoid db connection leaks. | |
8564 | |
8565 2011-04-14 Ingo Weinzierl <ingo@intevation.de> | |
8566 | |
8567 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: | |
8568 Changed some method signatures - added a reference to the owner | |
8569 Artifact. | |
8570 | |
8571 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java, | |
8572 src/main/java/de/intevation/flys/artifacts/states/WQSelect.java, | |
8573 src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java: | |
8574 Modified method signatures based on the changes in DefaultState. | |
8575 | |
8576 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java: | |
8577 Added default values to the dynamic part of DESCRIBE. | |
8578 | |
8579 2011-04-14 Ingo Weinzierl <ingo@intevation.de> | |
8580 | |
8581 * src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java: | |
8582 Added a function that returns a River object based on a given river | |
8583 name. | |
8584 | |
8585 2011-04-14 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
8586 | |
8587 * src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java, | |
8588 src/main/java/de/intevation/flys/artifacts/model/GaugesFactory.java, | |
8589 src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java, | |
8590 src/main/java/de/intevation/flys/artifacts/model/AnnotationsFactory.java: | |
8591 Static methods are using the SessionHolder, too. | |
8592 | |
8593 2011-04-14 Ingo Weinzierl <ingo@intevation.de> | |
8594 | |
8595 * src/main/java/de/intevation/flys/artifacts/context/SessionCallContextListener.java: | |
8596 Added the setup() method that has been added to the interface | |
8597 description in the last commits. | |
8598 | |
8599 * doc/conf/conf.xml: Registered the SessionCallContextListener as | |
8600 CallContext.Listener. | |
8601 | |
8602 2011-04-14 Ingo Weinzierl <ingo@intevation.de> | |
8603 | |
8604 * src/main/java/de/intevation/flys/artifacts/model/SessionHolder.java: | |
8605 Bugfix: Call correct method to retrieve an instance of | |
8606 SessionFactoryProvider. | |
8607 | |
8608 2011-04-14 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
8609 | |
8610 * src/main/java/de/intevation/flys/artifacts/model/SessionHolder.java: | |
8611 New. Contains thread local session holder for hibernate sessions. | |
8612 | |
8613 * src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java: | |
8614 Uses session from SessionHolder. | |
8615 | |
8616 * src/main/java/de/intevation/flys/artifacts/context/SessionCallContextListener.java: | |
8617 Interacts with SessionHolder now. | |
8618 | |
8619 * src/main/java/de/intevation/flys/exports/ChartExportHelper.java: | |
8620 Removed superfluous import. | |
8621 | |
8622 2011-04-14 Ingo Weinzierl <ingo@intevation.de> | |
8623 | |
8624 * src/main/java/de/intevation/flys/artifacts/context/SessionCallContextListener.java: | |
8625 Implementation of a CallContext.Listener to open/close Hibernate | |
8626 Sessions for each request. | |
8627 | |
8628 2011-04-14 Ingo Weinzierl <ingo@intevation.de> | |
8629 | |
8630 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java, | |
8631 src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: | |
8632 Some modifications related to the last commit - modification of the | |
8633 describe() signature of a State. | |
8634 | |
8635 2011-04-14 Ingo Weinzierl <ingo@intevation.de> | |
8636 | |
8637 * src/main/java/de/intevation/flys/artifacts/states/GaugeSelect.java: | |
8638 Removed. We do not need a state to select a gauge - the selection takes | |
8639 place by choosing a start and an end point. | |
8640 | |
8641 2011-04-13 Ingo Weinzierl <ingo@intevation.de> | |
8642 | |
8643 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java: | |
8644 Bugfix: added missing label node to root node and a namespace to the | |
8645 data node. | |
8646 | |
8647 2011-04-12 Ingo Weinzierl <ingo@intevation.de> | |
8648 | |
8649 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
8650 The name of the artifact 'winfo' is written into the DESCRIBE document | |
8651 now. We need this to have a proper way to distinguish between different | |
8652 artifacts in the UI. | |
8653 | |
8654 2011-04-12 Ingo Weinzierl <ingo@intevation.de> | |
8655 | |
8656 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Bugfix: | |
8657 States are filled with data before they describe themself. | |
8658 | |
8659 2011-04-11 Ingo Weinzierl <ingo@intevation.de> | |
8660 | |
8661 * src/main/java/de/intevation/flys/artifacts/model/AnnotationsFactory.java: | |
8662 New. A factory that returns the annotations of a specific river. | |
8663 | |
8664 * src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java: | |
8665 New. This service provides a document that contains information about | |
8666 distances of a river. | |
8667 | |
8668 * doc/conf/conf.xml: Registered the DistanceInfoService. | |
8669 | |
8670 2011-04-06 Ingo Weinzierl <ingo@intevation.de> | |
8671 | |
8672 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
8673 This collection overrides the out() operation now. The incoming request | |
8674 document is read and the related OutGenerator is used to create the | |
8675 output. | |
8676 | |
8677 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Removed | |
8678 the code to create discharge curves. It has moved to the | |
8679 DischargeCurveGenerator which now does this work. | |
8680 | |
8681 2011-04-06 Ingo Weinzierl <ingo@intevation.de> | |
8682 | |
8683 * src/main/java/de/intevation/flys/exports/OutGenerator.java: The | |
8684 generate() method throws an IOException now. | |
8685 | |
8686 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java: | |
8687 New. This OutGenerator creates discharge curves. | |
8688 | |
8689 2011-04-06 Ingo Weinzierl <ingo@intevation.de> | |
8690 | |
8691 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Changed | |
8692 the visibility of the getData() method. It's now public, because the | |
8693 OutGenerator needs an artifact's data. | |
8694 | |
8695 2011-04-03 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
8696 | |
8697 * src/**/*.java: Removed trailing whitespace. | |
8698 | |
8699 2011-04-03 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
8700 | |
8701 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
8702 Make project compilable again by | |
8703 commenting out a not existing XMLDebug reference. | |
8704 | |
8705 2011-03-31 Ingo Weinzierl <ingo@intevation.de> | |
8706 | |
8707 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java: | |
8708 Added code to parse the configured OutGenerators and to save them (in a | |
8709 map) in the FLYSContext. | |
8710 | |
8711 * src/main/java/de/intevation/flys/artifacts/context/FLYSContext.java: | |
8712 Added a key that is used to save the OutGenerators Map in the context. | |
8713 | |
8714 2011-03-31 Ingo Weinzierl <ingo@intevation.de> | |
8715 | |
8716 * src/main/java/de/intevation/flys/exports/OutGenerator.java: | |
8717 New. This interface is used to generator different types of output. | |
8718 ArtifactCollections will make use of this interface to create a | |
8719 collected output of all its artifacts. | |
8720 | |
8721 2011-03-30 Ingo Weinzierl <ingo@intevation.de> | |
8722 | |
8723 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
8724 Removed the Backend from FLYSArtifactCollection - used ArtifactDatabase | |
8725 operations instead. | |
8726 | |
8727 * TODO: Removed 'remove Backend reference' TODO. | |
8728 | |
8729 2011-03-30 Ingo Weinzierl <ingo@intevation.de> | |
8730 | |
8731 * doc/conf/artifacts/winfo.xml: Enhanced the configuration of the | |
8732 discharge curve output mode. This output now provides three facets - W, | |
8733 Q and the curve itself. | |
8734 | |
8735 2011-03-30 Ingo Weinzierl <ingo@intevation.de> | |
8736 | |
8737 Tagged RELEASE 0.1 | |
8738 | |
8739 2011-03-30 Ingo Weinzierl <ingo@intevation.de> | |
8740 | |
8741 * doc/conf/artifacts/winfo.xml: Renamed an output mode in the WINFO | |
8742 artifact configuration. | |
8743 | |
8744 2011-03-29 Ingo Weinzierl <ingo@intevation.de> | |
8745 | |
8746 * src/main/resources/messages_de_DE.properties, | |
8747 src/main/resources/messages_de.properties: Changed a german string. | |
8748 | |
8749 2011-03-29 Ingo Weinzierl <ingo@intevation.de> | |
8750 | |
8751 * src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java: | |
8752 Modified the available calculation modes and its order in the DESCRIBE | |
8753 document. | |
8754 | |
8755 * src/main/resources/messages.properties, | |
8756 src/main/resources/messages_de_DE.properties, | |
8757 src/main/resources/messages_en.properties, | |
8758 src/main/resources/messages_de.properties: Adapted the names of | |
8759 calculation modes. | |
8760 | |
8761 2011-03-28 Ingo Weinzierl <ingo@intevation.de> | |
8762 | |
8763 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
8764 Added the hash code of an artifact to the artifact part of the | |
8765 collection's DESCRIBE document. | |
8766 | |
8767 2011-03-28 Ingo Weinzierl <ingo@intevation.de> | |
8768 | |
8769 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Changed | |
8770 the background color of discharge curves to white. | |
8771 | |
8772 2011-03-28 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
8773 | |
8774 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java: | |
8775 Cache the scale, too. Otherwise two calls to getValues() with | |
8776 different arguments will result in the same output. | |
8777 | |
8778 2011-03-28 Ingo Weinzierl <ingo@intevation.de> | |
8779 | |
8780 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java: | |
8781 Introduced a 'scale' parameter in the getValues() method. | |
8782 | |
8783 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Filled | |
8784 the out() operation with code that draws a discharge table of one or | |
8785 more gauges specified by the given range in entered in a previous state. | |
8786 | |
8787 2011-03-28 Ingo Weinzierl <ingo@intevation.de> | |
8788 | |
8789 * src/main/java/de/intevation/flys/exports/ChartExportHelper.java: | |
8790 New. A helper class to exports charts. | |
8791 | |
8792 * pom.xml: Added dependencies to iText, Batik and JFreeChart. | |
8793 | |
8794 2011-03-28 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
8795 | |
8796 * src/main/java/de/intevation/flys/importer/PegelGltParser.java: | |
8797 Fixed swap of operands. | |
8798 | |
8799 2011-03-28 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
8800 | |
8801 * src/main/java/de/intevation/flys/artifacts/model/GaugesFactory.java: | |
8802 New. Load gauges for a river and filter them for given | |
8803 ranges. | |
8804 | |
8805 2011-03-25 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
8806 | |
8807 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java: | |
8808 Store data in a double [][] instead of interleaved double [] | |
8809 to be compatible with org.jfree.data.xy.DefaultXYDataset. | |
8810 | |
8811 2011-03-25 Ingo Weinzierl <ingo@intevation.de> | |
8812 | |
8813 * TODO: Removed 'i18n' and 'step-back' TODOs and added an issue to remove | |
8814 the Backend reference from FLYSArtifactCollection. | |
8815 | |
8816 2011-03-25 Ingo Weinzierl <ingo@intevation.de> | |
8817 | |
8818 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
8819 Added missing artifact namespace of an attribute in the DESCRIBE | |
8820 document. | |
8821 | |
8822 2011-03-24 Ingo Weinzierl <ingo@intevation.de> | |
8823 | |
8824 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
8825 New. This ArtifactCollection overrides the DefaultArtifactCollection to | |
8826 implement FLYS specific describe() and out() operations. | |
8827 | |
8828 * doc/conf/conf.xml: Use the FLYSArtifactCollection instead of the | |
8829 DefaultArtifactCollection for this application. | |
8830 | |
8831 2011-03-24 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
8832 | |
8833 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java: | |
8834 New. Fetches values of discharge tables in form of packed | |
8835 w/q double arrays for given gauges. | |
8836 | |
8837 * src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java: | |
8838 Removed needless import. | |
8839 | |
8840 2011-03-24 Ingo Weinzierl <ingo@intevation.de> | |
8841 | |
8842 * src/main/resources/messages_de_DE.properties: Added a german resource | |
8843 bundle to avoid exceptions in the flys artifacts. Sometimes, the | |
8844 Resources class is not able to find a 'de_DE' bundle and throws an | |
8845 exception. This is really strange, because it should use the 'de' bundle | |
8846 in that case, but it doesn't. | |
8847 | |
8848 2011-03-23 Ingo Weinzierl <ingo@intevation.de> | |
8849 | |
8850 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Added | |
8851 some code to append the output modes of previous states to the DESCRIBE | |
8852 document. | |
8853 | |
8854 TODO: Determine if the current state is already filled with data and | |
8855 append its output modes as well! | |
8856 | |
8857 2011-03-22 Ingo Weinzierl <ingo@intevation.de> | |
8858 | |
8859 * doc/conf/artifacts/winfo.xml: Enhanced the location_distance state with | |
8860 an output mode 'discharge_table'. | |
8861 | |
8862 2011-03-21 Ingo Weinzierl <ingo@intevation.de> | |
8863 | |
8864 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: | |
8865 Write human readable strings as label attribute into the DESCRIBE | |
8866 output. Those labels are used to be displayed in the GUI. | |
8867 | |
8868 2011-03-21 Ingo Weinzierl <ingo@intevation.de> | |
8869 | |
8870 * src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java: | |
8871 Added some further calculation types. | |
8872 | |
8873 * src/main/resources/messages.properties, | |
8874 src/main/resources/messages_en.properties, | |
8875 src/main/resources/messages_de.properties: Added i18n strings for the | |
8876 calculation types | |
8877 | |
8878 2011-03-21 Ingo Weinzierl <ingo@intevation.de> | |
8879 | |
8880 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
8881 Implemented the step-back part of the advance() operation. | |
8882 | |
8883 2011-03-21 Ingo Weinzierl <ingo@intevation.de> | |
8884 | |
8885 * src/main/resources/messages_de.properties: Fixed a german umlaut. | |
8886 | |
8887 2011-03-18 Ingo Weinzierl <ingo@intevation.de> | |
8888 | |
8889 * doc/conf/artifacts/winfo.xml: Added new states for entering a | |
8890 location/distance and w/q. | |
8891 | |
8892 * src/main/resources/messages.properties, | |
8893 src/main/resources/messages_en.properties, | |
8894 src/main/resources/messages_de.properties: New string for the | |
8895 location/distance and w/q input states. | |
8896 | |
8897 2011-03-18 Ingo Weinzierl <ingo@intevation.de> | |
8898 | |
8899 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java: | |
8900 New. A state for the W/Q input of the WINFO parameterization. | |
8901 | |
8902 2011-03-18 Ingo Weinzierl <ingo@intevation.de> | |
8903 | |
8904 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: | |
8905 Append an attribute 'uiprovider' to the dynamic UI node. | |
8906 | |
8907 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java: | |
8908 New. A state for the location/distance selection of the WINFO | |
8909 parameterization. | |
8910 | |
8911 2011-03-17 Ingo Weinzierl <ingo@intevation.de> | |
8912 | |
8913 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: | |
8914 Added a new method getUIProvider() that might be overriden by concreted | |
8915 subclasses that should be rendered with a specific UIProvider. | |
8916 | |
8917 2011-03-17 Ingo Weinzierl <ingo@intevation.de> | |
8918 | |
8919 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
8920 The static UI part is created by the previous states now. This makes it | |
8921 possible to group the data objects (which is necessary to group the | |
8922 objects in the ui). | |
8923 | |
8924 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: | |
8925 Added a describeStatic() method that creates a node that contains the | |
8926 data of that state. | |
8927 | |
8928 2011-03-17 Ingo Weinzierl <ingo@intevation.de> | |
8929 | |
8930 * src/main/java/de/intevation/flys/artifacts/services/RiverService.java: | |
8931 Removed TODO: the document contains the rivers provided by the backend | |
8932 now. | |
8933 | |
8934 2011-03-17 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
8935 | |
8936 * pom.xml: Added dependency to flys backend. | |
8937 | |
8938 * src/main/java/de/intevation/flys/artifacts/model/River.java: | |
8939 Removed. We are using the backend model now. | |
8940 | |
8941 * src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java: | |
8942 Fetches the rivers from the backend. | |
8943 | |
8944 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java: | |
8945 Import fixes. | |
8946 | |
8947 2011-03-15 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
8948 | |
8949 * doc/conf/conf.xml: Added section for database backend configuration. | |
8950 | |
8951 2011-03-15 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
8952 | |
8953 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java: | |
8954 Fixed build error coming from different import of XMLUtils. | |
8955 | |
8956 2011-03-14 Ingo Weinzierl <ingo@intevation.de> | |
8957 | |
8958 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: | |
8959 Appended the missing label node that contains the human readable name of | |
8960 the data item. | |
8961 | |
8962 2011-03-14 Ingo Weinzierl <ingo@intevation.de> | |
8963 | |
8964 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java, | |
8965 src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: | |
8966 I18N of strings for the DESCRIBE document. | |
8967 | |
8968 * src/main/resources/messages.properties, | |
8969 src/main/resources/messages_en.properties, | |
8970 src/main/resources/messages_de.properties: I18N strings for the | |
8971 calculcation mode state. | |
8972 | |
8973 2011-03-14 Ingo Weinzierl <ingo@intevation.de> | |
8974 | |
8975 * doc/conf/artifacts/winfo.xml: Modified the winfo states. | |
8976 | |
8977 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Adapted | |
8978 the artifact regarding the changes of the last commit. The states | |
8979 describe() method creates the dynamic UI node - the artifact needs to | |
8980 apply this node. | |
8981 | |
8982 * src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java: | |
8983 New. The state for choosing the calculation mode. | |
8984 | |
8985 * src/main/resources/messages.properties, | |
8986 src/main/resources/messages_en.properties, | |
8987 src/main/resources/messages_de.properties: Added i18n strings for the | |
8988 calculation mode state. | |
8989 | |
8990 2011-03-14 Ingo Weinzierl <ingo@intevation.de> | |
8991 | |
8992 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: | |
8993 New. This is the base state for the FLYS application. It provides a | |
8994 method that creates the dynamic ui node for the DESCRIBE. | |
8995 | |
8996 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java, | |
8997 src/main/java/de/intevation/flys/artifacts/states/GaugeSelect.java: Both | |
8998 classes extend the abstract base class DefaultState. | |
8999 | |
9000 2011-03-14 Ingo Weinzierl <ingo@intevation.de> | |
9001 | |
9002 * src/main/java/de/intevation/flys/artifacts/resources/Resources.java: | |
9003 New. This class retrieves the i18n strings from a ResourceBundle. | |
9004 | |
9005 * src/main/resources/messages.properties, | |
9006 src/main/resources/messages_en.properties, | |
9007 src/main/resources/messages_de.properties: Resource files for german and | |
9008 english translation. | |
9009 | |
9010 2011-03-10 Ingo Weinzierl <ingo@intevation.de> | |
9011 | |
9012 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Appended | |
9013 the data that have been inserted in former states into the static node | |
9014 of the DESCRIBE. | |
9015 | |
9016 2011-03-10 Ingo Weinzierl <ingo@intevation.de> | |
9017 | |
9018 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: The | |
9019 operations feed() and advance() return the description of the artifact | |
9020 using the describe() operation. This avoids additional server round trips | |
9021 in the client - the clients gets to know about the new state of the | |
9022 artifact immediately. | |
9023 | |
9024 2011-03-10 Ingo Weinzierl <ingo@intevation.de> | |
9025 | |
9026 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
9027 Implemented a part (step forward) of the advance operation. | |
9028 | |
9029 * TODO: Implement Step-Back in advance operation. | |
9030 | |
9031 2011-03-09 Ingo Weinzierl <ingo@intevation.de> | |
9032 | |
9033 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
9034 Implemented the abstract method getName(). It returns the constant | |
9035 'winfo' string. | |
9036 | |
9037 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
9038 Implemented the feed action. The data of an incoming feed() operation is | |
9039 stored in StateData objects that are saved in a map in the artifact. | |
9040 | |
9041 NOTE: There is no input validation and no i18n of error messages (see | |
9042 TODO). | |
9043 | |
9044 2011-03-09 Ingo Weinzierl <ingo@intevation.de> | |
9045 | |
9046 * TODO: This file contains some open points that need to be done. | |
9047 | |
9048 2011-03-09 Ingo Weinzierl <ingo@intevation.de> | |
9049 | |
9050 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: New. This | |
9051 artifact serves as the default artifact for the FLYS application. | |
9052 | |
9053 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: This | |
9054 artifact now inherits from FLYSArtifact. Furthermore, there is one big | |
9055 change: we don't store the State objects itself in the artifact, but | |
9056 just the identifier of those. This makes the artifact smaller and more | |
9057 compatible agains previous versions of the software. | |
9058 | |
9059 2011-03-08 Ingo Weinzierl <ingo@intevation.de> | |
9060 | |
9061 * src/main/java/de/intevation/flys/artifacts/services/RiverService.java: | |
9062 New. This service will retrieve a list of provided rivers. | |
9063 | |
9064 * doc/conf/conf.xml: Added a configuration for the RiverService. | |
9065 | |
9066 2011-03-07 Ingo Weinzierl <ingo@intevation.de> | |
9067 | |
9068 * doc/conf/conf.xml: Added a section user-factory and collection-factory in | |
9069 the factories part of the configuration. | |
9070 | |
9071 2011-03-01 Ingo Weinzierl <ingo@intevation.de> | |
9072 | |
9073 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java: | |
9074 Replaced the 'special' attribute from DESCRIBE with a 'uiprovider' | |
9075 attribute. | |
9076 | |
9077 2011-02-08 Ingo Weinzierl <ingo@intevation.de> | |
9078 | |
9079 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: The | |
9080 RiverSelect state is called to create the UI part of the describe | |
9081 document. | |
9082 | |
9083 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java: | |
9084 Implemented the dynamic UI part of describe(). The static part is not | |
9085 inserted into the describe document at the moment. We need a reference to | |
9086 the previous states for this. | |
9087 | |
9088 2011-02-08 Ingo Weinzierl <ingo@intevation.de> | |
9089 | |
9090 * src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java, | |
9091 src/main/java/de/intevation/flys/artifacts/model/River.java: New. A model | |
9092 class that represents a river and its factory to create concrete river | |
9093 instances. | |
9094 NOTE: Currently, this is just a mockup. The factory just returns two | |
9095 static rivers "Mosel" and "Saar" without a connection to a backend. | |
9096 | |
9097 2011-02-07 Ingo Weinzierl <ingo@intevation.de> | |
9098 | |
9099 * src/main/java/de/intevation/flys/artifacts/states/StateFactory.java: The | |
9100 input data of a state is initialized with empty StateData objects after | |
9101 the State has been created. | |
9102 | |
9103 * doc/conf/artifacts/winfo.xml: Renamed the input data nodes of the states | |
9104 which now fits better to the class name of the implementation. | |
9105 | |
9106 2011-02-07 Ingo Weinzierl <ingo@intevation.de> | |
9107 | |
9108 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: The | |
9109 describe document returned by this artifact now contains the current state | |
9110 and the reachable states. | |
9111 | |
9112 2011-02-07 Ingo Weinzierl <ingo@intevation.de> | |
9113 | |
9114 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java: | |
9115 The transitions are put into the TransitionEngine with the ID of the state | |
9116 - not longer with the artifact name. On this way, we are able to fetch | |
9117 just the transitions for a specific state, instead of all the transitions | |
9118 of an artifact. | |
9119 | |
9120 2011-02-04 Ingo Weinzierl <ingo@intevation.de> | |
9121 | |
9122 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Describe() | |
9123 returns the artifact's uuid and hash value. The whole implementation of | |
9124 describe() is still outstanding. | |
9125 | |
9126 2011-02-04 Ingo Weinzierl <ingo@intevation.de> | |
9127 | |
9128 * doc/conf/artifacts/winfo.xml: Removed useless config stuff. | |
9129 | |
9130 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Removed | |
9131 useless methods, and improved the init process - the first state is set as | |
9132 the current state for this artifact. | |
9133 | |
9134 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java, | |
9135 src/main/java/de/intevation/flys/artifacts/states/GaugeSelect.java: New. | |
9136 The states are used in the first two steps of the WINFOArtifact. | |
9137 Currently, they just implement stubs of the necessary methods setup() and | |
9138 describe(). | |
9139 | |
9140 2011-02-04 Ingo Weinzierl <ingo@intevation.de> | |
9141 | |
9142 * src/main/java/de/intevation/flys/artifacts/states/State.java, | |
9143 src/main/java/de/intevation/flys/artifacts/transitions/TransitionEngine.java, | |
9144 src/main/java/de/intevation/flys/artifacts/transitions/Transition.java: | |
9145 Removed. These classes are placed in the artifact-database now. | |
9146 | |
9147 * src/main/java/de/intevation/flys/artifacts/transitions/DefaultTransition.java, | |
9148 src/main/java/de/intevation/flys/artifacts/transitions/TransitionFactory.java: | |
9149 Adapted imports of Transition. | |
9150 | |
9151 * src/main/java/de/intevation/flys/artifacts/states/StateFactory.java: New. | |
9152 This factory should be used to create concrete State objects. | |
9153 | |
9154 * src/main/java/de/intevation/flys/artifacts/context/FLYSContext.java: Added | |
9155 a constant key to store the StateEngine in the context. | |
9156 | |
9157 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java: | |
9158 New method that initializes the states at application start. | |
9159 | |
9160 2011-02-03 Ingo Weinzierl <ingo@intevation.de> | |
9161 | |
9162 * src/main/java/de/intevation/flys/artifacts/states/State.java: New. The | |
9163 interface description of a state. | |
9164 | |
9165 * src/main/java/de/intevation/flys/artifacts/transitions/Transition.java, | |
9166 src/main/java/de/intevation/flys/artifacts/transitions/DefaultTransition.java: | |
9167 New. The interface description and a default implementation of a | |
9168 transition. | |
9169 | |
9170 * src/main/java/de/intevation/flys/artifacts/transitions/TransitionEngine.java: | |
9171 New. The TransitionEngine stores all transitions for each artifact and | |
9172 should be used to determine, if an artifact can advance from one state to | |
9173 another. | |
9174 | |
9175 * src/main/java/de/intevation/flys/artifacts/transitions/TransitionFactory.java: | |
9176 New. Transitions should be created by using this class. | |
9177 | |
9178 * src/main/java/de/intevation/flys/artifacts/context/FLYSContext.java: New. | |
9179 The Flys context. It currently defines keys to store important components | |
9180 in the context. | |
9181 | |
9182 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java: | |
9183 New. The context factory initializes the basic components of the | |
9184 application. Currently, the TransitionEngine is created and all artifacts | |
9185 with its transitions are read from the global configuration and stored in | |
9186 the FLYSContext. | |
9187 | |
9188 * pom.xml: Added a dependency to the 'artifacts-common' package. | |
9189 | |
9190 * doc/conf/artifacts/winfo.xml: Corrected the classname of the | |
9191 DefaultTransition. | |
9192 | |
9193 * doc/conf/conf.xml: Added FLYSContextFactory as context-factory. | |
9194 | |
9195 2011-02-02 Ingo Weinzierl <ingo@intevation.de> | |
9196 | |
9197 * doc/conf/conf.xml: An initial configuration file for the FLYS artifact | |
9198 server. | |
9199 | |
9200 * doc/conf/artifacts/winfo.xml: An initial transition configuration of an | |
9201 WINFO artifact. | |
9202 | |
9203 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: A stub of | |
9204 an artifact for a WINFO parameterization. | |
9205 | |
9206 * pom.xml: Set the source code version to 1.5. | |
9207 | |
9208 2011-02-01 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
9209 | |
9210 * src/**, pom.xml: Added initial maven project. | |
9211 * ChangeLog: new. |