Mercurial > dive4elements > river
comparison flys-artifacts/ChangeLog @ 1190:f514894ec2fd
merged flys-artifacts/2.5
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Fri, 28 Sep 2012 12:14:17 +0200 |
parents | 45cfab4eddab |
children | 6d0299d63819 |
comparison
equal
deleted
inserted
replaced
917:b48c36076e17 | 1190:f514894ec2fd |
---|---|
1 2011-09-16 Bjoern Schilberg <bjoern.schilberg@intevation.de> | |
2 | |
3 * doc/mapserver/fontset.txt: | |
4 Added initial font set for km_annotation layer. | |
5 * doc/mapserver/symbols/symbols.sym: | |
6 Added square symbol for km and fixpoint layer. | |
7 * doc/mapserver/saar-mapfile.map: | |
8 Adjust styling in the flys karte-archiv way. | |
9 | |
10 2011-09-19 Ingo Weinzierl <ingo@intevation.de> | |
11 | |
12 Tagged RELEASE 2.5 | |
13 | |
14 * Changes: Prepared changes for release. | |
15 | |
16 2011-09-19 Ingo Weinzierl <ingo@intevation.de> | |
17 | |
18 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java, | |
19 src/main/java/de/intevation/flys/artifacts/states/WaterlevelSelectState.java, | |
20 src/main/java/de/intevation/flys/artifacts/states/WaterlevelPairSelectState.java, | |
21 src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java, | |
22 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Removed | |
23 needless imports. | |
24 | |
25 2011-09-16 Ingo Weinzierl <ingo@intevation.de> | |
26 | |
27 * doc/conf/meta-data.xml: Improved datacage configuration for DEMs. | |
28 | |
29 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: | |
30 Query DGMs by the given ID in the FLYS data pool - not by given range | |
31 values. | |
32 | |
33 2011-09-16 Ingo Weinzierl <ingo@intevation.de> | |
34 | |
35 * doc/conf/meta-data.xml: Added a section for DEMs to the floodmap | |
36 section. | |
37 | |
38 2011-09-16 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
39 | |
40 Fix build. | |
41 | |
42 * src/main/java/de/intevation/flys/artifacts/state/WDifferencesState.java: | |
43 Fix build. | |
44 | |
45 2011-09-16 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
46 | |
47 Take a given WaterlevelPair-String, load artifact and plot the diff. | |
48 | |
49 * src/main/java/de/intevation/flys/artifacts/state/WDifferencesState.java: | |
50 Load correct artifacts. | |
51 | |
52 2011-09-16 Bjoern Schilberg <bjoern.schilberg@intevation.de> | |
53 | |
54 * doc/mapserver/*: Added inital mapserver configuration files. | |
55 | |
56 2011-09-16 Ingo Weinzierl <ingo@intevation.de> | |
57 | |
58 * doc/conf/meta-data.xml: Moved the system specific configuration into a | |
59 macro to the top of the configuration document. Call this macro at the | |
60 end of the user specific part and in the part that should contain the | |
61 system specific stuff only! | |
62 | |
63 2011-09-16 Ingo Weinzierl <ingo@intevation.de> | |
64 | |
65 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: | |
66 Defined createItem() here and adapted some method signatures, because I | |
67 need the CallContext deeper in code than expected. | |
68 | |
69 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelSelectState.java: | |
70 Write the name of the selected waterlevel into the static DESCRIBE. | |
71 | |
72 * src/main/java/de/intevation/flys/artifacts/states/ScenarioSelect.java: | |
73 Adapted method signatures that have been changed in DefaultState. | |
74 | |
75 * src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java: | |
76 Removed method createItem() which is now defined in the upper class | |
77 DefaultState. | |
78 | |
79 * src/main/resources/messages.properties, | |
80 src/main/resources/messages_de_DE.properties, | |
81 src/main/resources/messages_en.properties, | |
82 src/main/resources/messages_de.properties: Added string for selected | |
83 waterlevel that is displayed in static UI. | |
84 | |
85 2011-09-16 Ingo Weinzierl <ingo@intevation.de> | |
86 | |
87 * src/main/resources/messages.properties, | |
88 src/main/resources/messages_de_DE.properties, | |
89 src/main/resources/messages_en.properties, | |
90 src/main/resources/messages_de.properties: Added state label for | |
91 waterlevel selection. | |
92 | |
93 2011-09-15 Ingo Weinzierl <ingo@intevation.de> | |
94 | |
95 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelSelectState.java: | |
96 Validate incoming data string and strip brackets. | |
97 | |
98 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: | |
99 Fetch waterlevel data from external Artifact if existing. If no external | |
100 Artifact is specified that provides waterlevel data, we gonna try to | |
101 fetch it from the current Artifact. | |
102 | |
103 2011-09-15 Ingo Weinzierl <ingo@intevation.de> | |
104 | |
105 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelPairSelectState.java: | |
106 Removed needless import which caused compile errors. | |
107 | |
108 2011-09-15 Ingo Weinzierl <ingo@intevation.de> | |
109 | |
110 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: | |
111 Added a transform() method. This method should be used to transform | |
112 input data in form of a string into a better data structure. This state | |
113 provides a simple implementation which just returns a StateData object | |
114 that contains exactly the input string. | |
115 | |
116 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Transform | |
117 input strings using DefaultState.transform() before they are added to | |
118 its data pool. | |
119 | |
120 2011-09-15 Ingo Weinzierl <ingo@intevation.de> | |
121 | |
122 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
123 Made collection solid for the case if it has no Artifacts. | |
124 | |
125 2011-09-15 Ingo Weinzierl <ingo@intevation.de> | |
126 | |
127 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: Fetch Artifact | |
128 from ArtifactDatabase properly. Write better error logs if that process | |
129 fails. | |
130 | |
131 2011-09-14 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
132 | |
133 Extend WDifferences branch to have calculations in dedicated, new state. | |
134 | |
135 * doc/conf/artifacts/winfo.xml: Added new State and Transition in | |
136 WDifferences-branch. | |
137 | |
138 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelPairSelectState.java: | |
139 New state. | |
140 | |
141 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java: | |
142 Specify to not take input, prepare getting other facets. | |
143 | |
144 2011-09-14 Ingo Weinzierl <ingo@intevation.de> | |
145 | |
146 * src/main/java/de/intevation/flys/artifacts/states/DGMSelect.java: This | |
147 state now desires the UIProvider 'dem_datacage_panel'. | |
148 | |
149 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelSelectState.java: | |
150 New. This state is used to define the desired UIProvider | |
151 'wsp_datacage_panel'. | |
152 | |
153 * doc/conf/artifacts/winfo.xml: Added a new way to start a WSPLGEN | |
154 calculation when choosing the calculation type 'floodmap'. | |
155 | |
156 2011-09-14 Ingo Weinzierl <ingo@intevation.de> | |
157 | |
158 * src/main/java/de/intevation/flys/collections/AttributeWriter.java: Merge | |
159 facets only if their name AND their owner artifact are equal. | |
160 | |
161 2011-09-14 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
162 | |
163 Partial Fix flys/issue304 (3) (Baseline). | |
164 | |
165 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java: | |
166 Show Baseline in WDifferencesPlot. | |
167 | |
168 2011-09-14 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
169 | |
170 Fix flys/issue310 (cross-section theme). | |
171 | |
172 * doc/conf/themes.xml: CrossSection-Themes: profile thin, water blue. | |
173 | |
174 2011-09-14 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
175 | |
176 Fix flys/issue310 (cross-section theme). | |
177 | |
178 * doc/conf/themes.xml: CrossSection-Themes: profile thin, water blue. | |
179 | |
180 2011-09-13 Ingo Weinzierl <ingo@intevation.de> | |
181 | |
182 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: | |
183 Add an quick and simple error to the report if an error occured while | |
184 WSPLGENJob creation. | |
185 | |
186 * src/main/resources/messages.properties, | |
187 src/main/resources/messages_de_DE.properties, | |
188 src/main/resources/messages_en.properties, | |
189 src/main/resources/messages_de.properties: Added error messages for | |
190 WSPLGEN job creation errors. | |
191 | |
192 2011-09-13 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
193 | |
194 Fix crash when drawing StickyAxisAnnotation when no range was given. | |
195 User-directed issues remain ( flys/issue303 ). | |
196 | |
197 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java | |
198 (draw): | |
199 Guard access to domainAxis, rangeAxis and the corresponding ranges. | |
200 Warn and exit if any was null. | |
201 | |
202 2011-09-13 Ingo Weinzierl <ingo@intevation.de> | |
203 | |
204 flys/issue290 (Karte: Eingabe von Differenzen zw. WSP und Gelände findet | |
205 keine Ausprägung in der Karte) | |
206 | |
207 * doc/conf/mapserver/wsplgen_class.vm: Added styles for DIFF attribute. | |
208 | |
209 * doc/conf/mapserver/mapfile.vm: Set debug default to '5'. | |
210 | |
211 2011-09-12 Ingo Weinzierl <ingo@intevation.de> | |
212 | |
213 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: | |
214 Add a first WSPLGEN status message (notifies the user about a | |
215 queued job) after the job has been added to the Scheduler. | |
216 | |
217 * src/main/resources/messages.properties, | |
218 src/main/resources/messages_de_DE.properties, | |
219 src/main/resources/messages_en.properties, | |
220 src/main/resources/messages_de.properties: Added english and german | |
221 status message text. | |
222 | |
223 2011-09-12 Ingo Weinzierl <ingo@intevation.de> | |
224 | |
225 * src/main/java/de/intevation/flys/utils/GeometryUtils.java: Write | |
226 shapefiles only if there are features for it existing. | |
227 | |
228 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: | |
229 A WSPLGEN facet is only created, if the calculation was successfully | |
230 added to the Scheduler. A barrier facet is only created if the WSPLGEN | |
231 calculation has been added to the scheduler AND if there are digitized | |
232 geometries existing. | |
233 | |
234 2011-09-12 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
235 | |
236 Copied and slightly modified implementation of guessWaterIncreasing from | |
237 WQKms to (new) DataUtils. Accidentally commited usage in last commit, to | |
238 correct orientation of diagram (invert x axis). | |
239 | |
240 * src/main/java/de/intevation/flys/utils/DataUtils.java: | |
241 New file with guessWaterIncreasing implementation from WQKms, | |
242 slightly adjusted. | |
243 | |
244 2011-09-12 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
245 | |
246 Cosmetics. | |
247 | |
248 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java, | |
249 src/main/java/de/intevation/flys/artifacts/model/WKmsImpl.java: | |
250 Cosmetics. | |
251 | |
252 2011-09-12 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
253 | |
254 Added CSV Export for W-Differences. | |
255 | |
256 * doc/conf/conf.xml: Added Exporter. | |
257 | |
258 * doc/conf/artifacts/winfo.xml: Removed transition over distances | |
259 state, added export outputmode and facet. | |
260 | |
261 * src/main/java/de/intevation/flys/exports/WDifferencesExporter.java: | |
262 New, CSV-Exporter for WDifferences. | |
263 | |
264 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java: | |
265 Add export facet. | |
266 | |
267 2011-09-12 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
268 | |
269 * src/main/java/de/intevation/flys/artifacts/model/DataFacet.java: | |
270 Cosmetics, docs. | |
271 | |
272 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java, | |
273 src/main/java/de/intevation/flys/exports/AbstractExporter.java, | |
274 src/main/java/de/intevation/flys/exports/DurationCurveExporter.java: | |
275 Cosmetics. | |
276 | |
277 2011-09-12 Ingo Weinzierl <ingo@intevation.de> | |
278 | |
279 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: | |
280 Sourced the code to append a concrete data item to the static DESCRIBE | |
281 part out to an own method (appendStaticData()). | |
282 | |
283 * src/main/java/de/intevation/flys/artifacts/states/ScenarioSelect.java: | |
284 Override appendStaticData() to suppress the GeoJSON string to be | |
285 included in the static DESCRIBE. | |
286 | |
287 2011-09-12 Ingo Weinzierl <ingo@intevation.de> | |
288 | |
289 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionFactory.java, | |
290 src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java, | |
291 src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java, | |
292 src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java, | |
293 src/main/java/de/intevation/flys/artifacts/states/RiverAxisState.java, | |
294 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java, | |
295 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java: | |
296 Removed needless imports. | |
297 | |
298 2011-09-09 Ingo Weinzierl <ingo@intevation.de> | |
299 | |
300 * src/main/java/de/intevation/flys/artifacts/model/CalculationMessage.java: | |
301 New. A subclass of Message (in the Artifacts system). It stores a | |
302 string message and a progress (in form of step x/y). | |
303 | |
304 * src/main/java/de/intevation/flys/wsplgen/JobObserver.java: The observer | |
305 now writes background messages into the artifact system using the | |
306 CallContext.addBackgroundMessage(). We use instances of | |
307 CalculationMessage here, that makes the WINFOArtifact able to put | |
308 progress information into the Artifact's DESCRIBE as well. | |
309 | |
310 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Write | |
311 status message and progress information into the DESCRIBE if the | |
312 Artifact has started a background process. | |
313 | |
314 2011-09-09 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
315 | |
316 Fix flys/issue280 . | |
317 | |
318 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java: | |
319 Do not draw boxes around annotations. | |
320 | |
321 2011-09-09 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
322 | |
323 Fix flys/issue279 . | |
324 | |
325 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
326 Fix behaviour in various thinkable malconditions. | |
327 | |
328 2011-09-09 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
329 | |
330 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
331 Made one case of cross section fetching more robust. | |
332 | |
333 2011-09-09 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
334 | |
335 Fix Facet name and Legend of W-Differences, also insert state to specify | |
336 distance. | |
337 | |
338 * doc/conf/artifacts/winfo.xml: Add additional transitions to walk over | |
339 distances state. | |
340 | |
341 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java: | |
342 Set facets description. | |
343 | |
344 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java: | |
345 Take facets description as legend. | |
346 | |
347 2011-09-09 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
348 | |
349 Added configuration to kick-in w-differences branch of winfo. | |
350 | |
351 * doc/conf/conf.xml: Register new (w-differences) OutputGenerators. | |
352 | |
353 * doc/conf/artifacts/winfo.xml: Register new state and transitions. | |
354 | |
355 * src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java: | |
356 Added new (w-differences) calculation mode. | |
357 | |
358 * src/main/java/de/intevation/flys/exports/WDifferencesCurveInfoGenerator.java: | |
359 New file, implementing naive approach to display w-differences | |
360 (accidentially omitted in last commit). | |
361 | |
362 2011-09-09 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
363 | |
364 Added very stubby WDifferences State/OutGenerator for WINFOArtifact. | |
365 | |
366 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: | |
367 Added w_differences facet type. | |
368 | |
369 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java: | |
370 New file, implements naive approach to calculate w-differences (of | |
371 calculations identified by hardcoded uuids!) and register respective facet. | |
372 | |
373 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java: | |
374 New file, implementing naive approach to display w-differences. | |
375 | |
376 2011-09-09 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
377 | |
378 Implement getArtifact(uuid,context) in FLYSUtils. | |
379 | |
380 * src/main/java/de/intevation/flys/utils/FLYSUtils.java (getArtifact): | |
381 Added implementation, partially resolving a TODO. Added logger instance. | |
382 | |
383 2011-09-08 Ingo Weinzierl <ingo@intevation.de> | |
384 | |
385 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENCalculation.java: | |
386 New. This sublcass of Calculation saves warnings and errors that occur | |
387 while WSPLGEN is running. | |
388 Note, that the interface of this class doesn't exactly apply the interface | |
389 of Calculation. Maybe, we should generalize this interface! | |
390 | |
391 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENJob.java: Stores | |
392 an instance of WSPLGENCalculation now. We use this instance to save | |
393 warnings and errors. | |
394 | |
395 * src/main/java/de/intevation/flys/wsplgen/ProblemObserver.java: Use the | |
396 WSPLGENCalculation to save errors and warnings. | |
397 | |
398 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENReportFacet.java: | |
399 New. This facet is used for WSPLGEN reports. It stores an instance of | |
400 WSPLGENCalculation which saves ERRORS and WARNINGS that occur while | |
401 WSPLGEN execution. | |
402 | |
403 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: | |
404 Create a WSPLGENReportFacet for WSPLGEN reports. | |
405 | |
406 * doc/conf/conf.xml: Added an OutputGenerator 'report' for WSPLGEN | |
407 reports. | |
408 | |
409 * doc/conf/artifacts/winfo.xml: Added an output 'report' for WSPLGEN | |
410 reports. | |
411 | |
412 2011-09-08 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
413 | |
414 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java, | |
415 src/main/java/de/intevation/flys/artifacts/math/WKmsOperation.java, | |
416 src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java: | |
417 Cosmetics, docs. | |
418 | |
419 2011-09-08 Ingo Weinzierl <ingo@intevation.de> | |
420 | |
421 * src/main/java/de/intevation/flys/wsplgen/JobObserver.java: Small | |
422 adjustments that makes it easier to subclass this observer. | |
423 | |
424 * src/main/java/de/intevation/flys/wsplgen/ProblemObserver.java: New. A | |
425 sublcass of JobObserver which analyses the WSPLGEN output for errors and | |
426 warnings. | |
427 | |
428 * src/main/java/de/intevation/flys/wsplgen/JobExecutor.java: Use | |
429 JobObserver and ProblemObserver to track the whole WSPLGEN output and | |
430 print number of errors/warnings to log output. | |
431 | |
432 2011-09-08 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
433 | |
434 Added translation of w_differences. | |
435 | |
436 * src/main/resources/messages_de_DE.properties, | |
437 src/main/resources/messages_de.properties, | |
438 src/main/resources/messages_en.properties, | |
439 src/main/resources/messages.properties: | |
440 Added "w_differnces" translation. | |
441 | |
442 2011-09-07 Ingo Weinzierl <ingo@intevation.de> | |
443 | |
444 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Appended | |
445 a new attribute 'background-processing' to the DESCRIBE of this | |
446 Artifact. Its value is 'true' if this Artifact has started a background | |
447 thread which has not finished yet - otherwise it is 'false. | |
448 | |
449 2011-09-07 Ingo Weinzierl <ingo@intevation.de> | |
450 | |
451 * src/main/java/de/intevation/flys/artifacts/states/RiverAxisState.java, | |
452 src/main/java/de/intevation/flys/utils/GeometryUtils.java: Moved the | |
453 code to determine the extent of a river based on its axis to | |
454 GeometryUtils. | |
455 | |
456 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: | |
457 Determine the extent of the selected river and set the WMSLayerFacet's | |
458 extent attribute. | |
459 | |
460 2011-09-07 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
461 | |
462 Added Themeing support for CrossSection Diagrams. | |
463 | |
464 * doc/conf/themes.xml: | |
465 Added new themes and mappings, slightly modified longitudinalsection | |
466 theme. | |
467 | |
468 2011-09-07 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
469 | |
470 In CrossSection Diagram fix subtitle to display the km of which the data is | |
471 actually displayed (maybe contrasting users wish). | |
472 | |
473 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
474 (getCrossSectionSnapKm): New method to fetch the actual km of crosssection. | |
475 | |
476 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java: | |
477 Add correct km to charts subtitle. | |
478 | |
479 2011-09-07 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
480 | |
481 Fix various display-issues like i18n in cross-section diagram. | |
482 | |
483 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java: | |
484 Set description of facets to expected values. | |
485 | |
486 * src/main/java/de/intevation/flys/artifacts/exports/CrossSectionGenerator.java: | |
487 Fix i18n of chart title. Set subtitle to expected value, pass facets | |
488 description to StyledSeries to see expected legend. | |
489 | |
490 2011-09-07 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
491 | |
492 Cosmetics, resolved refactoring todo. | |
493 | |
494 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java | |
495 (compute, computeAdvance, computeFeed): Refactored, extracted method, | |
496 resolving duplicate code and TODO. | |
497 | |
498 2011-09-07 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
499 | |
500 Fix waterline "calculation" at given km. Chosen approach is | |
501 "head-through-wall". | |
502 | |
503 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
504 Some refactoring to do the same calculation twice easier and be able | |
505 to "cross" waterline against correct profile data. | |
506 | |
507 | |
508 2011-09-07 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
509 | |
510 Fix setting of kilometer for profile (not yet waterlevel) of cross section | |
511 diagram. | |
512 | |
513 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
514 (getCrossSectionData): Respect corss_section.km data; do naive linear | |
515 search for profile data for this km. | |
516 | |
517 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionFacet.java: | |
518 Declare a ComputeType. | |
519 | |
520 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java: | |
521 Implement computeFeed. | |
522 | |
523 2011-09-07 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
524 | |
525 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java, | |
526 src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
527 Minor cosmetics. | |
528 | |
529 2011-09-07 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
530 | |
531 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java, | |
532 src/main/java/de/intevation/flys/artifacts/model/DataFacet.java, | |
533 src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java, | |
534 src/main/java/de/intevation/flys/artifacts/state/DefaultState.java: | |
535 Cosmetics, docs. | |
536 | |
537 2011-09-06 Ingo Weinzierl <ingo@intevation.de> | |
538 | |
539 * doc/conf/mapserver/barrier_polygons_class.vm, | |
540 doc/conf/mapserver/barrier_lines_class.vm, | |
541 doc/conf/mapserver/wsplgen_class.vm: Default Mapserver styles for | |
542 barriers and WSPLGEN results. Those styles are only used as long as we | |
543 don't have map specific themes (as already used in charts). | |
544 | |
545 * doc/conf/mapserver/layer.vm: Implements a fallback mechanism for styling | |
546 barrier lines/polygons and WSPLGEN results. | |
547 | |
548 * src/main/java/de/intevation/flys/artifacts/model/LayerInfo.java: Added a | |
549 getStyle() method that currently returns "null". This method needs to be | |
550 implemented when map themes are introduced. | |
551 | |
552 2011-09-06 Ingo Weinzierl <ingo@intevation.de> | |
553 | |
554 * src/main/java/de/intevation/flys/artifacts/model/LayerInfo.java: Renamed | |
555 some attributes to make their job in the mapfile more obvious. | |
556 | |
557 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added | |
558 new facet type for barriers. | |
559 | |
560 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: Add | |
561 a facet for the barriers layer. | |
562 | |
563 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Parse | |
564 barriers (lines and polygons) and create two new layers for each type - | |
565 those layers are grouped. | |
566 | |
567 * doc/conf/mapserver/layer.vm: Renamed attribute based on changes in | |
568 LayerInfo and added support for Group-Layers. | |
569 | |
570 2011-09-06 Raimund Renkert <raimund.renkert@intevation.de> | |
571 | |
572 * doc/conf/conf.xml: | |
573 Added driver to database configuration for use with postgresql. | |
574 | |
575 2011-09-06 Ingo Weinzierl <ingo@intevation.de> | |
576 | |
577 * doc/conf/mapserver/mapfile.vm: Removed FONTSET attribute and set quotes | |
578 for SHAPEPATH. | |
579 | |
580 2011-09-05 Ingo Weinzierl <ingo@intevation.de> | |
581 | |
582 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENFacet.java: | |
583 Removed. We gonna use the WMSLayerFacet until now. | |
584 | |
585 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: | |
586 Add a WMSLayerFacet after we triggered the Scheduler to start a WSPLGEN | |
587 calculation. | |
588 | |
589 2011-09-05 Ingo Weinzierl <ingo@intevation.de> | |
590 | |
591 * doc/conf/mapserver/layer.vm, | |
592 doc/conf/mapserver/mapfile.vm: Small bugfixes and style improvements. | |
593 | |
594 * src/main/java/de/intevation/flys/wsplgen/JobExecutor.java: Trigger the | |
595 MapfileGenerator after a WSPLGEN job has finished regardless if it has | |
596 been finished successfully or not. | |
597 | |
598 2011-09-05 Ingo Weinzierl <ingo@intevation.de> | |
599 | |
600 * pom.xml: Added Apache Velocity 1.7 for templating support. | |
601 | |
602 * doc/conf/conf.xml: Added config options for mapserver/template relevant | |
603 stuff. | |
604 | |
605 * doc/conf/mapserver/mapfile.vm, | |
606 doc/conf/mapserver/layer.vm: New. A default mapfile template and a | |
607 template used for layers. | |
608 | |
609 * src/main/java/de/intevation/flys/artifacts/model/LayerInfo.java: New. | |
610 This class is used while reading WMS layer relevant information from | |
611 filesystem. | |
612 | |
613 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java: New. This | |
614 thread is used for creating mapfiles for Mapserver. The MapfileGenerator | |
615 runs in daemon mode (own thread) and creates mapfiles based on WMS | |
616 layer relevant information read from filesystem. | |
617 | |
618 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java, | |
619 src/main/java/de/intevation/flys/utils/FLYSUtils.java: Moved shapefile | |
620 specific XPath expressions from FloodMapState to FLYSUtils which is a | |
621 better place to use it in other classes (as MapfileGenerator). | |
622 | |
623 2011-09-05 Ingo Weinzierl <ingo@intevation.de> | |
624 | |
625 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENJob.java: | |
626 Bugfixed broken attribute assignment. | |
627 | |
628 * src/main/java/de/intevation/flys/wsplgen/JobExecutor.java: Call | |
629 CallContext.afterBackground() after a WSPLGEN job has finished to remove | |
630 the background lock from Artifact. | |
631 | |
632 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: | |
633 Call CallContext.afterCall(BACKGROUND) to lock the Artifact for | |
634 background processing. | |
635 | |
636 2011-09-02 Ingo Weinzierl <ingo@intevation.de> | |
637 | |
638 * src/main/java/de/intevation/flys/wsplgen/JobExecutor.java: New. This | |
639 class is used to start WSPLGEN for a specific WSPLGENJob. The System | |
640 property "wsplgen.bin.path" tells the JobExecutor where the WSPLGEN | |
641 binary is placed (which means in general, the property points to the | |
642 'wsplgen.exe'). | |
643 | |
644 * src/main/java/de/intevation/flys/wsplgen/Scheduler.java: New. This | |
645 scheduler currently allows to start just a single WSPLGEN Thread. All | |
646 WSPLGEN calculations should be started using Scheduler.addJob(). | |
647 | |
648 * src/main/java/de/intevation/flys/wsplgen/JobObserver.java: New. This | |
649 thread reads log messages from WSPLGEN and listens for specific | |
650 messages. It should be used to update status messages of the WSPLGEN | |
651 calculation that is currently running. | |
652 There is a System property that tells the JobObserver to log all WSPLGEN | |
653 output to log4j: enable WSPLGEN output with "-Dwsplgen.log.output=true". | |
654 | |
655 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENJob.java: Added | |
656 the FLYSArtifact, the current working directory and the CallContext. | |
657 | |
658 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: | |
659 Use the Scheduler to start new WSPLGEN calculations. | |
660 | |
661 2011-09-02 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
662 | |
663 Add CrossSectionInfoGenerator. | |
664 | |
665 * src/main/java/de/intevation/flys/exports/CrossSectionInfoGenerator.java: | |
666 New, trivial implementation of CrossSectionInfoGenerator. | |
667 | |
668 * doc/conf/conf.xml: | |
669 Register CrossSectionInfoGenerator. | |
670 | |
671 2011-09-01 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
672 | |
673 Cleanups of CrossSection*. | |
674 | |
675 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
676 New methods to retrieve name of utilized CrossSection. | |
677 | |
678 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java: | |
679 Cleanup, get rid of copied unused method, documentation and more sensible | |
680 translations. | |
681 | |
682 * src/main/resources/messages_de_DE.properties, | |
683 src/main/resources/messages_de.properties, | |
684 src/main/resources/messages_en.properties, | |
685 src/main/resources/messages.properties: | |
686 Added cross_section* translations, also cleanups. | |
687 | |
688 2011-09-01 Ingo Weinzierl <ingo@intevation.de> | |
689 | |
690 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: | |
691 Set the "typ" attribute of lines and polygons in barrier shapefiles. | |
692 | |
693 2011-09-01 Ingo Weinzierl <ingo@intevation.de> | |
694 | |
695 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: | |
696 Set the Z values of line and polygon barrier geometries. Both barrier | |
697 shapefiles will contain 3D geometries now. | |
698 | |
699 2011-09-01 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
700 | |
701 Get real data to display in CrossSection (although ignorant of | |
702 parameterization), making use of the showcase code of the CrossSectionApp- | |
703 Standalone application. | |
704 | |
705 * doc/conf/artifacts/winfo.xml: Add new facet (~waterline) to state/out. | |
706 | |
707 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
708 New methods to get relevant data. So far just takes the first value of | |
709 everything and assuming a waterlevel at 130m. | |
710 | |
711 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java: | |
712 New Facet responsible of water level in cross section. | |
713 | |
714 * src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java: | |
715 Made some functionality publicly and statically available. | |
716 | |
717 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionFacet.java: | |
718 Update call. | |
719 | |
720 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added new | |
721 Facet type. | |
722 | |
723 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java: | |
724 Added new Facet to out. | |
725 | |
726 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java: | |
727 Respect new facet and facets data. | |
728 | |
729 2011-09-01 Ingo Weinzierl <ingo@intevation.de> | |
730 | |
731 * src/main/java/de/intevation/flys/utils/GeometryUtils.java: Close an open | |
732 shapefile transaction and catch exceptions which are thrown while | |
733 shapefile creation here. If there occured an error, this functions | |
734 returns FALSE, otherwise TRUE. | |
735 | |
736 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: | |
737 Removed exception handling while shapefile creation - this is done in | |
738 GeometryUtils now. | |
739 | |
740 2011-09-01 Ingo Weinzierl <ingo@intevation.de> | |
741 | |
742 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: | |
743 Renamed the file for WSPLGEN required waterlevels to "waterlevels.wst". | |
744 WSPLGEN did not work with the former "waterlevels.txt" file. | |
745 | |
746 2011-09-01 Ingo Weinzierl <ingo@intevation.de> | |
747 | |
748 * src/main/java/de/intevation/flys/utils/GeometryUtils.java: New static | |
749 function that builds new SimpleFeatureTypes with additional attributes. | |
750 | |
751 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: | |
752 Write attributes "ELEVATION" and "KILOMETER" into the crosssection | |
753 tracks shapefiles. | |
754 | |
755 2011-08-31 Ingo Weinzierl <ingo@intevation.de> | |
756 | |
757 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: Added a method | |
758 stub that should return a FLYSArtifact based on a given UUID. | |
759 | |
760 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: | |
761 Write the selected WST file for WSPLGEN. Note, that this is the WST file | |
762 of the current WINFO artifact. Furthermore, there is currently no way | |
763 for the user to select a column from WST file, so we currently use the | |
764 column that is written to WST file at first. | |
765 | |
766 2011-08-31 Ingo Weinzierl <ingo@intevation.de> | |
767 | |
768 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Changed | |
769 the parameter order of a compute(...) method. This makes me able to call | |
770 this without a hash value. | |
771 | |
772 * src/main/java/de/intevation/flys/artifacts/model/DataFacet.java, | |
773 src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java, | |
774 src/main/java/de/intevation/flys/artifacts/model/ReportFacet.java: | |
775 Adapted the parameter order of the compute() call (see above). | |
776 | |
777 2011-08-31 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
778 | |
779 More bones to CrossSection sceleton. | |
780 | |
781 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionFactory.java, | |
782 src/main/java/de/intevation/flys/artifacts/model/CrossSectionFacet.java: | |
783 New, yet trivial implementations of Factory and Facet for CrossSections. | |
784 | |
785 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java: | |
786 Add new CrossSection- (instead of Default-)Facet. | |
787 | |
788 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java, | |
789 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java: | |
790 Adjusted to use (touch) new Factory and Facet. | |
791 | |
792 2011-08-31 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
793 | |
794 Cosmetics. | |
795 | |
796 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
797 Cosmetics. | |
798 | |
799 2011-08-31 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
800 | |
801 Cosmetics. | |
802 | |
803 * src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java, | |
804 src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java, | |
805 src/main/java/de/intevation/flys/artifacts/model/MainValuesQFacet.java, | |
806 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java: | |
807 Removed obselete imports. | |
808 | |
809 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java: | |
810 Removed obselete imports, whitespaces. | |
811 | |
812 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java: | |
813 Whitespaces, docs. | |
814 | |
815 2011-08-31 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
816 | |
817 Fix translations of Main Values Facets. | |
818 | |
819 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java: | |
820 Do acrobatics to keep state transient but get translated title. | |
821 | |
822 * src/main/java/de/intevation/flys/artifacts/MainValuesQFacet.java, | |
823 src/main/java/de/intevation/flys/artifacts/MainValuesWFacet.java: | |
824 Changed constructor to get description (which is then already be translated) | |
825 dynamically, adjust deepCopy. | |
826 | |
827 * src/main/java/de/intevation/flys/states/StaticState.java: | |
828 Adjust constructor accordingly. | |
829 | |
830 2011-08-31 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
831 | |
832 Add sceleton for CrossSection outs. | |
833 | |
834 * doc/conf/artifacts/winfo.xml: | |
835 Added new output mode to respective state of winfo artifact configuration. | |
836 | |
837 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java: | |
838 Add new Dummy-Facet in state. | |
839 | |
840 * doc/conf/conf.xml: | |
841 Registered new OutputGenerator. | |
842 | |
843 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: | |
844 Added new CROSS_SECTION type. | |
845 | |
846 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java: | |
847 New, stubby skeleton for an CrossSectionGenerator. | |
848 | |
849 * src/main/resources/messages_de_DE.properties, | |
850 src/main/resources/messages_de.properties, | |
851 src/main/resources/messages_en.properties, | |
852 src/main/resources/messages.properties: | |
853 Added cross_section translation, also cleanups (e.g. main values). | |
854 | |
855 2011-08-31 Ingo Weinzierl <ingo@intevation.de> | |
856 | |
857 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENJob.java: Marked | |
858 required parameters with a comment. | |
859 | |
860 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: | |
861 Export floodplains (german 'Talaue') to shapefile and write its file | |
862 path into the WSPLGEN job. | |
863 | |
864 2011-08-31 Ingo Weinzierl <ingo@intevation.de> | |
865 | |
866 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: | |
867 Search for a DGM that fits to the current river and km range and write | |
868 its file path into the WSPLGEN job. | |
869 | |
870 2011-08-30 Ingo Weinzierl <ingo@intevation.de> | |
871 | |
872 * src/main/java/de/intevation/flys/utils/GeometryUtils.java: Improved | |
873 exception handling: exceptions are catched in GeometryUtils now. | |
874 | |
875 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: | |
876 Write river axis and crosssections to shapefiles and save shapefile | |
877 pathes in WSPLGENJob. | |
878 | |
879 2011-08-30 Ingo Weinzierl <ingo@intevation.de> | |
880 | |
881 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: | |
882 Use the coorect SRID for reading GeoJSON and writing line/polygon | |
883 shapefiles. | |
884 | |
885 * src/main/java/de/intevation/flys/utils/GeometryUtils.java: Use a | |
886 concrete coordinate system while feature type creation. | |
887 | |
888 2011-08-30 Ingo Weinzierl <ingo@intevation.de> | |
889 | |
890 * pom.xml: Added GeoTools 2.7.2 dependencies for Shapefile, GeoJSON and | |
891 EPSG support. | |
892 | |
893 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENJob.java: Store | |
894 'LIN' parameter in a list now. A WSPLGEN parameter might contain many | |
895 LINs. | |
896 | |
897 * src/main/java/de/intevation/flys/utils/GeometryUtils.java: New functions | |
898 to create FeatureTypes and to write shapefiles. | |
899 | |
900 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: | |
901 Write user specified barriers into a shapefile placed in the artifact | |
902 directory. | |
903 | |
904 2011-08-30 Ingo Weinzierl <ingo@intevation.de> | |
905 | |
906 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: Added a function | |
907 that extracts the SRID defined in the global configuration file for a | |
908 given river. | |
909 | |
910 * src/main/java/de/intevation/flys/artifacts/states/RiverAxisState.java: | |
911 Removed the code that extracts the river SRID - use FLYSUtils instead. | |
912 | |
913 2011-08-29 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
914 | |
915 Use FLYSUtils.getRiver instead of WINFOArtifact.getRiver. | |
916 | |
917 * src/main/java/de/intevation/flys/exports/ChartGenerator.java: | |
918 Use FLYSUtils.getRiver instead of WINFOArtifact.getRiver. | |
919 | |
920 2011-08-29 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
921 | |
922 Use FLYSUtils.getRiver instead of WINFOArtifact.getRiver. | |
923 | |
924 * src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java, | |
925 src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java, | |
926 src/main/java/de/intevation/flys/artifacts/states/WQSelect.java, | |
927 src/main/java/de/intevation/flys/artifacts/states/DurationCurveState.java, | |
928 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java: | |
929 Use FLYSUtils.getRiver instead of WINFOArtifact.getRiver. | |
930 | |
931 2011-08-29 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
932 | |
933 Commit accidentally omitted result of refactoring (WINFO/FLYSUtils/getRiver). | |
934 | |
935 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
936 Removed implementations of getRiver, update calls to use FLYSUtils. | |
937 | |
938 2011-08-29 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
939 | |
940 Interpolate Q main values, generate interpolated W main values on the fly from | |
941 Q main values. | |
942 | |
943 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java: | |
944 (getGaugeDatum): removed, obsolete | |
945 (getLocation): new, gets location | |
946 Use WstValueTable to look up interpolated Qs of MainValues. In absence of | |
947 the same functionality for Ws, generate W Main Values from Q Main Values. | |
948 | |
949 2011-08-29 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
950 | |
951 Use new helper class FLYSUtils, minor refactorization. | |
952 | |
953 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java: | |
954 Use new functionality of helper class, convenience of FLYSArtifact. | |
955 | |
956 2011-08-29 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
957 | |
958 Refactored to use new Helper class FLYSUtils, moved getRiver-functionality | |
959 in there. | |
960 | |
961 * src/main/java/de/intevation/flys/utils/FLYSUtils.java (getRiver): | |
962 New function to retrieve river of an artifact, slightly modified from | |
963 WINFOArtifact. | |
964 | |
965 * src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java: | |
966 Removed implementations of getRiver, update calls to use FLYSUtils. | |
967 | |
968 2011-08-29 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
969 | |
970 Minor cosmetics. | |
971 | |
972 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java: | |
973 Resolved a TODO. | |
974 | |
975 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
976 Added some documentation. | |
977 | |
978 * src/main/java/de/intevation/flys/artifacts/model/WMSLayerFacet.java: | |
979 Minor cosmetic. | |
980 | |
981 2011-08-26 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
982 | |
983 * doc/conf/meta-data.xml: Made it Oracle compatible. | |
984 | |
985 * src/main/java/de/intevation/flys/artifacts/datacage/templating/CompiledStatement.java: | |
986 If running in debug mode log executed statements. | |
987 Helps debugging Oracle connections. | |
988 | |
989 2011-08-26 Ingo Weinzierl <ingo@intevation.de> | |
990 | |
991 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: | |
992 Set some WSPLGENJob parameters which are stored at FLYSArtifact. | |
993 | |
994 2011-08-26 Ingo Weinzierl <ingo@intevation.de> | |
995 | |
996 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: New. This helper | |
997 class should provide some basic FLYS stuff. Currently, there are functions | |
998 that return the km range/location. | |
999 | |
1000 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Removed | |
1001 the methods that return the km range/locations. This is implemented in | |
1002 FLYSUtils now. | |
1003 | |
1004 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java, | |
1005 src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java, | |
1006 src/main/java/de/intevation/flys/exports/ChartGenerator.java: Adapted | |
1007 the WINFO method calls to retrieve the km range/locations - call | |
1008 FLYSUtils now. | |
1009 | |
1010 2011-08-26 Ingo Weinzierl <ingo@intevation.de> | |
1011 | |
1012 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: New method | |
1013 to destroy a single state. | |
1014 | |
1015 2011-08-26 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1016 | |
1017 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java: | |
1018 Cosmetic, remove debug output and comments, minor style adjustments. | |
1019 | |
1020 2011-08-26 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1021 | |
1022 Added limited themeing-support for MainValues. | |
1023 | |
1024 * doc/conf/themes.xml: | |
1025 Added Q/W-MainValues themes. | |
1026 | |
1027 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java: | |
1028 Added limited theming support, add legend entry for main values. | |
1029 | |
1030 2011-08-26 Ingo Weinzierl <ingo@intevation.de> | |
1031 | |
1032 * doc/conf/conf.xml: Added a configuration node that points to the directory | |
1033 where shapefiles should be stored in. | |
1034 | |
1035 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENJob.java: New. | |
1036 This class is used to save/write the parameter for a WSPLGEN calculation. | |
1037 WSPLGEN's *.par files are written using the toFile() method. | |
1038 | |
1039 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: | |
1040 A directory for all WSPLGEN stuff is created in computeAdvance() - those | |
1041 directory and all its contained files are removed in endOfLife(). | |
1042 | |
1043 2011-08-26 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1044 | |
1045 * src/main/java/de/intevation/flys/utils/ThemeUtil.java: | |
1046 New Util to work with theme-related stuff. | |
1047 | |
1048 2011-08-26 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1049 | |
1050 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java: | |
1051 Use NamedDoubles instead of MainValues, try to adjust scale of Ws. | |
1052 | |
1053 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java: | |
1054 Use NamedDoubles instead of MainValues, generalize annotation handling, to | |
1055 allow easier reusability and themeing. | |
1056 | |
1057 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java: | |
1058 Added convenience constructor, exemplary switch on bordered text. | |
1059 | |
1060 2011-08-26 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1061 | |
1062 * doc/conf/meta-data.xml: | |
1063 Recommend MainValues for Computed discharge curves. | |
1064 | |
1065 2011-08-26 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1066 | |
1067 New NamedDouble class which implements a <String,double>-pair. | |
1068 | |
1069 * src/main/java/de/intevation/flys/artifacts/model/NamedDouble.java: | |
1070 New, implementation of a double with a string or vice versa. | |
1071 | |
1072 2011-08-26 Ingo Weinzierl <ingo@intevation.de> | |
1073 | |
1074 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Call | |
1075 State.endOfLife() for all States when endOfLife() of the Artifact is | |
1076 called. | |
1077 | |
1078 2011-08-26 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1079 | |
1080 Also plot "W"-MainValues (on vertical axis), take correct parameters, but | |
1081 do not convert to correct scale (cm vs NN+m). | |
1082 | |
1083 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java: | |
1084 Naive attempt at allowing the vertical axis to be sticked at. | |
1085 | |
1086 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java: | |
1087 Store Q and W MainValues separately, add them to plot as annotations. | |
1088 | |
1089 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java: | |
1090 Serve the MainValues, parameterized on river and location, Q and W. | |
1091 Removed Facet-implementation. | |
1092 | |
1093 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: | |
1094 Updated Facet Types. | |
1095 | |
1096 * src/main/java/de/intevation/flys/artifacts/model/MainValuesQFacet.java: | |
1097 src/main/java/de/intevation/flys/artifacts/model/MainValuesWFacet.java: | |
1098 New, trivial facets, extracted from MainValuesArtifact. | |
1099 | |
1100 2011-08-26 Ingo Weinzierl <ingo@intevation.de> | |
1101 | |
1102 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Call | |
1103 State.endOfLife() of each State that is no longer in the queue of the | |
1104 artifact when this artifact steps back to a previous state. | |
1105 | |
1106 2011-08-25 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1107 | |
1108 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java: | |
1109 Plot MainValues delivered by MainValuesFacet in much the same ways than | |
1110 Annotations in LongitudinalSection plots. | |
1111 | |
1112 2011-08-25 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1113 | |
1114 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java: | |
1115 Prepare further differentiation between Annotations that stick to X or Y- | |
1116 Axis, copied some positioning logic into StickyAxisAnnotation | |
1117 implementation. | |
1118 | |
1119 2011-08-25 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1120 | |
1121 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java: | |
1122 Minor cosmetics. | |
1123 | |
1124 2011-08-25 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1125 | |
1126 Added MainValue-Fetching-Capabilities to MainValuesArtifact. | |
1127 | |
1128 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java | |
1129 (initialize, getMinValues): | |
1130 Let MainValuesArtifact return "real" MainValues, although ignorant of all | |
1131 parameterization. | |
1132 | |
1133 2011-08-25 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1134 | |
1135 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java | |
1136 (MainValueFacet): | |
1137 Improved and straightened implementation, added code-Annotations and Todos. | |
1138 | |
1139 2011-08-25 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1140 | |
1141 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java | |
1142 (MainValueFacet): | |
1143 Improved and straightened implementation, added code-Annotations and Todos. | |
1144 | |
1145 2011-08-25 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1146 | |
1147 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java | |
1148 (getState): | |
1149 Resolved multiple creation of state (yet not very clean). | |
1150 | |
1151 2011-08-25 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1152 | |
1153 * src/main/java/de/intevation/flys/artifacts/model/AnnotationFacet.java, | |
1154 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
1155 Cosmetics, docs. | |
1156 | |
1157 * src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java: | |
1158 Cosmetics. | |
1159 | |
1160 2011-08-25 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1161 | |
1162 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: | |
1163 Added new (MainValues) Facet-Type. | |
1164 | |
1165 2011-08-24 Ingo Weinzierl <ingo@intevation.de> | |
1166 | |
1167 * src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java: | |
1168 Added a method that returns a River object based on its database id. | |
1169 | |
1170 * src/main/java/de/intevation/flys/artifacts/RiverAxisArtifact.java: The | |
1171 data that is required for this artifact is fetched from database instead | |
1172 from a Master-Artifact. The creation of static artifacts should use | |
1173 database ids instead of cloning a Master-Artifact. | |
1174 | |
1175 2011-08-24 Ingo Weinzierl <ingo@intevation.de> | |
1176 | |
1177 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java: | |
1178 Removed needless imports. | |
1179 | |
1180 2011-08-24 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1181 | |
1182 Added configuration for factory and rule for MainValueArtifacts. | |
1183 | |
1184 * doc/conf.xml: | |
1185 Add a mainvalue factory to serve MainValueArtifacts. | |
1186 | |
1187 * doc/conf/meta-data.xml: | |
1188 Recomment mainvalue artifact when computed_discharge_curve can be put out. | |
1189 | |
1190 2011-08-24 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1191 | |
1192 Let MainValuesArtifact have a state, outputmode and facet. | |
1193 | |
1194 * src/main/java/de/intevation/flys/artifacts/states/StaticState.java: | |
1195 New, a non-abstract DefaultState. | |
1196 | |
1197 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java: | |
1198 Progressed with implementation, use StaticState to hook output modes and | |
1199 facet in; use (Static)FLYSArtifact implementation. | |
1200 | |
1201 2011-08-24 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1202 | |
1203 Smaller cosmetics. | |
1204 | |
1205 * src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java, | |
1206 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java: | |
1207 Cosmetics in comments. | |
1208 | |
1209 * src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java: | |
1210 Added @Override annotations. | |
1211 | |
1212 * src/main/java/de/intevation/flys/artifacts/model/DataFacet.java: | |
1213 Use brackets to improve readability of ternary operator. | |
1214 | |
1215 2011-08-24 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1216 | |
1217 * doc/conf/meta-data.xml: Use "ids" in user specific part, too. | |
1218 | |
1219 2011-08-24 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1220 | |
1221 * doc/conf/meta-data.xml: s/db-ids/ids/g to unify system and user specific | |
1222 loading. | |
1223 | |
1224 2011-08-24 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1225 | |
1226 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
1227 Extracted access to state and states in order to have fewer places to | |
1228 modify when going for single/trivial state- artifacts. | |
1229 | |
1230 2011-08-24 Ingo Weinzierl <ingo@intevation.de> | |
1231 | |
1232 * src/main/java/de/intevation/flys/artifacts/states/WMSBackgroundState.java: | |
1233 Append the river's srid to the WMSLayerFacet. | |
1234 | |
1235 2011-08-24 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1236 | |
1237 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java: | |
1238 Minor fixes, ressurect Facet implementation as inner class. | |
1239 | |
1240 2011-08-24 Ingo Weinzierl <ingo@intevation.de> | |
1241 | |
1242 * doc/conf/artifacts/winfo.xml: Moved the input of barriers one state | |
1243 earlier where the scenario is selected as well. | |
1244 | |
1245 * src/main/java/de/intevation/flys/artifacts/states/ScenarioSelect.java: | |
1246 This state now desires the "map_digitize" UI provider and returns both | |
1247 items "scenario" and "uesk.barriers" in the dynamic describe part. | |
1248 | |
1249 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: | |
1250 Removed the UI provider and the computeFeed() which is no longer needed, | |
1251 because there is no more user input in this state. | |
1252 | |
1253 2011-08-24 Ingo Weinzierl <ingo@intevation.de> | |
1254 | |
1255 * src/main/java/de/intevation/flys/artifacts/states/WMSBackgroundState.java, | |
1256 src/main/java/de/intevation/flys/artifacts/states/RiverAxisState.java: | |
1257 Repaired broken xpath expressions (the config changed in one of the last | |
1258 commits) and make use of the variable support in xpath expressions to | |
1259 replace the rivername. | |
1260 | |
1261 * src/main/java/de/intevation/flys/artifacts/WMSBackgroundArtifact.java: | |
1262 Save the rivername while initializing this artifact. This is now | |
1263 necessary, because each river can have its own background wms | |
1264 configured. | |
1265 | |
1266 2011-08-23 Ingo Weinzierl <ingo@intevation.de> | |
1267 | |
1268 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java: | |
1269 Repaired broken river-wms initialization. | |
1270 | |
1271 2011-08-23 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1272 | |
1273 * src/main/java/de/intevation/flys/artifacts/model/WMSLayerFacet.java, | |
1274 src/main/java/de/intevation/flys/artifacts/model/DataFacet.java, | |
1275 src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java, | |
1276 src/main/java/de/intevation/flys/artifacts/model/ReportFacet.java, | |
1277 src/main/java/de/intevation/flys/artifacts/model/DurationCurveFacet.java, | |
1278 src/main/java/de/intevation/flys/artifacts/model/ManagedFacet.java, | |
1279 src/main/java/de/intevation/flys/artifacts/model/ManagedFacetAdapter.java, | |
1280 src/main/java/de/intevation/flys/artifacts/model/AnnotationFacet.java, | |
1281 src/main/java/de/intevation/flys/artifacts/model/WSPLGENFacet.java: | |
1282 Made facets cloneable with the right type. | |
1283 | |
1284 * src/main/java/de/intevation/flys/artifacts/services/MapInfoService.java, | |
1285 src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java: | |
1286 Removed superfluous imports. | |
1287 | |
1288 2011-08-23 Ingo Weinzierl <ingo@intevation.de> | |
1289 | |
1290 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
1291 Declare the first artifact of an output as master artifact (artifacts | |
1292 are ordered by their creation time). | |
1293 | |
1294 2011-08-23 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1295 | |
1296 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java: | |
1297 Removed facet interface. | |
1298 | |
1299 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
1300 Make artifacts cloneable. TODO: Override deepCopy() in subclassed | |
1301 states and facets. | |
1302 | |
1303 2011-08-23 Ingo Weinzierl <ingo@intevation.de> | |
1304 | |
1305 * doc/conf/conf.xml: Added the MapInfoService and adapted the floodmap | |
1306 configuration. Now, each river can have its own background wms layer | |
1307 defined. | |
1308 | |
1309 * src/main/java/de/intevation/flys/artifacts/services/MapInfoService.java: | |
1310 New. This service returns some basic information used to create maps for | |
1311 a specific river. The name of the desired river needs to be defined at | |
1312 "/mapinfo/river/text()". | |
1313 | |
1314 * src/main/java/de/intevation/flys/artifacts/states/RiverAxisState.java: | |
1315 Adapted an xpath expression that points to the srid of a river in the | |
1316 floodmap configuration (which changed). | |
1317 | |
1318 2011-08-22 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1319 | |
1320 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
1321 Build out/facet filter from XML document passed at creation time. | |
1322 | |
1323 2011-08-22 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1324 | |
1325 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
1326 Added some code to filter outs/facets by an optional positive list. | |
1327 This is needed to only expose parts of the facets. This | |
1328 is needed for artifacts which are loaded into a collection. | |
1329 TODO: create the filter from the XML document passed at creation | |
1330 time. | |
1331 | |
1332 2011-08-22 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1333 | |
1334 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Moved all | |
1335 WINFO specific code to WINFOArtifact. FLYSArtifact is now only revolving | |
1336 about state affairs. | |
1337 | |
1338 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Re-inserted | |
1339 the specific stuff here. | |
1340 | |
1341 * src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java, | |
1342 src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java, | |
1343 src/main/java/de/intevation/flys/artifacts/states/WQSelect.java, | |
1344 src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java, | |
1345 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java, | |
1346 src/main/java/de/intevation/flys/exports/ChartGenerator.java: | |
1347 Adjusted the casts. | |
1348 | |
1349 2011-08-22 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1350 | |
1351 * doc/conf/meta-data.xml: Filter by outs in user template part. | |
1352 | |
1353 2011-08-22 Ingo Weinzierl <ingo@intevation.de> | |
1354 | |
1355 * doc/conf/artifacts/winfo.xml: Defined an input value for the GeoJSON | |
1356 string to save user defined barriers in the map. | |
1357 | |
1358 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: | |
1359 Added a computeFeed() method. In addition, this state now prefers the | |
1360 "noinput" UI provider. | |
1361 | |
1362 2011-08-19 Ingo Weinzierl <ingo@intevation.de> | |
1363 | |
1364 * doc/conf/conf.xml: Each river requires a SRID definition. This | |
1365 definition is used to transform the river's geometries into the desired | |
1366 projection. | |
1367 | |
1368 * src/main/java/de/intevation/flys/artifacts/model/WMSLayerFacet.java: | |
1369 This facets are able to save a SRID. | |
1370 | |
1371 * src/main/java/de/intevation/flys/artifacts/states/RiverAxisState.java: | |
1372 The extent that is written into the WMSLayerFacet is determined by the | |
1373 boundary of the geometry. | |
1374 | |
1375 * src/main/java/de/intevation/flys/utils/GeometryUtils.java: New. A | |
1376 utility class that provides helper functions for geometries. Currently, | |
1377 one function is defined, that creates a boundary string for OpenLayers. | |
1378 | |
1379 2011-08-19 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1380 | |
1381 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java, | |
1382 src/main/java/de/intevation/flys/artifacts/states/DGMSelect.java, | |
1383 src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java, | |
1384 src/main/java/de/intevation/flys/artifacts/states/ProfileDistanceSelect.java, | |
1385 src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java, | |
1386 src/main/java/de/intevation/flys/artifacts/states/RangeState.java: | |
1387 Removed superfluous imports. | |
1388 | |
1389 2011-08-19 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1390 | |
1391 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: | |
1392 Removed CallContext from state validation. It is not needed and hindered | |
1393 the extraction of all out of an artifact if you don't have a | |
1394 call context (like initial scan of datacage database). | |
1395 | |
1396 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java: | |
1397 Extract all outs now. | |
1398 | |
1399 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java, | |
1400 src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java, | |
1401 src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java, | |
1402 src/main/java/de/intevation/flys/artifacts/states/FloodplainChoice.java, | |
1403 src/main/java/de/intevation/flys/artifacts/states/ScenarioSelect.java, | |
1404 src/main/java/de/intevation/flys/artifacts/states/DGMSelect.java, | |
1405 src/main/java/de/intevation/flys/artifacts/states/LocationSelect.java, | |
1406 src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java, | |
1407 src/main/java/de/intevation/flys/artifacts/states/ProfileDistanceSelect.java, | |
1408 src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java, | |
1409 src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java, | |
1410 src/main/java/de/intevation/flys/artifacts/states/DefaultState.java, | |
1411 src/main/java/de/intevation/flys/artifacts/states/WQSelect.java, | |
1412 src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java, | |
1413 src/main/java/de/intevation/flys/artifacts/states/RangeState.java, | |
1414 src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java, | |
1415 src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java, | |
1416 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
1417 Adjusted calls. | |
1418 | |
1419 2011-08-19 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1420 | |
1421 * src/main/resources/messages.properties, | |
1422 src/main/resources/messages_de_DE.properties, | |
1423 src/main/resources/messages_en.properties, | |
1424 src/main/resources/messages_de.properties: | |
1425 Added lacalization of "Streckenfavoriten". | |
1426 | |
1427 2011-08-19 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1428 | |
1429 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: | |
1430 Picky white-space cosmetics. | |
1431 | |
1432 2011-08-19 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1433 | |
1434 Added stub implementation of new MainValuesArtifact. | |
1435 | |
1436 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java: | |
1437 New. Stub implementation for new MainValuesArtifact. | |
1438 | |
1439 2011-08-19 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1440 | |
1441 Fixed flys/issue262 | |
1442 | |
1443 * src/main/java/de/intevation/flys/artifacts/datacage/Recommendations.java: | |
1444 Unified user and system tempate. | |
1445 Looks for "/artifact-database/metadata/template/text()" | |
1446 in conf.xml. Defaults to "${artifacts.config.dir}/meta-data.xml". If user id is | |
1447 given its the default connection for contexts. | |
1448 | |
1449 * doc/conf/conf.xml: Adjusted | |
1450 * doc/conf/meta-data-system.xml, doc/conf/meta-data-user.xml: Deleted. | |
1451 * doc/conf/meta-data.xml: Unified version of user and system template. | |
1452 | |
1453 * src/main/java/de/intevation/flys/artifacts/datacage/templating/App.java: | |
1454 Adjusted the test program. | |
1455 | |
1456 2011-08-18 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1457 | |
1458 Fixed flys/issue260 | |
1459 | |
1460 * doc/conf/meta-data-user.xml: Uses master_artifacts view now. | |
1461 | |
1462 2011-08-18 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1463 | |
1464 * doc/conf/datacage.sql: Added view master_artifacts to select | |
1465 the master artifacts of the collections more easily. | |
1466 To upgrade existing database: | |
1467 | |
1468 CREATE VIEW master_artifacts AS | |
1469 SELECT a2.id AS id, | |
1470 a2.gid AS gid, | |
1471 a2.state AS state, | |
1472 a2.creation AS creation, | |
1473 ci2.collection_id AS collection_id | |
1474 FROM collection_items ci2 | |
1475 JOIN artifacts a2 | |
1476 ON ci2.artifact_id = a2.id | |
1477 JOIN (SELECT ci.collection_id AS c_id, | |
1478 MIN(a.creation) AS oldest_a | |
1479 FROM collection_items ci | |
1480 JOIN artifacts a | |
1481 ON ci.artifact_id = a.id | |
1482 GROUP BY ci.collection_id) o | |
1483 ON o.c_id = ci2.collection_id | |
1484 WHERE a2.creation = o.oldest_a; | |
1485 | |
1486 TODO: Use the view in the templates. | |
1487 | |
1488 2011-08-18 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1489 | |
1490 * doc/conf/meta-data-user.xml: Removed state filter because it was broken. | |
1491 Simplified by joining two contexts. | |
1492 | |
1493 2011-08-18 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1494 | |
1495 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java: | |
1496 Fix issues with lines of annotation when zoomed (wrong scale used). | |
1497 | |
1498 2011-08-18 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1499 | |
1500 Added legend for annotations to LongitudinalSectionDiagram. | |
1501 | |
1502 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
1503 Added a pseudo-dataseries/collection to employ existing infrastructure for | |
1504 displaying localized label for Annotations (yet unthemed). | |
1505 | |
1506 * src/main/resources/messages.properties, | |
1507 src/main/resources/messages_de_DE.properties, | |
1508 src/main/resources/messages_en.properties, | |
1509 src/main/resources/messages_de.properties: | |
1510 Made label-string available for localization. | |
1511 | |
1512 2011-08-17 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1513 | |
1514 Moved StickyAxisAnnotation into new package de.intevation.flys.jfree . | |
1515 | |
1516 * src/main/java/de/intevation/flys/exports/StickyAxisAnnotation.java: | |
1517 Deleted/moved to src/main/java/de/intevation/flys/jfree/ . | |
1518 | |
1519 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java: | |
1520 New/moved from src/main/java/de/intevation/flys/export/ , adjusted | |
1521 package statement, made class public. | |
1522 | |
1523 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
1524 Added import statement for de.intevation.flys.jfree.StickyAxisAnnotation . | |
1525 | |
1526 2011-08-17 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1527 | |
1528 Extracted and renamed CustomAnnotation to StickyAxisAnnotation. Also removed | |
1529 needless imports. | |
1530 | |
1531 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java, | |
1532 src/main/java/de/intevation/flys/exports/StickyAxisAnnotation.java: | |
1533 Extracted class implementation CustomAnnotation and renamed to | |
1534 StickyAxisAnnotation. | |
1535 | |
1536 2011-08-17 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1537 | |
1538 Improved CustomAnnotations and rendering thereof, now including an | |
1539 "axis mark" (little line at axis), also prepared possibility to put | |
1540 annotations on Y-axis. | |
1541 | |
1542 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
1543 Improved CustomAnnotation to include marks on the axis and better spacing | |
1544 from it. | |
1545 | |
1546 2011-08-17 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1547 | |
1548 Implemented proof-of-concept collision-detection when drawing | |
1549 CustomAnnotations (text only). | |
1550 | |
1551 * src/main/java/de/intevation/flys/exports/ChartExportHelper.java: | |
1552 Pass a fresh ChartRenderingInfo-Object to createBufferedImage, such that | |
1553 information can be collected while rendering. | |
1554 | |
1555 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
1556 Exploit the fact that XYTextAnnotation already registers drawn shape in the | |
1557 ChartRenderingInfo if it exists and either an URL or tooltip is set. | |
1558 Before drawing, calculate own shape and compare against already registered | |
1559 shapes. | |
1560 | |
1561 2011-08-16 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1562 | |
1563 Implemented (yet dummy) custom Annotation class. | |
1564 | |
1565 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
1566 Added implementation of yet dummy CustomAnnotation class. | |
1567 | |
1568 2011-08-16 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1569 | |
1570 Slightly improved rendering of annotations. | |
1571 | |
1572 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
1573 Slightly improved rendering of annotations. Still no valid collision | |
1574 detection. Annotations are drawn every 2 km; first come first serve. | |
1575 | |
1576 2011-08-15 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1577 | |
1578 Fix for flys/issue191 | |
1579 | |
1580 * src/main/java/de/intevation/flys/artifacts/model/WQ.java(longestIncreasingWRangeIndices): | |
1581 Added a method to find the longest index range with increasing w values. | |
1582 | |
1583 * src/main/java/de/intevation/flys/exports/ATWriter.java: Export the longest | |
1584 range of monotone increasing w values instead of the first one. | |
1585 TODO: The first line of the export is still broken. | |
1586 | |
1587 * src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java: | |
1588 Removed superfluous import. | |
1589 | |
1590 2011-08-12 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1591 | |
1592 * src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java: | |
1593 Resolved two TODOs: get Annotations of selected River, get "point" | |
1594 Annotations only. | |
1595 | |
1596 2011-08-12 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1597 | |
1598 Added functionality to query range and point-annotations only to | |
1599 AnnotationFactory. | |
1600 | |
1601 * src/main/java/de/intevation/flys/artifacts/model/AnnotationsFactory.java | |
1602 (getPointAnnotations, getAnnotationsBreadth): | |
1603 New functions to query breadth and point-only annotations. | |
1604 | |
1605 2011-08-11 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1606 | |
1607 * src/main/java/de/intevation/flys/artifacts/datacage/Recommendations.java: | |
1608 Added a development mode for recommendations. Enabled with | |
1609 stetting system property 'flys.datacage.recommendations.development' to true. | |
1610 When set the XML template are re-read if the timestamps of the | |
1611 files have changed so you do not have to restart the server again and again. | |
1612 | |
1613 * doc/conf/meta-data-user.xml: Sort collections by creation time in descending order. | |
1614 | |
1615 2011-08-11 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1616 | |
1617 Rather picky cosmetics only. | |
1618 | |
1619 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java, | |
1620 src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java, | |
1621 src/main/java/de/intevation/flys/artifacts/datacage/templating/Builder.java, | |
1622 src/main/java/de/intevation/flys/artifacts/datacage/Recommendations.java, | |
1623 src/main/java/de/intevation/flys/artifacts/model/WQKms.java, | |
1624 src/main/java/de/intevation/flys/artifacts/states/DefaultState.java, | |
1625 src/main/java/de/intevation/flys/artifacts/states/DurationCurveState.java, | |
1626 src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
1627 End comments on a full stop, separate from closing '*/' by whitespace, | |
1628 adjusted javadoc comments. | |
1629 | |
1630 2011-08-11 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1631 | |
1632 Made Annotations visible in LongitudinalSection diagrams. | |
1633 | |
1634 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java, | |
1635 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
1636 Register new Facet Type, let LongitudinalSectionGenerator include | |
1637 Annotations in diagram (yet unfiltered and independent of river). | |
1638 | |
1639 2011-08-11 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1640 | |
1641 * doc/conf/conf.xml, | |
1642 doc/conf/artifacts/annotation.xml, | |
1643 doc/conf/meta-data-system.xml: | |
1644 Added configuration for AnnotationArtifacts. | |
1645 | |
1646 2011-08-11 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1647 | |
1648 Added demo- implementation of a AnnotationArtifact and its Facet. | |
1649 | |
1650 * src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java, | |
1651 src/main/java/de/intevation/flys/artifacts/model/AnnotationFacet.java, | |
1652 src/main/java/de/intevation/flys/artifacts/states/AnnotationRiverState.java: | |
1653 New. Initial version of an AnnotationArtifact and its State and Facet. | |
1654 | |
1655 2011-08-10 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1656 | |
1657 * doc/conf/datacage.sql: Extended schema for artifacts and collections | |
1658 to have creation times, too. | |
1659 | |
1660 To update existing databases: | |
1661 | |
1662 ALTER TABLE artifacts ADD COLUMN creation TIMESTAMP NOT NULL DEFAULT current_timestamp; | |
1663 ALTER TABLE collections ADD COLUMN creation TIMESTAMP NOT NULL DEFAULT current_timestamp; | |
1664 | |
1665 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java: | |
1666 Store creation times for artifacts and collections, too. | |
1667 | |
1668 * src/main/resources/datacage-sql/org-h2-driver.properties, | |
1669 src/main/resources/datacage-sql/org-postgresql-driver.properties: | |
1670 Adjusted SQL statements. | |
1671 | |
1672 2011-08-10 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1673 | |
1674 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java: | |
1675 Make it compilable again (BackendListener interface changed). | |
1676 | |
1677 2011-08-10 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1678 | |
1679 * doc/conf/meta-data-user.xml: Added grouping element around w/q of each | |
1680 longitudinal section artifact. | |
1681 | |
1682 * src/main/java/de/intevation/flys/artifacts/datacage/templating/CompiledStatement.java, | |
1683 src/main/java/de/intevation/flys/artifacts/datacage/templating/StackFrames.java: | |
1684 Added some debugging capabilities. | |
1685 | |
1686 * src/main/java/de/intevation/flys/artifacts/datacage/templating/ResultData.java: | |
1687 Added isEmpty() method. | |
1688 | |
1689 * src/main/java/de/intevation/flys/artifacts/datacage/templating/Builder.java: | |
1690 Now it is possible to nest <dc:elements> into other elements in the <dc:context> | |
1691 body. This is useful and needed for grouping and repeating results. | |
1692 | |
1693 2011-08-10 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1694 | |
1695 * src/main/java/de/intevation/flys/artifacts/datacage/Recommendations.java: | |
1696 User connection was cached, system was not. Lead to incorrect results. | |
1697 | |
1698 2011-08-09 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1699 | |
1700 * doc/conf/meta-data-user.xml: Added <old_calculations> element | |
1701 around old calculations. | |
1702 | |
1703 2011-08-09 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1704 | |
1705 * src/main/java/de/intevation/flys/artifacts/model/QRangeTree.java: | |
1706 Cosmetic: Replaced usage of legacy java.util.Stack with java.util.Deque. | |
1707 | |
1708 2011-08-04 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1709 | |
1710 * doc/conf/meta-data-user.xml: Use 'CAST(x AS uuid)' instead of 'x::uuid' | |
1711 to be more compatible. | |
1712 | |
1713 2011-08-04 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1714 | |
1715 * src/main/java/de/intevation/flys/artifacts/datacage/Recommendations.java: | |
1716 If given an artifact place its identifier into parameters passed to template. | |
1717 Fixed swapped user/system connections if using the user template. | |
1718 | |
1719 * doc/conf/meta-data-user.xml: Recommend w/q facet from old calculations | |
1720 if an artifact was given that represents a longitudinal section | |
1721 "Laengsschnitt". | |
1722 | |
1723 TODO I: The template uses PostgreSQL specific UUID casts. | |
1724 TODO II: We need to find a way only to recommend the master artifacts. | |
1725 | |
1726 2011-08-04 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1727 | |
1728 * src/main/java/de/intevation/flys/artifacts/datacage/templating/Builder.java: | |
1729 Added a <dc:comment> tag to place comments in the meta data templates. | |
1730 <!-- ... --> comments are copied through. | |
1731 | |
1732 * doc/conf/meta-data-user.xml: Added a simple test. | |
1733 | |
1734 2011-08-04 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1735 | |
1736 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java: | |
1737 Be a bit more tolerant about empty strings for UUIDs of artifact and user. | |
1738 | |
1739 2011-08-03 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1740 | |
1741 Bring user specific meta data service to life. | |
1742 | |
1743 * doc/conf/conf.xml: There are now two templates to configure: | |
1744 The system template (only the data from the backend) and the | |
1745 user template (the datcage db and the backend db), | |
1746 | |
1747 * doc/conf/meta-data-template.xml: Deleted. | |
1748 * doc/conf/meta-data-user.xml: New. The user specific template. TODO: Write it! | |
1749 * doc/conf/meta-data-system.xml: New. The system template. | |
1750 | |
1751 * src/main/java/de/intevation/flys/artifacts/datacage/templating/NoneUserSpecific.java: | |
1752 Deleted. | |
1753 * src/main/java/de/intevation/flys/artifacts/datacage/Recommendations.java: | |
1754 New. The logic to fill the templates. | |
1755 | |
1756 * src/main/java/de/intevation/flys/artifacts/CollectionMonitor.java: | |
1757 Adjusted to follow the new call signatures. | |
1758 | |
1759 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java: | |
1760 Refactored. Removed the old code and only leave the new service. Following | |
1761 XPaths are evaluated on the incomming document: | |
1762 | |
1763 "/art:meta/art:artifact-id/@value" The UUID of the artifact. Optional. | |
1764 Used to fill the template enviroment. | |
1765 "/art:meta/art:user-id/@value" The UUID of the user. Optional. | |
1766 If given the user specific template is filled. | |
1767 "/art:meta/art:outs/@value" The list of outs used to recommend for the | |
1768 various outputs. | |
1769 "/art:meta/art:parameters/@value" A list of key/value pairs to inject more | |
1770 filters to the templating. | |
1771 | |
1772 * src/main/java/de/intevation/flys/artifacts/datacage/templating/App.java: | |
1773 Change to follow the new recommendations semantics. | |
1774 | |
1775 * src/main/java/de/intevation/flys/artifacts/datacage/templating/Builder.java: | |
1776 Added symbolic constants to distinguish "user" and "system" db connections. | |
1777 | |
1778 2011-08-03 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1779 | |
1780 * doc/conf/conf.xml: | |
1781 Cosmetics, let comments start with a capital and end on a full stop, | |
1782 removed incorrect comment. | |
1783 | |
1784 2011-08-03 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1785 | |
1786 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
1787 Cosmetics, let comments start with a capital and end on a full stop. | |
1788 | |
1789 2011-08-03 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1790 | |
1791 * src/main/java/de/intevation/flys/artifacts/CollectionMonitor.java(extractOutputNames): | |
1792 Fixed potential NPE. | |
1793 | |
1794 2011-08-03 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1795 | |
1796 Added support for more than one db connection in datacage templating. | |
1797 | |
1798 * src/main/java/de/intevation/flys/artifacts/datacage/templating/Builder.java: | |
1799 Now you can pass a list of named db connections to the build process. | |
1800 The purpose is to mix more then one database (e.g. the backend db and | |
1801 the user specific one). | |
1802 | |
1803 To use this feature you can add an "connection" attribute | |
1804 to <dc:context> with the name of the connection to use. | |
1805 If no connection name is given the last used is used again. | |
1806 Initially the first connection in the given list is used. | |
1807 If the context is left the connection that was active before | |
1808 will be active again in a stacking manner. | |
1809 | |
1810 When creating NamedConnection objects you can set a boolean flag | |
1811 if the results coming from the connection should be cached. This | |
1812 is useful e.g. for the user specific database which runs in-memory | |
1813 so caching would introduce some superfluous overhead. | |
1814 | |
1815 * src/main/java/de/intevation/flys/artifacts/datacage/templating/CompiledStatement.java: | |
1816 When executing the queries explicitly pass if caching should be used. | |
1817 | |
1818 2011-08-02 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1819 | |
1820 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java: | |
1821 Forgot to fetch dialect dependent SQL statement for deleting | |
1822 artifacts by uuid. | |
1823 | |
1824 2011-08-02 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1825 | |
1826 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java: | |
1827 Set the name of the collections at initial scan, too. | |
1828 | |
1829 2011-08-02 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1830 | |
1831 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java: | |
1832 Fixed wrong SQL references. | |
1833 | |
1834 2011-08-02 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1835 | |
1836 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java: | |
1837 Fixed two NPEs. | |
1838 | |
1839 2011-08-02 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1840 | |
1841 * src/main/java/de/intevation/flys/artifacts/datacage/DatacageBackendListener.java, | |
1842 src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java: | |
1843 Forwarded kill collections and artifacts events to datacage. | |
1844 | |
1845 * src/main/resources/datacage-sql/org-h2-driver.properties, | |
1846 src/main/resources/datacage-sql/org-postgresql-driver.properties: | |
1847 Added statement to delete artifact by uuid. | |
1848 | |
1849 2011-08-02 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1850 | |
1851 * src/main/java/de/intevation/flys/artifacts/datacage/DatacageBackendListener.java: | |
1852 Made it compilable again. The signature of BackendListener has changed. | |
1853 | |
1854 2011-08-01 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1855 | |
1856 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java: | |
1857 Completed the backend listener stuff. | |
1858 | |
1859 TODO I: Added some cleanup for orphaned artifacts. | |
1860 TODO II: Figure out a way to delete collections/artifacts | |
1861 which are delete from backend without the | |
1862 backend API. | |
1863 | |
1864 * src/main/resources/datacage-sql/org-h2-driver.properties, | |
1865 src/main/resources/datacage-sql/org-postgresql-driver.properties: | |
1866 Added needed statements. | |
1867 | |
1868 2011-08-01 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1869 | |
1870 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java: | |
1871 Update collection names on change. Remove artifacts from collections. | |
1872 | |
1873 * src/main/resources/datacage-sql/org-h2-driver.properties, | |
1874 src/main/resources/datacage-sql/org-postgresql-driver.properties: | |
1875 Added needed statements. | |
1876 | |
1877 2011-08-01 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1878 | |
1879 * src/main/java/de/intevation/flys/artifacts/datacage/DatacageBackendListener.java: | |
1880 Call datacage with the global context. This is needed to access the state engine. | |
1881 | |
1882 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java: Changed | |
1883 signatures to take the global context, too. Create artifacts via backend listener | |
1884 interface. | |
1885 | |
1886 2011-08-01 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1887 | |
1888 * src/main/java/de/intevation/flys/artifacts/datacage/DatacageBackendListener.java: | |
1889 Fixed recursion bug. | |
1890 | |
1891 2011-08-01 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1892 | |
1893 * src/main/java/de/intevation/flys/artifacts/datacage/DatacageBackendListener.java: | |
1894 Added debug output. | |
1895 | |
1896 2011-08-01 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1897 | |
1898 * doc/conf/conf.xml: Added backend listener for datacage. | |
1899 | |
1900 * src/main/java/de/intevation/flys/artifacts/datacage/DatacageBackendListener.java: | |
1901 New. Proxies backend listener calls to datacage. | |
1902 | |
1903 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java: | |
1904 Implements backend listener. TODO: Update the datacage database | |
1905 according the change calls. | |
1906 | |
1907 2011-08-01 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1908 | |
1909 * src/main/java/de/intevation/flys/artifacts/services/meta, | |
1910 src/main/java/de/intevation/flys/artifacts/datacage/templating: | |
1911 Moved/renamed package to better fit the common semantics. | |
1912 DataCage.java is now call NoneUserSpecific.java to reflect the | |
1913 fact that it is the template for the user independent db | |
1914 analysis. | |
1915 | |
1916 * src/main/java/de/intevation/flys/artifacts/CollectionMonitor.java, | |
1917 src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java: | |
1918 Ajusted imports and calls. | |
1919 | |
1920 2011-08-01 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1921 | |
1922 * doc/conf/conf.xml: For documentation purposes added a out-commented | |
1923 section with the default configuration of the datacage. | |
1924 | |
1925 2011-07-31 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1926 | |
1927 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java: | |
1928 Delete the artifacts at before initial scan, too. They are independent | |
1929 from users. Fixed problem when writing state data content. | |
1930 | |
1931 * src/main/resources/datacage-sql/org-h2-driver.properties: Added | |
1932 statement to delete the artifacts at initial scan, too. | |
1933 | |
1934 * src/main/resources/datacage-sql/org-postgresql-driver.properties: | |
1935 New. PostgreSQL version of the statements. The database scheme | |
1936 is the same as H2. Very useful for debugging. | |
1937 | |
1938 2011-07-31 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1939 | |
1940 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java: | |
1941 Added kludge for the types of artifact data. They seem to be null | |
1942 in some circumstances. Needs to be debugged! | |
1943 | |
1944 2011-07-31 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1945 | |
1946 * src/main/java/de/intevation/flys/artifacts/datacage/DBConfig.java: | |
1947 Fixed default connection URL to use a namend in-mermory database. | |
1948 | |
1949 2011-07-31 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1950 | |
1951 * doc/conf/datacage.sql: Fixed constraint. | |
1952 | |
1953 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java: | |
1954 Added some debug output. | |
1955 | |
1956 2011-07-29 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1957 | |
1958 * doc/conf/datacage.sql: Removed artifact_id from facet because there | |
1959 is a link via out_id -> outs.id: artifact_id -> artifacts to | |
1960 find the corresponding artifact. | |
1961 | |
1962 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java, | |
1963 src/main/resources/datacage-sql/org-h2-driver.properties: Store | |
1964 facets of outs into datacage db at initial scan. | |
1965 | |
1966 2011-07-29 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1967 | |
1968 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java, | |
1969 src/main/resources/datacage-sql/org-h2-driver.properties: | |
1970 Store outs of artifacts into datacage db at initial scan. | |
1971 TODO: store facets. | |
1972 | |
1973 2011-07-29 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1974 | |
1975 * doc/conf/datacage.sql: Added 'type' column in artifacts data. | |
1976 Maybe useful for filtering. | |
1977 | |
1978 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java, | |
1979 src/main/resources/datacage-sql/org-h2-driver.properties: | |
1980 Store artifact data into db at initial scan. | |
1981 TODO: store outs and facets. | |
1982 | |
1983 2011-07-29 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1984 | |
1985 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java, | |
1986 src/main/resources/datacage-sql/org-h2-driver.properties: | |
1987 Add artifacts into datacage db at initial scan. | |
1988 TODO: Store data, outs and facets. | |
1989 | |
1990 2011-07-28 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1991 | |
1992 * doc/conf/datacage.sql: Fixed spelling in sequence name. | |
1993 | |
1994 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java, | |
1995 src/main/resources/datacage-sql/org-h2-driver.properties: Simply add | |
1996 collection item at initial scan if artifact was stored before. | |
1997 TODO: Store new artifacts. | |
1998 | |
1999 2011-07-28 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
2000 | |
2001 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java, | |
2002 src/main/resources/datacage-sql/org-h2-driver.properties: Add | |
2003 collections at initial scan. | |
2004 | |
2005 2011-07-28 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
2006 | |
2007 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java, | |
2008 src/main/resources/datacage-sql/org-h2-driver.properties: Add users | |
2009 at initial scan. | |
2010 | |
2011 2011-07-28 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
2012 | |
2013 * doc/conf/datacage.sql: Using sequences for id generation now | |
2014 to make schema more compatible. | |
2015 | |
2016 2011-07-28 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
2017 | |
2018 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java, | |
2019 src/main/resources/datacage-sql/org-h2-driver.properties: Clear database | |
2020 before initial scan. | |
2021 | |
2022 2011-07-28 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
2023 | |
2024 * src/main/java/de/intevation/flys/artifacts/datacage/DBConnection.java: | |
2025 Deleted. This stuff comes from the artifact database now. | |
2026 | |
2027 * src/main/java/de/intevation/flys/artifacts/datacage/DBConfig.java: | |
2028 New. The db config of the datacage database. | |
2029 | |
2030 * src/main/resources/datacage-sql/org-h2-driver.properties: New. | |
2031 The SQL statements needed for the datacage. | |
2032 | |
2033 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java: | |
2034 Make use of the db config. | |
2035 | |
2036 2011-07-27 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
2037 | |
2038 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java: | |
2039 New. A artifact database lifetime listener to build the initial | |
2040 index of the artifacts in database. | |
2041 | |
2042 * doc/conf/conf.xml: Added the datacage to the list of lifetime | |
2043 listeners. | |
2044 | |
2045 2011-07-27 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
2046 | |
2047 * doc/conf/datacage.sql: Added an explicit table for the outs | |
2048 of an artifact. | |
2049 | |
2050 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
2051 Make the current outs of an artifact accessible only with | |
2052 the global context. | |
2053 | |
2054 2011-07-27 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
2055 | |
2056 * doc/conf/datacage.sql: Added ON DELETE CASCADE constraints. | |
2057 Added state in facet. | |
2058 | |
2059 2011-07-26 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
2060 | |
2061 * doc/conf/datacage.sql: New. H2 Schema for the datacage database. | |
2062 Uses special features like IDENTITY (autoincrement) typed columns. | |
2063 | |
2064 * src/main/java/de/intevation/flys/artifacts/datacage/DBConnection.java: | |
2065 Pooled connection. | |
2066 | |
2067 * pom.xml: Added dependencies to H2 and Apache DBCP. | |
2068 | |
2069 2011-07-26 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
2070 | |
2071 * src/test/java/de/intevation/flys/artifacts/AppTest.java, | |
2072 src/main/java/de/intevation/flys/artifacts/App.java: Removed. | |
2073 This the stupid "Hello, World!" app initially created by the | |
2074 maven archetype. It was never used. | |
2075 | |
2076 2011-07-25 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
2077 | |
2078 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java: | |
2079 Argh! Usage the DOM was not thread safe (discovered with ab). | |
2080 | |
2081 2011-07-25 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
2082 | |
2083 * doc/conf/meta-data-template.xml: '$recommended' lead to XPath | |
2084 errors. Using "dc:contains($parameters, 'recommended')" helps. | |
2085 | |
2086 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java, | |
2087 src/main/java/de/intevation/flys/artifacts/services/meta/FunctionResolver.java: | |
2088 Added some debugging. | |
2089 | |
2090 * src/main/java/de/intevation/flys/artifacts/services/meta/DataCage.java: | |
2091 Added parameters as 'parameters' to parameters. Usefull to check | |
2092 for containment of variables. | |
2093 | |
2094 2011-07-25 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
2095 | |
2096 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java: | |
2097 Added 'if log.isDebugEnabled() {}'. | |
2098 | |
2099 2011-07-25 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
2100 | |
2101 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java: | |
2102 Made Artifact UUID optional and accept extra parameters, too. This enables | |
2103 the service to be used without an arttifact and test all filters. | |
2104 | |
2105 <art:meta xmlns:art="http://www.intevation.de/2009/artifacts"> | |
2106 <art:outs value="computed_discharge_curve,floodmap"/> | |
2107 <art:parameters value="river:Elbe"/> | |
2108 <art:filters value="recommended"/> | |
2109 </art:meta> | |
2110 | |
2111 * src/main/java/de/intevation/flys/artifacts/services/meta/FunctionResolver.java: | |
2112 'contain' accept Maps and collection, too. | |
2113 | |
2114 * src/main/java/de/intevation/flys/artifacts/services/meta/DataCage.java: | |
2115 Made artifact option (= null) in recommendations. | |
2116 | |
2117 2011-07-21 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
2118 | |
2119 * src/main/java/de/intevation/flys/artifacts/services/meta/CompiledStatement.java: | |
2120 Moved connection specific into inner class. The enables the reuse of the | |
2121 compiled statement. | |
2122 | |
2123 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java: The | |
2124 SQL statements are now only compiled once at creation time of the builder. | |
2125 Each connection now reuses them. | |
2126 | |
2127 2011-07-21 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
2128 | |
2129 * doc/conf/cache.xml: Added configuration for static datacage db access. | |
2130 | |
2131 * src/main/java/de/intevation/flys/artifacts/services/meta/App.java: Using | |
2132 caches seems to need an explicit System.exit(). | |
2133 | |
2134 * src/main/java/de/intevation/flys/artifacts/services/meta/CompiledStatement.java: | |
2135 Added support for caching the SQL statements and there results. | |
2136 | |
2137 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java: Some | |
2138 clean up. Reordered code for performance. Strip SQL statements more | |
2139 aggressively. | |
2140 | |
2141 * src/main/java/de/intevation/flys/artifacts/services/meta/ResultData.java: | |
2142 Made it Serializable. | |
2143 | |
2144 * src/main/java/de/intevation/flys/artifacts/cache/CacheFactory.java: | |
2145 Introduced system property 'flys.artifacts.cache.config.file' to make | |
2146 the caching configurable without pulling up the whole stack. | |
2147 | |
2148 2011-07-22 Ingo Weinzierl <ingo@intevation.de> | |
2149 | |
2150 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
2151 Prepared the FLYSArtifactCollection to support the storage of already | |
2152 loaded recommendations in its attribute document. | |
2153 | |
2154 2011-07-21 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
2155 | |
2156 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java: | |
2157 Adjusted to use the DataCage recommendations. The incomming document | |
2158 can pass the artifacts UUID by '/art:outs/@value' the outs as a | |
2159 comma separated list in '/art:outs/@value' and optional a set of | |
2160 filters comma separated in '/art:filters/@value'. | |
2161 | |
2162 If UUID and OUTS are not given the old service is used. This | |
2163 should be removed as soon as the client uses the new service. | |
2164 | |
2165 2011-07-21 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
2166 | |
2167 * src/main/java/de/intevation/flys/artifacts/services/meta/CompiledStatement.java: | |
2168 Allow '-' in variable names. | |
2169 | |
2170 2011-07-21 Ingo Weinzierl <ingo@intevation.de> | |
2171 | |
2172 * doc/conf/meta-data-template.xml: Now, the river-id is really added to | |
2173 the factory node of the wmsbackground layer. | |
2174 | |
2175 2011-07-21 Ingo Weinzierl <ingo@intevation.de> | |
2176 | |
2177 * doc/conf/meta-data-template.xml: Added the river-id to the factory node | |
2178 of the riveraxis and wmsbackground layer. | |
2179 | |
2180 2011-07-21 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
2181 | |
2182 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java, | |
2183 src/main/java/de/intevation/flys/artifacts/services/MainValuesService.java, | |
2184 src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java, | |
2185 src/main/java/de/intevation/flys/artifacts/services/RiverService.java: | |
2186 Adjusted to implement changed Service interface. | |
2187 | |
2188 2011-07-21 Ingo Weinzierl <ingo@intevation.de> | |
2189 | |
2190 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Refactored | |
2191 the method that retrieves the Outputs for the Artifact. Now, we are able | |
2192 to query the Outputs for the current state, and all outputs separately. | |
2193 | |
2194 * src/main/java/de/intevation/flys/artifacts/CollectionMonitor.java: The | |
2195 recommendations provided by this monitor will take the Outputs of the | |
2196 current state only into account. | |
2197 | |
2198 2011-07-21 Ingo Weinzierl <ingo@intevation.de> | |
2199 | |
2200 * doc/conf/meta-data-template.xml: Added conditions for each output type. | |
2201 Splitted the "floodmap" output into two parts: a recommended one and a | |
2202 complete one. The recommended part will only build the document tree for | |
2203 the recommended artifacts; the complete part will build the whole document | |
2204 tree that is available for a floodmap. | |
2205 | |
2206 * src/main/java/de/intevation/flys/artifacts/CollectionMonitor.java: | |
2207 This Hook now uses the DataCage to generate the recommended artifacts. | |
2208 The output-defaults configurtion is needless now. | |
2209 | |
2210 * doc/conf/output-defaults.xml: Removed. The configuration of recommended | |
2211 artifacts takes place in meta-data-template.xml. | |
2212 | |
2213 * src/main/java/de/intevation/flys/artifacts/services/meta/DataCage.java: | |
2214 Bugfix: the DataCage didn't start working if its builder was NOT null, | |
2215 but it shouldn't start if the builder IS null. | |
2216 | |
2217 2011-07-21 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
2218 | |
2219 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java: | |
2220 Now it is possible to directly pass a Node as a root to the builder. | |
2221 The owning document if fetch by Node.getOwnerDocument(). This is | |
2222 useful if you want to generate the recommendation directly into | |
2223 an already existing document under a given node. | |
2224 | |
2225 * src/main/java/de/intevation/flys/artifacts/services/meta/DataCage.java: | |
2226 Changed the signature of recommend() to accept a node where to | |
2227 append the recommendations. | |
2228 | |
2229 2011-07-20 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
2230 | |
2231 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java: | |
2232 Added a macro mechanism: | |
2233 | |
2234 <dc:macro name="keine-fuenf"> | |
2235 <dc:text>'5' ist nicht in der Liste der Outs.</dc:text> | |
2236 </dc:macro> | |
2237 <dc:call-macro name="keine-fuenf"/> | |
2238 <dc:call-macro name="keine-fuenf"/> | |
2239 <dc:call-macro name="keine-fuenf"/> | |
2240 | |
2241 Macros can be defined everywhere in the template | |
2242 with 'macro'. There bodies can contain all valid elements | |
2243 including other 'macro's and 'call-macro's. They are | |
2244 called with their 'name' with 'call-macro'. The control flow | |
2245 is continued inside the body of the called macro and | |
2246 will continue right after the calling 'call-macro' when | |
2247 the macro body is finished. | |
2248 | |
2249 2011-07-20 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
2250 | |
2251 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java: | |
2252 Added a new 'if' construct similiar to XSLT: | |
2253 | |
2254 <dc:if test="not(dc:contains($outs, '5'))"> | |
2255 <dc:text>'5' ist nicht in der Liste der Outs.</dc:text> | |
2256 </dc:if> | |
2257 | |
2258 The control flow is continued inside the 'if' if the 'test' attribute | |
2259 as an XPath expression on an empty document evalutes to true. | |
2260 Else the inside is skipped. There is no 'else'. Use 'choose'/'otherwise' | |
2261 if you need this. | |
2262 | |
2263 2011-07-20 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
2264 | |
2265 * src/main/java/de/intevation/flys/artifacts/services/meta/DataCage.java: | |
2266 Added a recommend() method to generate recommendations for | |
2267 a given artifact, outs and extra parameters. | |
2268 | |
2269 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Added | |
2270 method to extract all data at once. | |
2271 | |
2272 2011-07-20 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
2273 | |
2274 * src/main/java/de/intevation/flys/artifacts/services/meta/FunctionResolver.java: | |
2275 New. Custom XPath function provider. Provides | |
2276 'dc:contains(Object [] haystack, Object needle)' by now. Should be | |
2277 useful to check containments in 'out' lists later. | |
2278 | |
2279 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java: | |
2280 Register the FunctionResolver to the evaluated XPaths. | |
2281 | |
2282 * src/main/java/de/intevation/flys/artifacts/services/meta/App.java: | |
2283 Added code to parse | |
2284 "param:a,b,c" to "param" -> new String [] { "a", "b", "c" } to | |
2285 help testing the 'dc:contains' XPath function. | |
2286 | |
2287 2011-07-20 Ingo Weinzierl <ingo@intevation.de> | |
2288 | |
2289 * doc/conf/conf.xml: Added wms configurations for Saar, Mosel and Elbe. | |
2290 Each river supported by FLYS requires such a WMS configuration. A WMS | |
2291 should contain layers for the river axis, buildings, kilometer labels | |
2292 and maybe a background layer as well. | |
2293 | |
2294 * src/main/java/de/intevation/flys/artifacts/context/FLYSContext.java: | |
2295 Added key that is used to store a map of WMS URLs - for each river a | |
2296 WMS URL. | |
2297 | |
2298 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java: | |
2299 Parse the river WMS from global configuration. | |
2300 | |
2301 * src/main/java/de/intevation/flys/artifacts/states/RiverAxisState.java: | |
2302 Create WMSLayerFacets with URLs based on the river and the river wms | |
2303 configuration stored in the FLYSContext. | |
2304 | |
2305 * src/main/java/de/intevation/flys/artifacts/WMSBackgroundArtifact.java, | |
2306 src/main/java/de/intevation/flys/artifacts/RiverAxisArtifact.java: | |
2307 Adapted the initialize() signature and the method call of computeInit() | |
2308 which requires a FLYSContext to retrieve the river WMS configurations. | |
2309 | |
2310 * src/main/java/de/intevation/flys/artifacts/states/WMSBackgroundState.java, | |
2311 src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: | |
2312 Added the context object parameter to the computeInit() method. | |
2313 | |
2314 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Call | |
2315 initialize() with the context object - which is a FLYSContext or a | |
2316 CallContext. | |
2317 | |
2318 2011-07-20 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
2319 | |
2320 * src/main/java/de/intevation/flys/artifacts/services/meta/App.java: | |
2321 Check if builder was created properly before using it. | |
2322 | |
2323 * src/main/java/de/intevation/flys/artifacts/services/meta/StackFrames.java: | |
2324 Implements now variable provider for XPath expressions. | |
2325 | |
2326 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java: | |
2327 Added new choose/when/otherwise construct similiar to XSLT | |
2328 | |
2329 <dc:choose> | |
2330 <dc:when test="$river = 'Mosel'"> | |
2331 <dc:text>Es ist die Mosel.</dc:text> | |
2332 </dc:when> | |
2333 <dc:when test="$river = 'Saar'"> | |
2334 <dc:text>Es ist die Saar.</dc:text> | |
2335 </dc:when> | |
2336 <dc:otherwise> | |
2337 <dc:text>Es ist weder Mosel noch Saar.</dc:text> | |
2338 </dc:otherwise> | |
2339 </dc:choose> | |
2340 | |
2341 A 'choose' block can contain a list of 'when's and an optional | |
2342 'otherwise'. For each 'when' the test attribute is evaluated | |
2343 as an XPath expression on an empty document. The result of | |
2344 the evaluation is taken as a boolean value. If its value is | |
2345 true the control flow is continued inside the corresponding | |
2346 'when' and the other choose elements are not tested. | |
2347 If the value is values the testing continues with the next | |
2348 'when'. If no 'test' expression is evaluated to true, the | |
2349 control flow continues inside the 'otherwise'. If no 'otherwise' | |
2350 is given nothing happens at all. | |
2351 | |
2352 2011-07-20 Ingo Weinzierl <ingo@intevation.de> | |
2353 | |
2354 * doc/conf/conf.xml: Added a config section for floodmaps. Currently, the | |
2355 background layer's url and layername is defined here. | |
2356 | |
2357 * src/main/java/de/intevation/flys/artifacts/states/WMSBackgroundState.java: | |
2358 Read the background layer configuration from conf.xml. Those values are | |
2359 used to create the WMSLayerFacet. | |
2360 | |
2361 2011-07-20 Ingo Weinzierl <ingo@intevation.de> | |
2362 | |
2363 * src/main/java/de/intevation/flys/artifacts/states/WMSBackgroundState.java: | |
2364 The background layer facet will no longer have an extent set. | |
2365 | |
2366 2011-07-20 Ingo Weinzierl <ingo@intevation.de> | |
2367 | |
2368 * src/main/java/de/intevation/flys/artifacts/states/WMSBackgroundState.java, | |
2369 src/main/java/de/intevation/flys/artifacts/states/RiverAxisState.java: | |
2370 Set the extent of the created WMSLayerFacets and i18n its descriptions. | |
2371 | |
2372 * src/main/resources/messages.properties, | |
2373 src/main/resources/messages_de_DE.properties, | |
2374 src/main/resources/messages_en.properties, | |
2375 src/main/resources/messages_de.properties: Added I18N strings for the | |
2376 background an river axis layer. | |
2377 | |
2378 2011-07-20 Ingo Weinzierl <ingo@intevation.de> | |
2379 | |
2380 * src/main/java/de/intevation/flys/artifacts/model/WMSLayerFacet.java: | |
2381 This facet type has a method to set the extent of a WMS layer. The | |
2382 extent is written to the facets XML node in toXML() as well. | |
2383 | |
2384 2011-07-20 Ingo Weinzierl <ingo@intevation.de> | |
2385 | |
2386 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Adapted | |
2387 the signature of setup() which requires a CallMeta parameter now. | |
2388 | |
2389 * src/main/java/de/intevation/flys/artifacts/WMSBackgroundArtifact.java, | |
2390 src/main/java/de/intevation/flys/artifacts/RiverAxisArtifact.java: Use | |
2391 the CallMeta object retrieved in setup() to call initialize(). It is now | |
2392 able to i18n things. | |
2393 | |
2394 2011-07-20 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
2395 | |
2396 * src/main/java/de/intevation/flys/artifacts/services/meta/App.java: New. | |
2397 Standalone app to debug the datacage template. To use in a maven environment: | |
2398 | |
2399 -Dmeta.data.template=PATH_TO_META_DATA-TEMPLATE.XML \ | |
2400 -Dmeta.data.parameters=river:Mosel \ | |
2401 -Dmeta.data.output=OUTPUT.XML \ | |
2402 -Dflys.backend.user=DB_USER \ | |
2403 -Dflys.backend.password=DB_PASSWORD \ | |
2404 -Dflys.backend.url=DB_CONNECTION_URL \ | |
2405 -Dexec.mainClass=de.intevation.flys.artifacts.services.meta.App | |
2406 | |
2407 2011-07-20 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
2408 | |
2409 * src/main/java/de/intevation/flys/artifacts/services/meta/DataCage.java: | |
2410 New. First step to factor out the "Datenkorb" logic into a service independent | |
2411 singleton. | |
2412 | |
2413 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java: | |
2414 Uses the "Datenkorb" singleton now. | |
2415 | |
2416 2011-07-20 Ingo Weinzierl <ingo@intevation.de> | |
2417 | |
2418 * src/main/java/de/intevation/flys/artifacts/model/ManagedFacet.java: | |
2419 Removed "index" property, because it is already existing in parent | |
2420 class. | |
2421 | |
2422 2011-07-19 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
2423 | |
2424 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java: | |
2425 Improved error handling. | |
2426 | |
2427 2011-07-19 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
2428 | |
2429 * src/main/resources/metadata/template.xml: Deleted. | |
2430 | |
2431 * doc/conf/meta-data-template.xml: New. Was template.xml | |
2432 | |
2433 * doc/conf/conf.xml: Made meta data template configurable. | |
2434 | |
2435 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java: | |
2436 Load template from configuration not from resources. | |
2437 | |
2438 2011-07-19 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
2439 | |
2440 * src/main/resources/metadata/template.xml: s/[a-z]+-id/db-id/ | |
2441 Make database ids identifiable with unique name "db-id". | |
2442 | |
2443 2011-07-19 Ingo Weinzierl <ingo@intevation.de> | |
2444 | |
2445 * src/main/java/de/intevation/flys/artifacts/model/ManagedFacet.java: | |
2446 Override the toXML() method. Subclasses can now write their own XML | |
2447 representation. | |
2448 | |
2449 * src/main/java/de/intevation/flys/artifacts/model/ManagedDomFacet.java: | |
2450 New. This ManagedFacet uses an Element (DOM) to store the information | |
2451 about a facet. The intent of this facet type is to represent a facet | |
2452 stored in an Collection attribute. Different facets can have different | |
2453 attributes that we need to parse, but the only thing ManagedFacets need | |
2454 to do, is to adjust the attributes "active" and "position". So, those | |
2455 values are set directly on the Element, the other attributes aren't | |
2456 touched. | |
2457 | |
2458 * src/main/java/de/intevation/flys/artifacts/model/ManagedFacetAdapter.java: | |
2459 New. This facet is a wrapper for another facet. This subclass of a | |
2460 ManagedFacet overrides the toXML() method. The XML representation is | |
2461 defined by the inner facet that is stored as member variable. The | |
2462 ManagedFacet specific attributes "artifact", "facet", "pos" and "active" | |
2463 are added manually. | |
2464 | |
2465 * src/main/java/de/intevation/flys/collections/AttributeWriter.java: Uses | |
2466 the toXML() method to write a facet node into the attribute document. | |
2467 | |
2468 * src/main/java/de/intevation/flys/collections/AttributeParser.java: Uses | |
2469 the ManagedDomFacet to save the information of a facet which is | |
2470 contained in the attribute part of a Collection's DESCRIBE document. | |
2471 | |
2472 * src/main/java/de/intevation/flys/collections/OutputParser.java: Uses the | |
2473 ManagedFacetAdapter to save a facet, because we want to keep the | |
2474 specific facet to be able to write its specific XML representation into | |
2475 the Collection's DESCRIBE document. | |
2476 | |
2477 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
2478 Adapted the XPath of facets stored in the attribute part of the | |
2479 DESCRIBE. | |
2480 | |
2481 2011-07-18 Ingo Weinzierl <ingo@intevation.de> | |
2482 | |
2483 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Added a | |
2484 method that returns the Outputs for the Artifact. | |
2485 | |
2486 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
2487 Adapeted the call of OutputParser. | |
2488 | |
2489 * src/main/java/de/intevation/flys/collections/OutputParser.java: | |
2490 Simplified the code to read the Outputs of Artifacts. This parser will | |
2491 now longer parse the DESCRIBE documents of the Artifacts, but query the | |
2492 Outputs via FLYSArtifact.getOutputs() directly. | |
2493 | |
2494 2011-07-18 Ingo Weinzierl <ingo@intevation.de> | |
2495 | |
2496 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java, | |
2497 src/main/java/de/intevation/flys/artifacts/StaticFLYSArtifact.java: | |
2498 Adapted the function call of ProtocolUtils.appendOutputModes(). | |
2499 | |
2500 * src/main/java/de/intevation/flys/artifacts/model/WMSLayerFacet.java: | |
2501 Override toXML() to add the URL and layernames to the XML representation | |
2502 of this facet. | |
2503 | |
2504 2011-07-18 Ingo Weinzierl <ingo@intevation.de> | |
2505 | |
2506 * doc/conf/artifacts/wmsbackground.xml, | |
2507 doc/conf/artifacts/riveraxis.xml: New configurations for an Artifact | |
2508 that is used as background layer in floodmaps, and an artifact that is | |
2509 used as layer showing the river axis in a floodmap. | |
2510 | |
2511 * doc/conf/output-defaults.xml: New file to configure default artifacts | |
2512 for specific output states. E.g. the floodmap state recommends a | |
2513 background layer and a layer displaying the river axis. In suche case, | |
2514 the floodmap state recommends two artifacts for the two layers. | |
2515 | |
2516 * doc/conf/conf.xml: Added new artifacts/artifact-factories and a Hook to | |
2517 monitor artifacts (-> CollectionMonitor.java). | |
2518 | |
2519 * src/main/java/de/intevation/flys/artifacts/model/WMSLayerFacet.java: | |
2520 New. This facet is used to represent a layer in a map. So, this facet | |
2521 stores information about a WMS URL and the layer names provided by this | |
2522 WMS. | |
2523 | |
2524 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added | |
2525 facet types for the wmsbackground and riveraxis. | |
2526 | |
2527 * src/main/java/de/intevation/flys/artifacts/states/WMSBackgroundState.java, | |
2528 src/main/java/de/intevation/flys/artifacts/WMSBackgroundArtifact.java: | |
2529 New. An artifact and its default state. The intent of these classes is | |
2530 to generate WMSLayerFacets which represent background layers in maps. | |
2531 | |
2532 * src/main/java/de/intevation/flys/artifacts/states/RiverAxisState.java, | |
2533 src/main/java/de/intevation/flys/artifacts/RiverAxisArtifact.java: New. | |
2534 An artifact and its default state. The intent of these classes is to | |
2535 generate WMSLayerFacets which represent layers that display a river | |
2536 axis. | |
2537 | |
2538 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: | |
2539 Added the INIT ComputeType. | |
2540 | |
2541 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Added a | |
2542 case for the INIT ComputeType while computing data. | |
2543 | |
2544 2011-07-18 Ingo Weinzierl <ingo@intevation.de> | |
2545 | |
2546 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: | |
2547 Added a method computeInit() which is called to initialize data/facets | |
2548 after an artifact has been created. | |
2549 | |
2550 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Repaired | |
2551 broken XPath. | |
2552 | |
2553 2011-07-14 Ingo Weinzierl <ingo@intevation.de> | |
2554 | |
2555 * src/main/java/de/intevation/flys/artifacts/CollectionMonitor.java: | |
2556 Removed the code to generate new artifacts. Instead of creating new | |
2557 artifacts automatically, we decided to suggest creating new artifacts | |
2558 from specific types. Therefore, the DESCRIBE document of the artifacts | |
2559 is extended with a node that contains recommended artifact types. | |
2560 | |
2561 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
2562 FLYSArtifacts might be setup with the identifier of an other | |
2563 FLYSArtifact. Subclasses are able to override a method called | |
2564 initialize(Artifact, GlobalContext). This might be helpful to extract | |
2565 required values or clone artifacts. | |
2566 | |
2567 2011-07-14 Ingo Weinzierl <ingo@intevation.de> | |
2568 | |
2569 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java: | |
2570 Adapted the signature of createArtifactContext() - it returns an | |
2571 instance of GlobalContext now. | |
2572 | |
2573 2011-07-14 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
2574 | |
2575 * src/main/java/de/intevation/flys/artifacts/geom/Lines.java: | |
2576 Debugged the water fill algorithm. Added a lot of logging. | |
2577 | |
2578 * src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java: | |
2579 Added a text field to give a water level to fill in. | |
2580 | |
2581 2011-07-14 Ingo Weinzierl <ingo@intevation.de> | |
2582 | |
2583 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java, | |
2584 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Moved code | |
2585 to create the output modes based on the given facets to FLYSArtifact. In | |
2586 addition, FLYSArtifact got a new method that returns a specific input | |
2587 value as string. | |
2588 | |
2589 * src/main/java/de/intevation/flys/artifacts/CollectionMonitor.java: New. | |
2590 This hook monitors the "post-feed" and "post-advance". If the monitored | |
2591 Artifact's state has configured recommended artifacts, this hook will | |
2592 create new Artifacts. | |
2593 | |
2594 TODO: We have to add the UUIDs of the new Artifacts to the DESCRIBE | |
2595 document of the artifact to let the client know, that there are new | |
2596 recommended Artifacts. | |
2597 | |
2598 * src/main/java/de/intevation/flys/artifacts/StaticFLYSArtifact.java: New. | |
2599 This Artifact is the base class for Artifacts, that represent static | |
2600 data. E.g. this could be a decoration theme in a chart or a background | |
2601 layer in the map. | |
2602 | |
2603 * src/main/java/de/intevation/flys/artifacts/states/OutputState.java: New. | |
2604 This state might be used as base class for states, that doesn't require | |
2605 any user input, but only provide static Facets added by a computeFeed() | |
2606 operation. So, subclasses need to implement computeFeed() only. | |
2607 | |
2608 2011-07-13 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
2609 | |
2610 * src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java: | |
2611 New. Standalone Swing-App to test cross sections from database without the | |
2612 hassles of our complete software stack. Runnable from a maven environment: | |
2613 | |
2614 $ mvn -e \ | |
2615 -Dflys.backend.user=DB_USER \ | |
2616 -Dflys.backend.password=DB_PASSWD \ | |
2617 -Dflys.backend.url=DB_CONNECTION_URL \ | |
2618 -Dexec.mainClass=de.intevation.flys.artifacts.charts.CrossSectionApp \ | |
2619 exec:java | |
2620 | |
2621 You can set the river to be used with the system property 'river'. | |
2622 Defaults to 'Mosel'. | |
2623 | |
2624 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENFacet.java: | |
2625 Removed superfluous imports. | |
2626 | |
2627 2011-07-13 Ingo Weinzierl <ingo@intevation.de> | |
2628 | |
2629 * doc/conf/artifacts/winfo.xml: The FloodMapState has a new Outputmode | |
2630 called "floodmap" now. | |
2631 | |
2632 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENFacet.java: New. | |
2633 This facet is used to generate WSPLGEN results. | |
2634 | |
2635 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added | |
2636 the WSPLGENFacet. | |
2637 | |
2638 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: | |
2639 This state will now generate WSPLGENFacets. | |
2640 | |
2641 2011-07-12 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
2642 | |
2643 * src/main/java/de/intevation/flys/artifacts/geom/Lines.java: | |
2644 Fixed corner case. | |
2645 | |
2646 2011-07-11 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
2647 | |
2648 * src/main/java/de/intevation/flys/artifacts/geom/Lines.java: New. | |
2649 fillWater() generates a list of wet lines for a given profile and a | |
2650 given water level. | |
2651 | |
2652 2011-07-08 Ingo Weinzierl <ingo@intevation.de> | |
2653 | |
2654 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: The | |
2655 Outputs created while generating the DESCRIBE document will now have the | |
2656 'type' member set. | |
2657 | |
2658 * src/main/java/de/intevation/flys/collections/OutputParser.java: Read the | |
2659 'type' member from DESCRIBE document. | |
2660 | |
2661 2011-07-06 Ingo Weinzierl <ingo@intevation.de> | |
2662 | |
2663 * doc/conf/artifacts/winfo.xml: Removed a typo. | |
2664 | |
2665 2011-07-06 Ingo Weinzierl <ingo@intevation.de> | |
2666 | |
2667 * src/main/java/de/intevation/flys/artifacts/model/DataFacet.java: | |
2668 DataFacet are now able to store the ID of the state which has created | |
2669 this Facet. | |
2670 | |
2671 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java: | |
2672 Initialize DataFacets with the ID of this state. This is necessary to | |
2673 renew the waterlevel data if it is no longer existing in the cache. | |
2674 | |
2675 2011-07-06 Ingo Weinzierl <ingo@intevation.de> | |
2676 | |
2677 * src/main/java/de/intevation/flys/artifacts/model/ReportFacet.java: A | |
2678 report facet can now store the state's id and the artifact's hash value | |
2679 when it has been created. | |
2680 | |
2681 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java: | |
2682 Initialize the ReportFacet and WaterlevelFacet with state id and hash | |
2683 information. This has been necessary to retrieve reports and waterlevels | |
2684 in states after this one - in states that we need to enter for floodmap | |
2685 parameterization. | |
2686 | |
2687 2011-07-05 Ingo Weinzierl <ingo@intevation.de> | |
2688 | |
2689 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelGroundDifferences.java: | |
2690 Changed the desired UI provider. | |
2691 | |
2692 2011-07-05 Ingo Weinzierl <ingo@intevation.de> | |
2693 | |
2694 * doc/conf/artifacts/winfo.xml: Added the option to continue the | |
2695 waterlevel parameterization with the intent to create flood maps. | |
2696 | |
2697 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java: | |
2698 This state is no longer a final state. The user has the option to | |
2699 continue with the parameterization for flood maps based on the current | |
2700 waterlevel. Therefore, this states desires the "continue" UI provider. | |
2701 Clients should recognice this to just step to the next state or display | |
2702 a button that lets the user step to the next state manually. | |
2703 | |
2704 * src/main/java/de/intevation/flys/artifacts/states/FloodplainChoice.java, | |
2705 src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java, | |
2706 src/main/java/de/intevation/flys/artifacts/states/ScenarioSelect.java, | |
2707 src/main/java/de/intevation/flys/artifacts/states/DGMSelect.java, | |
2708 src/main/java/de/intevation/flys/artifacts/states/ProfileDistanceSelect.java, | |
2709 src/main/java/de/intevation/flys/artifacts/states/WaterlevelGroundDifferences.java: | |
2710 New. These states are used to parameterize a further calculation type: | |
2711 flood map. | |
2712 | |
2713 * src/main/resources/messages.properties, | |
2714 src/main/resources/messages_de_DE.properties, | |
2715 src/main/resources/messages_en.properties, | |
2716 src/main/resources/messages_de.properties: Required strings for the | |
2717 flood maps states. | |
2718 | |
2719 2011-07-04 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
2720 | |
2721 Fix(?) for flys/issue114 | |
2722 | |
2723 * src/main/java/de/intevation/flys/artifacts/model/WQ.java: | |
2724 Make guessing a bit more robust. | |
2725 | |
2726 2011-07-03 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
2727 | |
2728 Added the math needed to calculate "W-Differenzen" in "Laengsschnitten". | |
2729 Needs testing! | |
2730 | |
2731 * src/main/java/de/intevation/flys/artifacts/model/NamedObject.java: | |
2732 Made it an interface to be usable in more than one inheritance chain. | |
2733 | |
2734 * src/main/java/de/intevation/flys/artifacts/model/NamedObjectImpl.java: | |
2735 Implements the NamedObject interface and is the new base class of | |
2736 WQ and WKmsImpl. | |
2737 | |
2738 * src/main/java/de/intevation/flys/artifacts/model/WKms.java: | |
2739 New. Interface to associate kms with ws. | |
2740 | |
2741 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java: | |
2742 Changed the base class to NamedObjectImpl. Renamed getKms(int) | |
2743 to getKm(int) to make clear it return a single scalar value | |
2744 and fullfil the WKms interface. | |
2745 | |
2746 * src/main/java/de/intevation/flys/artifacts/model/WKmsImpl.java: | |
2747 New. Implements the WKms interface. Intended to be a lightweight | |
2748 datastore for "zusaetzliche Laengsschnitte" and as results | |
2749 of the WKmsOperations. | |
2750 | |
2751 * src/main/java/de/intevation/flys/artifacts/model/WQ.java: | |
2752 Changed base class to NamedObjectImpl. | |
2753 | |
2754 * src/main/java/de/intevation/flys/artifacts/math/WKmsOperation.java: | |
2755 New. Operations on WKms data. | |
2756 Currently only the SUBTRACTION operation is implemented. This | |
2757 one is needed to calculate the "W-Differenzen". The operation | |
2758 is insensitive about the km directions of the datasets. Missing | |
2759 values are interpolated linear. | |
2760 | |
2761 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java, | |
2762 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
2763 Adjusted to satisfy the signature change of WQKMs. | |
2764 | |
2765 2011-07-01 Ingo Weinzierl <ingo@intevation.de> | |
2766 | |
2767 * src/main/java/de/intevation/flys/exports/StyledXYSeries.java: New. This | |
2768 XYSeries stores the style information that should be used to render this | |
2769 series. These information are stored as raw XML documents. A public | |
2770 method can be used to apply those style information to a | |
2771 XYLineAndShapeRenderer. | |
2772 | |
2773 Note: The only two attributes currently supported by StyledXYSeries | |
2774 items are "linesize" and "linecolor". | |
2775 | |
2776 * doc/conf/themes.xml: Added some more basic themes for the four | |
2777 calculation methods. | |
2778 | |
2779 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: This | |
2780 generator now tries to apply themes for all series contained in the | |
2781 chart. If a series is no instance of StyledXYSeries, the default | |
2782 renderer is used. | |
2783 | |
2784 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java, | |
2785 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java, | |
2786 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java, | |
2787 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java, | |
2788 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
2789 Removed the code that had been introduced to adapt renderers statically. | |
2790 Now, each of these concrete ChartGenerators instantiates StyledXYSeries | |
2791 items to put the curves into the chart. Those items contain style | |
2792 information now! | |
2793 | |
2794 2011-07-01 Ingo Weinzierl <ingo@intevation.de> | |
2795 | |
2796 flys/issue135 (Diagramm: Trotz abgeschalteter Themen bleiben Beschriftungen bestehen) | |
2797 | |
2798 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: The way | |
2799 to store datasets has changed. Until this revision, the concrete | |
2800 generators managed their own datasets. E.g. the | |
2801 DischargeLongitudinalSectionGenerator had three datasets: w, q and | |
2802 corrected w. Now, there are just two datasets, managed by this base | |
2803 generator - one dataset for the first Y axis and one dataset for the | |
2804 second Y axis. This makes it easier to remove axes, that have no data to | |
2805 be displayed. All concrete chart generators have to add their XYSeries | |
2806 using two methods: addFirstAxisSeries() and addSecondAxisSeries(). | |
2807 | |
2808 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java, | |
2809 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java, | |
2810 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java, | |
2811 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java, | |
2812 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
2813 Those concrete chart generators no longer manage datasets themself but | |
2814 they use the two methods described above, to plot the data to the first | |
2815 or second Y axis. | |
2816 | |
2817 2011-07-01 Ingo Weinzierl <ingo@intevation.de> | |
2818 | |
2819 * src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java: | |
2820 Added the option to use a filter to reduce the number of items returned | |
2821 by this service. | |
2822 | |
2823 2011-06-30 Ingo Weinzierl <ingo@intevation.de> | |
2824 | |
2825 flys/issue159 (WINFO: Radiobutton - Ortsauswahl bei "W für ungleichwertigen Abflusslängsschnitt" entfernen) | |
2826 | |
2827 * doc/conf/artifacts/winfo.xml: Changed the kilometer range input for | |
2828 calculation 4. This calculation type requires a kilometer range. So, | |
2829 after choosing the calculation 4, the transition model leads to a state | |
2830 that just allows the input of a kilometer range with no option to | |
2831 enter locations. | |
2832 | |
2833 * src/main/java/de/intevation/flys/artifacts/states/ComputationRangeState.java: | |
2834 New. A base state for the kilometer selection for calculations. The | |
2835 target of this state is to provide facets for the duration curves. | |
2836 | |
2837 * src/main/java/de/intevation/flys/artifacts/states/DistanceSelect.java: | |
2838 New. This state is used to enter a kilometer range. The difference to | |
2839 the LocationDistanceSelect state is, that there is no option to enter | |
2840 locations. | |
2841 | |
2842 * src/main/java/de/intevation/flys/artifacts/states/RangeState.java: | |
2843 Improved this state to be the base state for calculation ranges. | |
2844 | |
2845 * src/main/java/de/intevation/flys/artifacts/states/LocationSelect.java | |
2846 src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java | |
2847 | |
2848 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java: This | |
2849 state no longer inherits from RangeState which now is used as base | |
2850 state for kilometer ranges. | |
2851 | |
2852 * src/main/resources/messages.properties, | |
2853 src/main/resources/messages_de_DE.properties, | |
2854 src/main/resources/messages_en.properties, | |
2855 src/main/resources/messages_de.properties: Added new i18n strings for | |
2856 the DistanceSelect state. | |
2857 | |
2858 2011-06-28 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
2859 | |
2860 * pom.xml: Downgraded Trove to 1.1-beta-5, because the new | |
2861 later ones are removed from the maven repos. | |
2862 | |
2863 The functionality we need is in 1.1 so this downgrade should | |
2864 cause no problems. | |
2865 | |
2866 Would be nice if we would support the maintainers of trove to | |
2867 bring there new versions back into the main maven repos. | |
2868 | |
2869 2011-06-28 Ingo Weinzierl <ingo@intevation.de> | |
2870 | |
2871 * pom.xml: Repaired the JBoss repository which place has changed. | |
2872 | |
2873 2011-06-28 Ingo Weinzierl <ingo@intevation.de> | |
2874 | |
2875 Tagged RELEASE 2.4 | |
2876 | |
2877 2011-06-27 Ingo Weinzierl <ingo@intevation.de> | |
2878 | |
2879 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java, | |
2880 src/main/java/de/intevation/flys/exports/WstWriter.java: | |
2881 Append the corrected W column (if existing) to the WST export. | |
2882 | |
2883 2011-06-27 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
2884 | |
2885 * src/main/java/de/intevation/flys/artifacts/model/WQ.java: | |
2886 Guessing increaing w is not based on direct neighbors any more. | |
2887 The second to be compared with is choosen by random of | |
2888 the values before the first one. This makes the guessing | |
2889 more robust against 'plateaus' of equal w values. | |
2890 | |
2891 2011-06-27 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
2892 | |
2893 * src/main/java/de/intevation/flys/exports/ATWriter.java: Array | |
2894 for constructing the spline was too large leading to non-increasing | |
2895 values. | |
2896 | |
2897 2011-06-27 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
2898 | |
2899 Fix for flys/issue150 | |
2900 | |
2901 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java, | |
2902 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
2903 Invert the x axis if its guessed that water is increasing. | |
2904 | |
2905 2011-06-27 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
2906 | |
2907 * src/main/java/de/intevation/flys/artifacts/model/WQ.java(guessWaterIncreasing): | |
2908 Added a method to guess based on a given factor of the size (default 0.05) | |
2909 if the water levels are increasing. Needed to determine in which direction | |
2910 the water level curve should be orientated. Based on random to avoid | |
2911 running over large dataset each time a diagram is generated. | |
2912 | |
2913 2011-06-27 Ingo Weinzierl <ingo@intevation.de> | |
2914 | |
2915 flys/issue177 (WINFO: Abflusskurven am Pegel verursachen ein Hängen des Servers) | |
2916 | |
2917 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java: | |
2918 Commented out code to generate time ranges for series names. There | |
2919 seems to be a problem while loading the discharge tables of a gauge or | |
2920 while determining the start and/or end time of such discharge tables. | |
2921 | |
2922 2011-06-26 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
2923 | |
2924 * src/main/java/de/intevation/flys/**/*.java: Removed trailing whitespace. | |
2925 | |
2926 2011-06-26 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
2927 | |
2928 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
2929 Removed dead code. | |
2930 | |
2931 2011-06-26 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
2932 | |
2933 Fix for flys/issue173 | |
2934 | |
2935 * src/main/java/de/intevation/flys/artifacts/model/Calculation4.java: | |
2936 Fixed the way the gauge was found for a given interval. | |
2937 The old way does not work because it was just tested if | |
2938 the station point was inside the segments which is not | |
2939 necessarily true. The obvious solution to simply check | |
2940 the overlapping intervals does not work either because | |
2941 the gauge ranges touch each other and so more than | |
2942 one gauge are returned in these cases. The River.maxOverlap() | |
2943 is now used to find the gauge with the max overlapping | |
2944 range. | |
2945 | |
2946 2011-06-26 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
2947 | |
2948 Fix for flys/issue147 | |
2949 | |
2950 * src/main/java/de/intevation/flys/artifacts/model/Calculation1.java: | |
2951 Removed the 'kmUp' flag. It was an left over from former | |
2952 WSP calculations (w/o ref km) leading to wrong results now. | |
2953 | |
2954 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
2955 Don't pass the kmUp flag to the calculation. | |
2956 | |
2957 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
2958 Added debug output to see the value of 'wq_free'. | |
2959 | |
2960 2011-06-26 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
2961 | |
2962 Fix for flys/issue86 | |
2963 | |
2964 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
2965 The reference gauge for calculations "am Pegel" was determined | |
2966 wrong. | |
2967 | |
2968 2011-06-25 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
2969 | |
2970 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java: | |
2971 Conversion w->q was broken. This should fix a number of issues | |
2972 around "W am Pegel" calculations. | |
2973 | |
2974 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
2975 Issue an error report if a w->q conversion fails. | |
2976 | |
2977 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
2978 The gauge to convert w->q with its discharge table was determined wrong. | |
2979 | |
2980 2011-06-24 Ingo Weinzierl <ingo@intevation.de> | |
2981 | |
2982 flys/issue174 (Diagramm: Q-Linie wird bei initialem Laden des Diagramms | |
2983 anders dargestellt als bei Ansicht auf gesamten Wertebereich) | |
2984 | |
2985 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
2986 The chart will now have upper margins again. | |
2987 | |
2988 2011-06-24 Ingo Weinzierl <ingo@intevation.de> | |
2989 | |
2990 flys/issue172 (Diagramm: Ursprung der Diagramme bei Dauerzahlen) | |
2991 | |
2992 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java: | |
2993 Charts of this type will have the lower X value set to "0". | |
2994 | |
2995 2011-06-23 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
2996 | |
2997 * src/main/java/de/intevation/flys/exports/ATWriter.java: | |
2998 Results are now in cm. Made it more robust against corner cases. | |
2999 | |
3000 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java: | |
3001 Removed superfluous import. | |
3002 | |
3003 2011-06-23 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
3004 | |
3005 * doc/conf/artifacts/winfo.xml, doc/conf/conf.xml: | |
3006 Added facet config for AT exports. | |
3007 | |
3008 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: | |
3009 Added 'at' facet type. | |
3010 | |
3011 * src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java: | |
3012 Generate AT facets. | |
3013 | |
3014 2011-06-23 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
3015 | |
3016 * src/main/java/de/intevation/flys/exports/ATExporter.java: New. | |
3017 Exporter for AT facets. Needs testing. | |
3018 | |
3019 2011-06-23 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
3020 | |
3021 * src/main/java/de/intevation/flys/exports/ATWriter.java: New. | |
3022 Writer for AT files. New code because our data model differs | |
3023 from Desktop-FLYS. Needs testing. | |
3024 | |
3025 2011-06-23 Ingo Weinzierl <ingo@intevation.de> | |
3026 | |
3027 flys/issue157 (Diagramm: Ursprung berechnete Abflusskurve) | |
3028 | |
3029 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java, | |
3030 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java: | |
3031 Moved the method that adjusts the X-axis to include the "0" value from | |
3032 ComputedDischargeCurveGenerator to DischargeCurveGenerator. Now, both | |
3033 charts will include the "0" on the X-axis. | |
3034 | |
3035 2011-06-23 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
3036 | |
3037 * src/main/java/de/intevation/flys/artifacts/model/WQDay.java: | |
3038 Based on WQ now to make it exportable as AT. | |
3039 | |
3040 2011-06-23 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
3041 | |
3042 * src/main/java/de/intevation/flys/artifacts/model/WQ.java: | |
3043 New. Base class for WQKms. | |
3044 | |
3045 TODO 1: make it a base class for WQDay, too, | |
3046 TODO 2: Generate instances of WQ instead of WQKms in "Abflusskurven" | |
3047 calculations. This will save memory. | |
3048 | |
3049 AT exporter will get instances of this class as data model | |
3050 | |
3051 * src/main/java/de/intevation/flys/artifacts/model/NamedObject.java: | |
3052 Add default constructor to ease inheritance. | |
3053 | |
3054 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java: | |
3055 Based on WQ now. Removed code allready defined in base class. | |
3056 | |
3057 2011-06-23 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
3058 | |
3059 * doc/conf/artifacts/winfo.xml: Add TODOs for error reports | |
3060 of "Abflusskurven am Pegel". Maybe we don't need them? | |
3061 | |
3062 * doc/conf/conf.xml: Configure report for each calculated output type. | |
3063 | |
3064 2011-06-22 Ingo Weinzierl <ingo@intevation.de> | |
3065 | |
3066 flys/issue164 (Berechnung 4: Umgekehrtes Berechnungsintervall fĂĽhrt zur) | |
3067 | |
3068 * src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java: | |
3069 Create the items with range information for W and Q which allows the | |
3070 client to validate the user inserted values. | |
3071 | |
3072 2011-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
3073 | |
3074 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
3075 Arguments in filling datastructure were flip. Now | |
3076 the "Abflusskurve am Pegel" looks correct again. | |
3077 | |
3078 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java: | |
3079 Removed superfluous imports. | |
3080 | |
3081 2011-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
3082 | |
3083 Improved situtation on rendering "Abflusskurve am Pegel". Not | |
3084 fully working, yet. | |
3085 | |
3086 * doc/conf/artifacts/winfo.xml: Generate facets for the location path, too. | |
3087 | |
3088 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Misspelled | |
3089 the facet which prevented the facets from being to the outputs. | |
3090 | |
3091 * src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java: | |
3092 Extended to store the hash and the state id of the producing artifact/state | |
3093 else it results in NPEs because the data is calculated on later (wrong) states. | |
3094 | |
3095 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java: | |
3096 Store the state id and the hash in the facet, too. | |
3097 | |
3098 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Add two | |
3099 method to do calculations for a state the artifact is currently not in | |
3100 and fetching the current state id. | |
3101 | |
3102 2011-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
3103 | |
3104 * doc/conf/artifacts/winfo.xml: Generate facets for "Abflusskurven am Pegel" | |
3105 Not working by now. :-/ | |
3106 | |
3107 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: New facet type | |
3108 for "Abflusskurven am Pegel" | |
3109 | |
3110 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Do calculation | |
3111 in the artifact not in the output generator. | |
3112 | |
3113 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java: | |
3114 Generate the new facets. | |
3115 | |
3116 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java: | |
3117 Fetch data from facet. | |
3118 | |
3119 2011-06-22 Ingo Weinzierl <ingo@intevation.de> | |
3120 | |
3121 flys/issue161 (Diagramm: Q-Achse in W-Längsschnitten immer bei Q=0) | |
3122 | |
3123 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
3124 The Q axis (which is the second y axis) initially contains the 0 value. | |
3125 After a zoom action has taken place, this behaviour is no longer | |
3126 supported. | |
3127 | |
3128 2011-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
3129 | |
3130 Draw correction curve again. | |
3131 | |
3132 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java: | |
3133 Use correction curve to map plot to axes. Not doing so prevented | |
3134 the correction curve from being drawn! | |
3135 Smaller code cleanups and simplifications. | |
3136 | |
3137 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java, | |
3138 src/main/java/de/intevation/flys/artifacts/model/WQCKms.java: | |
3139 Added methods to directly access the components w, q and c | |
3140 at a given index. | |
3141 | |
3142 * src/main/java/de/intevation/flys/exports/ChartGenerator.java: | |
3143 Attribute access via DOM instead of XPath. | |
3144 | |
3145 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
3146 Code simplification. | |
3147 | |
3148 2011-06-21 Ingo Weinzierl <ingo@intevation.de> | |
3149 | |
3150 flys/issue157 (Diagramm: Ursprung berechnete Abflusskurve) | |
3151 | |
3152 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Splitted | |
3153 up zooming for x and y axes to be able to override specific axis | |
3154 zoom behaviour. | |
3155 | |
3156 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java: | |
3157 The lower bound of the x axis (which is the Q axis in such chart) is | |
3158 always 0. | |
3159 | |
3160 2011-06-21 Ingo Weinzierl <ingo@intevation.de> | |
3161 | |
3162 flys/issue90 (Diagramm: Trennung derDiagrammfläche und Achsenaufheben) | |
3163 | |
3164 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: | |
3165 Added a margin between chart data and chart axes. | |
3166 | |
3167 2011-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
3168 | |
3169 Fix for flys/issue158 | |
3170 | |
3171 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionExporter.java: | |
3172 Checks for right class now. | |
3173 | |
3174 2011-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
3175 | |
3176 Fix for flys/issue154 | |
3177 | |
3178 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java: | |
3179 Checks for right class now. | |
3180 | |
3181 2011-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
3182 | |
3183 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
3184 Only generate 'outs' if they have facets. | |
3185 | |
3186 * src/main/java/de/intevation/flys/exports/ChartExportHelper.java: | |
3187 'boolean ? true : false' <=> 'boolean' | |
3188 | |
3189 2011-06-21 Ingo Weinzierl <ingo@intevation.de> | |
3190 | |
3191 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
3192 Added the time-to-live to the DESCRIBE document. | |
3193 | |
3194 2011-06-20 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
3195 | |
3196 * doc/conf/artifacts/winfo.xml: Configured states to generate report facets. | |
3197 | |
3198 2011-06-20 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
3199 | |
3200 * src/main/java/de/intevation/flys/artifacts/model/ReportFacet.java: | |
3201 Return the report. | |
3202 | |
3203 * src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java, | |
3204 src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java, | |
3205 src/main/java/de/intevation/flys/artifacts/states/DurationCurveState.java, | |
3206 src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java: | |
3207 Generate report facets if there are problems with the calculations. | |
3208 TODO: Adjust winfo.xml to configure the facets. | |
3209 | |
3210 2011-06-20 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
3211 | |
3212 * src/main/java/de/intevation/flys/exports/ReportGenerator.java: | |
3213 New. Generator for calculation reports. | |
3214 | |
3215 * doc/conf/conf.xml: Added ReportGenerator. | |
3216 | |
3217 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: | |
3218 Added type 'report'. | |
3219 | |
3220 * src/main/java/de/intevation/flys/artifacts/model/ReportFacet.java: | |
3221 Specialized facet for serving reports. TODO: Added them to the | |
3222 calculation states. | |
3223 | |
3224 * src/main/java/de/intevation/flys/artifacts/model/Calculation.java: | |
3225 Looped through CallMeta for i18n purposes. TODO: do i18n | |
3226 | |
3227 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
3228 Removed superfluous import. | |
3229 | |
3230 * src/main/java/de/intevation/flys/exports/AbstractExporter.java: | |
3231 Added some override annotations. | |
3232 | |
3233 2011-06-20 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
3234 | |
3235 * src/main/java/de/intevation/flys/artifacts/model/CalculationResult.java: | |
3236 New. Used to transport the data and the error report. | |
3237 | |
3238 * src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java, | |
3239 src/main/java/de/intevation/flys/artifacts/model/Calculation1.java, | |
3240 src/main/java/de/intevation/flys/artifacts/model/Calculation2.java, | |
3241 src/main/java/de/intevation/flys/artifacts/model/Calculation3.java, | |
3242 src/main/java/de/intevation/flys/artifacts/model/Calculation4.java, | |
3243 src/main/java/de/intevation/flys/artifacts/model/DurationCurveFacet.java, | |
3244 src/main/java/de/intevation/flys/artifacts/model/Calculation.java, | |
3245 src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java, | |
3246 src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java, | |
3247 src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java, | |
3248 src/main/java/de/intevation/flys/artifacts/states/DurationCurveState.java, | |
3249 src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java, | |
3250 src/main/java/de/intevation/flys/exports/WaterlevelExporter.java, | |
3251 src/main/java/de/intevation/flys/exports/DurationCurveExporter.java: | |
3252 Use the CalculationResult now. | |
3253 | |
3254 2011-06-18 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
3255 | |
3256 * src/main/java/de/intevation/flys/artifacts/model/Calculation1.java: | |
3257 Allow an explicit reference km to enable calculation "am Pegel". | |
3258 | |
3259 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
3260 If a calculation "am Pegel" is done, take start km of the | |
3261 calculation range and find the gauge in which range it is located. | |
3262 Take the station of the gauge as the reference km. If no gauge | |
3263 is found the calcualtion falls back to calculation "auf freier Strecke". | |
3264 | |
3265 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
3266 Replaced another inefficient attribute extraction via XPath | |
3267 with direct DOM access. | |
3268 | |
3269 2011-06-18 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
3270 | |
3271 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java, | |
3272 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java, | |
3273 src/main/java/de/intevation/flys/exports/WaterlevelExporter.java, | |
3274 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
3275 Removed dead code. | |
3276 | |
3277 2011-06-18 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
3278 | |
3279 * src/main/java/de/intevation/flys/artifacts/model/DataFacet.java | |
3280 src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java, | |
3281 src/main/java/de/intevation/flys/artifacts/model/DurationCurveFacet.java, | |
3282 src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java, | |
3283 src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java, | |
3284 src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java, | |
3285 src/main/java/de/intevation/flys/artifacts/states/DurationCurveState.java, | |
3286 src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java, | |
3287 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
3288 Only generate facets when needed. | |
3289 | |
3290 * src/main/java/de/intevation/flys/collections/OutputParser.java: | |
3291 Removed more XPath for simply accessing attributes of an element. | |
3292 | |
3293 * doc/conf/cache.xml: 200 elements in memory for "computed.values" are enough, | |
3294 LRU as eviction strategy is sufficent. | |
3295 | |
3296 * src/main/java/de/intevation/flys/collections/AttributeWriter.java, | |
3297 src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Use | |
3298 more 'standard' Java naming conventions. | |
3299 | |
3300 2011-06-17 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
3301 | |
3302 Merged in the facet-slt branch to bring in the 'facet' feature. | |
3303 | |
3304 * doc/conf/artifacts/winfo.xml: Fixed some facets. | |
3305 | |
3306 * doc/conf/cache.xml: Added a "computed.values" cache to store the | |
3307 results of the WINFO calculations. | |
3308 | |
3309 * src/main/java/de/intevation/flys/artifacts/model/ManagedFacet.java: | |
3310 Add support for index per facet to make them unique and identifiable. | |
3311 | |
3312 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: | |
3313 New. Inteface to be used to access the facet names of the configuration. | |
3314 | |
3315 * src/main/java/de/intevation/flys/artifacts/model/DataFacet.java: New. | |
3316 A facet to be used to have raw access to the computed data of an artifact. | |
3317 Useful to export things like CSV and WST. | |
3318 | |
3319 * src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java: New. | |
3320 Specialized facet to access the water level data stored in WQKms arrays. | |
3321 | |
3322 * src/main/java/de/intevation/flys/artifacts/model/DurationCurveFacet.java: New. | |
3323 Specialized facet to access the duration data stored in WQDay data structures. | |
3324 | |
3325 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Facets are | |
3326 now generated dynamically from the current available ones stored with | |
3327 the artifact. | |
3328 | |
3329 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: Added | |
3330 methods computeAdvance() and computeFeed() called if artifact is fed or | |
3331 adance. This overwritten in subclasses to do the state depending calculations. | |
3332 | |
3333 * src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java, | |
3334 src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java, | |
3335 src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java, | |
3336 src/main/java/de/intevation/flys/artifacts/states/DurationCurveState.java, | |
3337 src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java: These | |
3338 states overwrites the computeAdvance() and computeFeed() methods to do | |
3339 the corresponding WINFO calculations. | |
3340 | |
3341 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Calls | |
3342 computeAdvance() and computeFeed() if artifact is fed or advanced. Centralized | |
3343 the caching mechanism. | |
3344 | |
3345 * src/main/java/de/intevation/flys/exports/AbstractExporter.java, | |
3346 src/main/java/de/intevation/flys/collections/AttributeParser.java, | |
3347 src/main/java/de/intevation/flys/collections/OutputParser.java, | |
3348 src/main/java/de/intevation/flys/collections/AttributeWriter.java, | |
3349 src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
3350 Adjusted the code to cope with the indices of the facets. Used | |
3351 DOM to access the attributes instead of XPath. Removed smaller bugs | |
3352 concerning position generation. | |
3353 | |
3354 * src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java, | |
3355 src/main/java/de/intevation/flys/exports/ChartGenerator.java, | |
3356 src/main/java/de/intevation/flys/exports/OutGenerator.java: | |
3357 Forwarded facet references. | |
3358 | |
3359 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java, | |
3360 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java, | |
3361 src/main/java/de/intevation/flys/exports/DurationCurveExporter.java, | |
3362 src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionExporter.java, | |
3363 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java, | |
3364 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java, | |
3365 src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java, | |
3366 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java, | |
3367 src/main/java/de/intevation/flys/exports/WaterlevelExporter.java: | |
3368 Uses facets to fetch data and generate output now. | |
3369 | |
3370 2011-06-17 Ingo Weinzierl <ingo@intevation.de> | |
3371 | |
3372 * doc/conf/artifacts/winfo.xml: Added a new parameter "wq_free" that | |
3373 determines the mode of calculation 1. If it is "false" (default), | |
3374 the calculation should be bound to a gauge. | |
3375 | |
3376 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Added a | |
3377 method to retrieve the information about the "wq_free" parameter. | |
3378 | |
3379 2011-06-17 Ingo Weinzierl <ingo@intevation.de> | |
3380 | |
3381 * doc/conf/artifacts/winfo.xml: Added a facet for corrected W in | |
3382 computation 4. | |
3383 | |
3384 2011-06-14 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
3385 | |
3386 * src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java: | |
3387 Got rid of namespace in result document. | |
3388 | |
3389 2011-06-14 Ingo Weinzierl <ingo@intevation.de> | |
3390 | |
3391 flys/issue77 (Diagramm: Beschriftung der Kurven bei Dauerlinien) | |
3392 | |
3393 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java: | |
3394 Give the curves in the chart names. | |
3395 | |
3396 * src/main/resources/messages.properties, | |
3397 src/main/resources/messages_de_DE.properties, | |
3398 src/main/resources/messages_en.properties, | |
3399 src/main/resources/messages_de.properties: Added titles for duration | |
3400 chart curves. | |
3401 | |
3402 2011-06-14 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
3403 | |
3404 * src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java: | |
3405 Write top 'Oberkante' and bottom 'Unterkante' to out going XML | |
3406 if they exist. | |
3407 | |
3408 2011-06-14 Ingo Weinzierl <ingo@intevation.de> | |
3409 | |
3410 * src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java: | |
3411 Write the min/max W/Q ranges as art:range elements into the DESCRIBE. | |
3412 | |
3413 2011-06-14 Ingo Weinzierl <ingo@intevation.de> | |
3414 | |
3415 * src/main/java/de/intevation/flys/artifacts/states/LocationSelect.java: | |
3416 This state that is used to retrieve locations will now write the | |
3417 kilometer range of the selected river into the DESCRIBE document. | |
3418 | |
3419 2011-06-10 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
3420 | |
3421 * src/main/java/de/intevation/flys/artifacts/model/Calculation1.java: | |
3422 New. Factored out version of "Wasserspiegellage" calculation. | |
3423 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java: | |
3424 | |
3425 Removed some dead code. | |
3426 | |
3427 * src/main/java/de/intevation/flys/artifacts/model/WQCKms.java: | |
3428 Added Override annotation and used quick access method. | |
3429 | |
3430 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
3431 Looped through error reporting use by interpolate. | |
3432 | |
3433 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
3434 Used factored out version of calculation 1. Removed dead code. | |
3435 | |
3436 2011-06-10 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
3437 | |
3438 * src/main/java/de/intevation/flys/artifacts/model/Calculation2.java: | |
3439 New. Factored out version of "Abflusskurve". | |
3440 | |
3441 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
3442 Loop errors through w/q at km interpolation. | |
3443 | |
3444 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
3445 Use factored out version of calculation 2. | |
3446 | |
3447 2011-06-10 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
3448 | |
3449 * src/main/java/de/intevation/flys/artifacts/model/Calculation3.java: | |
3450 New. Factored out version of "Dauerzahlen". | |
3451 | |
3452 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
3453 Loop errors through for q->w interpolations. | |
3454 | |
3455 * src/main/java/de/intevation/flys/artifacts/model/WQDay.java: | |
3456 Added constructor to directly create with calculated results. | |
3457 | |
3458 * src/main/java/de/intevation/flys/artifacts/model/Calculation.java: | |
3459 Added method to return the number of problems. | |
3460 | |
3461 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
3462 Use factored out version of calculation 3. | |
3463 | |
3464 2011-06-10 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
3465 | |
3466 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java, | |
3467 src/main/java/de/intevation/flys/artifacts/model/WQCKms.java, | |
3468 src/main/java/de/intevation/flys/artifacts/model/WQDay.java: | |
3469 Added methods to remove NaN values. | |
3470 | |
3471 2011-06-10 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
3472 | |
3473 * src/main/java/de/intevation/flys/artifacts/model/Calculation.java: | |
3474 New. Base class for calculations. Used to collect problems occuring | |
3475 during calculation. | |
3476 | |
3477 * src/main/java/de/intevation/flys/artifacts/model/Calculation4.java: | |
3478 Extends Calculation now. Looped through the problem reports to | |
3479 base class. | |
3480 | |
3481 * src/main/java/de/intevation/flys/artifacts/math/BackJumpCorrector.java: | |
3482 Looped through the problem reports. | |
3483 | |
3484 2011-06-09 Ingo Weinzierl <ingo@intevation.de> | |
3485 | |
3486 * src/main/java/de/intevation/flys/exports/InfoGeneratorHelper.java: | |
3487 Append the min/max range and a transformation matrix for each axis. | |
3488 | |
3489 * src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java: | |
3490 Instantiate the InfoGeneratorHelper with a XYChartGenerator instance. | |
3491 | |
3492 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: | |
3493 Changed the zoom operation. The zoom values defined in the chart request | |
3494 document are no longer absolute values for a specific axis. Those values | |
3495 represent percental values for the start and end point of x and y axes. | |
3496 E.g. a chart has three axes with the following ranges: | |
3497 - x axis : 0 - 10 | |
3498 - y axis 1: 20 - 40 | |
3499 - y axis 2: 40 - 90 | |
3500 - zoom values for x: 0.1 - 0.9 (10% - 90%) | |
3501 - zoom values for y: 0.2 - 0.8 (20% - 80%) | |
3502 The produced chart will have the following ranges: | |
3503 - x axis : 1 - 9 | |
3504 - y axis 1: 24 - 36 | |
3505 y axis 2: 50 - 80 | |
3506 | |
3507 2011-06-09 Ingo Weinzierl <ingo@intevation.de> | |
3508 | |
3509 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java, | |
3510 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java: | |
3511 Map datasets to axes correctly. | |
3512 | |
3513 2011-06-08 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
3514 | |
3515 * src/main/java/de/intevation/flys/artifacts/model/Calculation4.java: | |
3516 Determine the gauges by their station positions. This hopfully | |
3517 fixes the problem with wrong assigned gauges and invalid segments. | |
3518 | |
3519 2011-06-08 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
3520 | |
3521 * src/main/java/de/intevation/flys/artifacts/model/Segment.java, | |
3522 src/main/java/de/intevation/flys/artifacts/model/Calculation4.java: | |
3523 Added more debug output. | |
3524 | |
3525 2011-06-08 Ingo Weinzierl <ingo@intevation.de> | |
3526 | |
3527 flys/issue103 PART 1 (WINFO: Wasserspiegellagenberechnung / Layout-Inkonsistenz) | |
3528 | |
3529 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: | |
3530 Selected values are formatted with the current locale. The static part | |
3531 of the DESCRIBE document will now contain i18n formatted numbers. | |
3532 | |
3533 2011-06-08 Ingo Weinzierl <ingo@intevation.de> | |
3534 | |
3535 flys/issue93 (WINFO: Benennung der Berechnungsart korrigieren) | |
3536 | |
3537 * src/main/resources/messages_de_DE.properties, | |
3538 src/main/resources/messages_de.properties: Changed the name of | |
3539 calculation 4. | |
3540 | |
3541 2011-06-08 Ingo Weinzierl <ingo@intevation.de> | |
3542 | |
3543 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: | |
3544 Made the range determination more robust against NaN values. | |
3545 | |
3546 2011-06-08 Ingo Weinzierl <ingo@intevation.de> | |
3547 | |
3548 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
3549 The second y axis is set to position "1". It was set to "2" before, but | |
3550 in that case, there was no position "1". | |
3551 | |
3552 2011-06-08 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
3553 | |
3554 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java, | |
3555 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java, | |
3556 src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionExporter.java, | |
3557 src/main/java/de/intevation/flys/exports/DurationCurveExporter.java, | |
3558 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java, | |
3559 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java, | |
3560 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java: | |
3561 s@mÂł/s@m\\u00b3/s@ | |
3562 | |
3563 2011-06-08 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
3564 | |
3565 * src/main/java/de/intevation/flys/exports/InfoGeneratorHelper.java: | |
3566 Only generate an axis element if a axis really exists. | |
3567 | |
3568 2011-06-07 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
3569 | |
3570 * src/main/java/de/intevation/flys/artifacts/math/BackJumpCorrector.java: | |
3571 Simpified array swapping. | |
3572 | |
3573 2011-06-07 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
3574 | |
3575 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java, | |
3576 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
3577 Use java.util.List instead of java.util.Vector | |
3578 | |
3579 * src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java, | |
3580 src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java, | |
3581 src/main/java/de/intevation/flys/artifacts/states/DurationCurveState.java, | |
3582 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
3583 Removed superfluous imports. | |
3584 | |
3585 2011-06-07 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
3586 | |
3587 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: | |
3588 createItem() is not abstract any longer to avoid code repetitionin sub classes. | |
3589 | |
3590 * src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java, | |
3591 src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java, | |
3592 src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java, | |
3593 src/main/java/de/intevation/flys/artifacts/states/WQSelect.java, | |
3594 src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java, | |
3595 src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java, | |
3596 src/main/java/de/intevation/flys/artifacts/states/DurationCurveState.java, | |
3597 src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java: | |
3598 Removed duplicated code, inserted default constructors and Override annotations. | |
3599 | |
3600 2011-06-07 Ingo Weinzierl <ingo@intevation.de> | |
3601 | |
3602 * src/main/java/de/intevation/flys/exports/InfoGeneratorHelper.java: | |
3603 Append axes range information to the info document. | |
3604 | |
3605 2011-06-07 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
3606 | |
3607 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
3608 If feed() fails do not store invalid values in database. | |
3609 | |
3610 2011-06-06 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
3611 | |
3612 * src/main/java/de/intevation/flys/exports/InfoGeneratorHelper.java: | |
3613 Removed asymmetrical "- 1" from width calculation. | |
3614 | |
3615 2011-06-05 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
3616 | |
3617 * src/main/java/de/intevation/flys/artifacts/model/Calculation4.java: | |
3618 Fixed problem when more than one value per segment are given. | |
3619 | |
3620 2011-06-05 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
3621 | |
3622 Refactored version of "Berechnung 4" | |
3623 | |
3624 * src/main/java/de/intevation/flys/artifacts/model/Segment.java: | |
3625 Added instance fields for a reference point (= location of gauge) | |
3626 and backup of values (needed for naming). | |
3627 | |
3628 * src/main/java/de/intevation/flys/artifacts/model/WQCKms.java: | |
3629 Added a constructor to be created from a WQKms. This is helpful | |
3630 if a WQKms is replaced by a back jump correction. | |
3631 | |
3632 * src/main/java/de/intevation/flys/artifacts/model/Calculation4.java: | |
3633 New. Outfactored version of "W bei ungleichmaessigen Abflusslaengsschnitt". | |
3634 Much cleaner now and it should have a better handling of the corner | |
3635 cases. | |
3636 | |
3637 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
3638 Removed the linear interpolation stuff. It is now in Linear. Removed | |
3639 the LinearRemap interpolation method because it is not needed any | |
3640 longer. Added a method to interpolate a given km with a given | |
3641 function. | |
3642 | |
3643 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
3644 Removed the old calc 4 and used the new one. | |
3645 | |
3646 * src/main/java/de/intevation/flys/artifacts/math/LinearRemap.java: | |
3647 Deleted. Not needed any longer. | |
3648 | |
3649 * src/main/java/de/intevation/flys/artifacts/math/Function.java: | |
3650 New. Interface for a uni-variate real function. | |
3651 | |
3652 * src/main/java/de/intevation/flys/artifacts/math/Identity.java: | |
3653 New. Implements Function with f(x) = x | |
3654 | |
3655 * src/main/java/de/intevation/flys/artifacts/math/Linear.java: | |
3656 New. Implements Function with f(x) = m*x + b | |
3657 | |
3658 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
3659 Factored some stuff out to DoubleUtil. Removed some dead code. | |
3660 Does some rounding correct. | |
3661 | |
3662 * src/main/java/de/intevation/flys/utils/DoubleUtil.java: New. | |
3663 Centralized utils surrounding common double operations. | |
3664 | |
3665 * src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java: | |
3666 Removed superfluous imports. | |
3667 | |
3668 2011-06-03 Ingo Weinzierl <ingo@intevation.de> | |
3669 | |
3670 flys/issue90(Diagramm: Trennung der Diagrammfläche und Achsen aufheben) | |
3671 | |
3672 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: | |
3673 Determine the ranges of x and y axes. If no zoom ranges are given, we | |
3674 will determine the min and max xy values in the dataset manually, | |
3675 because JFreeCharts adds a margin to the left and right of the data | |
3676 area automatically.. | |
3677 | |
3678 2011-06-03 Ingo Weinzierl <ingo@intevation.de> | |
3679 | |
3680 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Moved | |
3681 the chart creation into an own public method. This lets the | |
3682 ChartInfoGenerator create charts without duplicating code. | |
3683 | |
3684 * src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java: | |
3685 Limited the possible class for generators to XYChartGenerator. This | |
3686 enables the ChartInfoGenerator class to do the whole chart creation | |
3687 stuff itself without outsourcing the code to concrete subclasses. | |
3688 | |
3689 * src/main/java/de/intevation/flys/exports/LongitudinalSectionInfoGenerator.java, | |
3690 src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionInfoGenerator.java, | |
3691 src/main/java/de/intevation/flys/exports/DurationCurveInfoGenerator.java, | |
3692 src/main/java/de/intevation/flys/exports/DischargeCurveInfoGenerator.java, | |
3693 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveInfoGenerator.java: | |
3694 Removed the code to generate charts - this is done in ChartInfoGenerator | |
3695 now. | |
3696 | |
3697 2011-06-03 Ingo Weinzierl <ingo@intevation.de> | |
3698 | |
3699 * src/main/java/de/intevation/flys/exports/ChartGenerator.java: Added new | |
3700 methods to extract the x and y ranges from request document. | |
3701 | |
3702 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Added a | |
3703 method that zooms the chart to the specified x and y ranges. | |
3704 | |
3705 2011-06-02 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
3706 | |
3707 * doc/conf/conf.xml: Set collection ttl to 6 hours. | |
3708 | |
3709 2011-06-01 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
3710 | |
3711 * src/main/java/de/intevation/flys/artifacts/model/Segment.java: | |
3712 New. Parse segments only once. | |
3713 | |
3714 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
3715 Expose new parser to artifacts. TODO: Use it. | |
3716 | |
3717 2011-06-01 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
3718 | |
3719 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
3720 Changed interpolation methods to interpolate to an arbitrary position | |
3721 in a given double result array as a preparation for segment independent | |
3722 calculation. | |
3723 | |
3724 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
3725 Removed superfluous import. | |
3726 | |
3727 * src/main/java/de/intevation/flys/artifacts/math/BackJumpCorrector.java: | |
3728 Fixed cause for crashing: Run back too far in some siutations. | |
3729 | |
3730 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
3731 Refactored range code a bit. Needs more work. | |
3732 | |
3733 2011-06-01 Ingo Weinzierl <ingo@intevation.de> | |
3734 | |
3735 * src/main/java/de/intevation/flys/exports/InfoGeneratorHelper.java: | |
3736 Interchange the lower and upper x value of the chart if the x-axis is | |
3737 inverted before the matrix values are computed. Now, the matrix is able | |
3738 to work with charts that have an inverted x-axis. | |
3739 | |
3740 2011-06-01 Ingo Weinzierl <ingo@intevation.de> | |
3741 | |
3742 * src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java: New. A | |
3743 chart info generator generates a document that contains meta information | |
3744 for a specific chart. Concrete instances of this abstract class need to | |
3745 instantiate concrete ChartGenerators and dispatch nearly all methods of | |
3746 an OutGenerator (init(), doOut(), setMaster()) to this instance. The | |
3747 generate() method is implemented in the ChartInfoGenerator itself. It | |
3748 creates a chart with help of the ChartGenerator instance and builds a | |
3749 document that contains meta information of this chart. | |
3750 | |
3751 * src/main/java/de/intevation/flys/exports/InfoGeneratorHelper.java: New. | |
3752 This helper is used to create the chart info document. At the moment, | |
3753 the only information that is included in this document is a | |
3754 transformation matrix to transform image coordinates into chart | |
3755 coordinates. | |
3756 | |
3757 NOTE: The transformation matrix creation needs some work to support | |
3758 charts with inverted X axis. | |
3759 | |
3760 * src/main/java/de/intevation/flys/exports/LongitudinalSectionInfoGenerator.java, | |
3761 src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionInfoGenerator.java, | |
3762 src/main/java/de/intevation/flys/exports/DurationCurveInfoGenerator.java, | |
3763 src/main/java/de/intevation/flys/exports/DischargeCurveInfoGenerator.java, | |
3764 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveInfoGenerator.java: | |
3765 Concrete instances of ChartInfoGenerator that create the chart info for | |
3766 the currently supported chart types. | |
3767 | |
3768 * doc/conf/conf.xml: Registered new OutGenerators. | |
3769 | |
3770 2011-05-31 Ingo Weinzierl <ingo@intevation.de> | |
3771 | |
3772 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
3773 Added support for the 'type' paramter of the collection's out() | |
3774 operation. | |
3775 | |
3776 2011-05-31 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
3777 | |
3778 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java, | |
3779 src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
3780 Use an explicit reference km for interpolation now. | |
3781 | |
3782 2011-05-30 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
3783 | |
3784 * doc/conf/cache.xml: Introduced cache to store the distance info per river. | |
3785 This boosts performance in following ab setup from 3.61 to 39.91 requests/secs. | |
3786 | |
3787 $ ab -c 20 -n 1000 -p distances.xml http://127.0.0.1:8181/service/distanceinfo | |
3788 | |
3789 $ cat distances.xml | |
3790 <?xml version="1.0" encoding="UTF-8"?> | |
3791 <art:river xmlns:art="http://www.intevation.de/2009/artifacts">Elbe</art:river> | |
3792 | |
3793 * src/main/java/de/intevation/flys/artifacts/model/AnnotationsFactory.java: Added | |
3794 an iterator result to avoid construction expensive interim lists. | |
3795 | |
3796 * src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java: Use | |
3797 the cache if configured. | |
3798 | |
3799 2011-05-30 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
3800 | |
3801 flys/issue82 | |
3802 | |
3803 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
3804 Only successful interpolations are named. | |
3805 | |
3806 2011-05-27 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
3807 | |
3808 * src/main/java/de/intevation/flys/artifacts/math/BackJumpCorrector.java: | |
3809 Make it work independent of river flow direction. | |
3810 | |
3811 * src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java: | |
3812 Fixed bug in ordering segments | |
3813 | |
3814 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Re-enabled | |
3815 calculation of the back jump correction. Fixed more flow direction issues. | |
3816 | |
3817 2011-05-27 Ingo Weinzierl <ingo@intevation.de> | |
3818 | |
3819 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
3820 Removed call of XMLDebug class which is not in the version control. | |
3821 | |
3822 2011-05-27 Ingo Weinzierl <ingo@intevation.de> | |
3823 | |
3824 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
3825 Moved the code part that skips themes right after the part that sets the | |
3826 master artifact for the OutGenerator. We need this master artifact to | |
3827 display empty charts - master artifact is used to create titles and | |
3828 axes. | |
3829 | |
3830 2011-05-27 Ingo Weinzierl <ingo@intevation.de> | |
3831 | |
3832 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
3833 Deactivated themes are not put into the chart. | |
3834 | |
3835 2011-05-27 Ingo Weinzierl <ingo@intevation.de> | |
3836 | |
3837 * src/main/java/de/intevation/flys/collections/AttributeParser.java: | |
3838 Repaired broken XPath expressions to find the output modes in an | |
3839 attribute document of a collection. | |
3840 | |
3841 * src/main/java/de/intevation/flys/collections/AttributeWriter.java: This | |
3842 writer will now create a document that has a root node art:attribute. | |
3843 Before these changes, the document's root node was art:outputs which is | |
3844 part of the attribute document but not the right root node. | |
3845 | |
3846 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
3847 Adapted some XPath expressions and corrected the the process to create | |
3848 attribute documents. | |
3849 | |
3850 2011-05-26 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
3851 | |
3852 * src/main/java/de/intevation/flys/artifacts/math/LinearRemap.java: | |
3853 Made it work independent of from/to order. | |
3854 | |
3855 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
3856 Added method to extract the ranges correctly from data. | |
3857 | |
3858 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
3859 Use the correct ranges. Comment out backjump detection temporarily. | |
3860 | |
3861 2011-05-26 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
3862 | |
3863 * src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java: | |
3864 Generate fields for w/q input depend on flow direction. | |
3865 | |
3866 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
3867 Moved km up question out of loop. | |
3868 2011-05-26 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
3869 | |
3870 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
3871 Take the flow direction into account. | |
3872 | |
3873 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: | |
3874 Prevent NPE. | |
3875 | |
3876 * src/main/java/de/intevation/flys/artifacts/states/RangeState.java: | |
3877 Allow to be 'from' greater than 'to' in ranges. | |
3878 | |
3879 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Negate | |
3880 step if 'from' is greater than 'to'. | |
3881 | |
3882 2011-05-26 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
3883 | |
3884 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
3885 Round exploded values to a precision of 1e-6. | |
3886 | |
3887 2011-05-25 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
3888 | |
3889 Qs are now stored in ranges for each column. | |
3890 | |
3891 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory2.java: | |
3892 Deleted. | |
3893 | |
3894 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory.java: | |
3895 Was WstValueTableFactory2. | |
3896 | |
3897 * src/main/java/de/intevation/flys/artifacts/model/QRangeTree.java: Fixed | |
3898 node linking bug. Removed dead code. | |
3899 | |
3900 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
3901 Q values are now stored in range trees by each column. The qs of the rows | |
3902 are removed and the calculations are adjusted. Removed dead code. | |
3903 | |
3904 2011-05-24 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
3905 | |
3906 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory.java: | |
3907 Moved cache name to WstValueTableCacheKey. Do not cache null references. | |
3908 | |
3909 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableCacheKey.java: | |
3910 Moved cache name into this class. | |
3911 | |
3912 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
3913 Store QRangeTree for each column of value table. TODO: Use them! | |
3914 | |
3915 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory2.java: | |
3916 Intended as a replacement for WstValueTableFactory, but is work in progress. | |
3917 | |
3918 * src/main/java/de/intevation/flys/artifacts/model/QRangeTree.java: Fixed | |
3919 index errors and added methods to dump as graphviz graph. | |
3920 | |
3921 2011-05-24 Ingo Weinzierl <ingo@intevation.de> | |
3922 | |
3923 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java: | |
3924 Improved the validation of WQ values. | |
3925 | |
3926 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Use the | |
3927 correct input data object to determine the selected WQ mode (range or | |
3928 single input). | |
3929 | |
3930 2011-05-24 Ingo Weinzierl <ingo@intevation.de> | |
3931 | |
3932 ISSUE-40 (part I/II) | |
3933 | |
3934 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: | |
3935 Write default values (values already selected by the user before) of the | |
3936 input data items into DESCRIBE. | |
3937 | |
3938 2011-05-24 Ingo Weinzierl <ingo@intevation.de> | |
3939 | |
3940 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java: | |
3941 Removed needless imports. | |
3942 | |
3943 2011-05-24 Ingo Weinzierl <ingo@intevation.de> | |
3944 | |
3945 ISSUE-85 (part III/III) | |
3946 | |
3947 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java: | |
3948 Added a static function that returns the kilometer values (double[]) | |
3949 from locations input (whitespace separated double values). | |
3950 | |
3951 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Adapted | |
3952 the getKms() method. It will now return a computed array of kilometers | |
3953 if we had inserted a range, or it will return the inserted kilometers if | |
3954 we had inserted locations. | |
3955 | |
3956 2011-05-24 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
3957 | |
3958 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory.java: | |
3959 Moved cache key to separate class. | |
3960 | |
3961 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableCacheKey.java: | |
3962 New. The new cache key class. | |
3963 | |
3964 2011-05-24 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
3965 | |
3966 * src/main/java/de/intevation/flys/artifacts/model/QRangeTree.java: | |
3967 Model to store the q values of a WST column efficiently. First | |
3968 building block not to store the q values directly aside the | |
3969 w values. | |
3970 | |
3971 2011-05-24 Ingo Weinzierl <ingo@intevation.de> | |
3972 | |
3973 ISSUE-85 (part I/III) | |
3974 | |
3975 * doc/conf/artifacts/winfo.xml: Added two further field 'ld_mode' and | |
3976 'ld_locations' to the range/locations state to track the selected mode | |
3977 and locations. | |
3978 | |
3979 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java: | |
3980 Added methods to validate the user inserted locations. | |
3981 | |
3982 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Added a | |
3983 method to determine of a range or locations have been inserted. | |
3984 | |
3985 2011-05-23 Ingo Weinzierl <ingo@intevation.de> | |
3986 | |
3987 ISSUE-62 (part II/II) | |
3988 | |
3989 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Dump the | |
3990 artifacts state/data in DEBUG mode in describe(). | |
3991 | |
3992 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java, | |
3993 src/main/java/de/intevation/flys/artifacts/states/DefaultState.java, | |
3994 src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java, | |
3995 src/main/java/de/intevation/flys/artifacts/states/WQSelect.java, | |
3996 src/main/java/de/intevation/flys/artifacts/states/LocationSelect.java, | |
3997 src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java, | |
3998 src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java: | |
3999 States will no longer store data. The only reason for states storing | |
4000 StateData is to know about the necessary data for this state. If a State | |
4001 needs to access the user input for a specific StateData object, it needs | |
4002 to query the FLYSArtifact which stores the data. | |
4003 | |
4004 2011-05-23 Ingo Weinzierl <ingo@intevation.de> | |
4005 | |
4006 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Added a | |
4007 method to dump the artifacts state(s)/data. | |
4008 | |
4009 2011-05-23 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
4010 | |
4011 flys/issue84 | |
4012 | |
4013 * src/main/java/de/intevation/flys/artifacts/model/WstFactory.java: | |
4014 Forget to select wst kind. | |
4015 | |
4016 2011-05-20 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
4017 | |
4018 flys/issue81 | |
4019 | |
4020 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
4021 weights for kms were swapped. | |
4022 | |
4023 2011-05-20 Ingo Weinzierl <ingo@intevation.de> | |
4024 | |
4025 Tagged RELEASE 2.3.1 | |
4026 | |
4027 2011-05-20 Ingo Weinzierl <ingo@intevation.de> | |
4028 | |
4029 * Changes: Prepared changes for the upcoming release. | |
4030 | |
4031 2011-05-20 Hans Plum <hans@intevation.de> | |
4032 | |
4033 * NEWS: | |
4034 Hint to Release 2.3.1. For further information look into module | |
4035 flys-client/NEWS | |
4036 | |
4037 2011-05-19 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
4038 | |
4039 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java (getExplodedValues): | |
4040 Increment kms array size by one to take the end of range, too. | |
4041 | |
4042 2011-05-19 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
4043 | |
4044 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory.java: | |
4045 Sort by rows (should not be necessary). | |
4046 | |
4047 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
4048 Use unsharp km lookup (epsilon = 0.0001). This fixes the problem | |
4049 that some kms were not found. | |
4050 | |
4051 2011-05-19 Ingo Weinzierl <ingo@intevation.de> | |
4052 | |
4053 flys/issue66 | |
4054 | |
4055 * src/main/resources/messages_en.properties: Fixed broken template. | |
4056 | |
4057 2011-05-19 Ingo Weinzierl <ingo@intevation.de> | |
4058 | |
4059 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
4060 Set the name of the computed discharge curve objects. | |
4061 | |
4062 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java: | |
4063 The curves of this chart will now have names that consist of the word | |
4064 'Discharge Curve', the river name and the kilometer that has been used | |
4065 for the computation. | |
4066 | |
4067 * src/main/resources/messages.properties, | |
4068 src/main/resources/messages_de_DE.properties, | |
4069 src/main/resources/messages_en.properties, | |
4070 src/main/resources/messages_de.properties: Added i18n strings for the | |
4071 computed discharge curves. | |
4072 | |
4073 2011-05-19 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
4074 | |
4075 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
4076 Added convenience method isQ() to determine if we are | |
4077 doing Q calculations. | |
4078 | |
4079 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
4080 Reintroduced titles for the "W for unausgeglichene Abfluesse". | |
4081 | |
4082 2011-05-19 Ingo Weinzierl <ingo@intevation.de> | |
4083 | |
4084 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java: | |
4085 The curves will now have names that consist of the gauge name and its | |
4086 valid time range. | |
4087 | |
4088 * src/main/resources/messages.properties, | |
4089 src/main/resources/messages_de_DE.properties, | |
4090 src/main/resources/messages_en.properties, | |
4091 src/main/resources/messages_de.properties: Added i18n strings for the | |
4092 discharge curves. | |
4093 | |
4094 2011-05-19 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
4095 | |
4096 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
4097 Removed dead code. | |
4098 | |
4099 2011-05-19 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
4100 | |
4101 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
4102 Use the correct method to generate kms. | |
4103 | |
4104 * src/main/java/de/intevation/flys/artifacts/math/LinearRemap.java: | |
4105 Added some logging to test the map in debug mode. | |
4106 | |
4107 2011-05-18 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
4108 | |
4109 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
4110 Made getExplodedValues static. | |
4111 | |
4112 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
4113 Use new logic to calculate "W fĂĽr ungleichwertige Abfluesse". | |
4114 Not working, yet. | |
4115 | |
4116 * ChangeLog: Fixed former entry. | |
4117 | |
4118 2011-05-18 Ingo Weinzierl <ingo@intevation.de> | |
4119 | |
4120 * doc/conf/artifacts/winfo.xml: Registered the WST export for discharge | |
4121 longitudinal sections. | |
4122 | |
4123 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Set the | |
4124 names of the discharge longitudinal section computation results. | |
4125 | |
4126 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java: | |
4127 The W/Q curves in the chart will now have names. | |
4128 | |
4129 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java: | |
4130 The WstWriter is filled with column names in an own method. So, we are | |
4131 able to override this process in subclasses. | |
4132 | |
4133 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionExporter.java: | |
4134 Adapted the column names for the WST export. | |
4135 | |
4136 2011-05-18 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
4137 | |
4138 Work on flys/issue69 | |
4139 | |
4140 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
4141 Use new logic to calculate "Wasserstand/Wasserspiegellage". | |
4142 Compared to desktop FLYS are the results are structurally right | |
4143 but a bit off in the positions after the decimal points. | |
4144 Maybe a result of the interpolation? Need to debug this. | |
4145 | |
4146 2011-05-18 Ingo Weinzierl <ingo@intevation.de> | |
4147 | |
4148 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
4149 W and Q curves will now have names based on the defined W or Q values | |
4150 for the waterlevel computation. | |
4151 | |
4152 2011-05-18 Ingo Weinzierl <ingo@intevation.de> | |
4153 | |
4154 * src/main/java/de/intevation/flys/artifacts/model/NamedObject.java: | |
4155 New. This object is used to give objects a name. | |
4156 | |
4157 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java: Inherit | |
4158 from NamedObject now. Because we need to display names for those objects | |
4159 in different places. | |
4160 | |
4161 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: The WQKms | |
4162 objects returned by a waterlevel computation will now have names. | |
4163 | |
4164 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java: | |
4165 Insert the column names for the WSTs into the WstWriter. | |
4166 | |
4167 * src/main/java/de/intevation/flys/exports/WstWriter.java: The column | |
4168 names are written into the head of the WSTs now. | |
4169 | |
4170 2011-05-17 Ingo Weinzierl <ingo@intevation.de> | |
4171 | |
4172 * src/main/java/de/intevation/flys/artifacts/model/WstLine.java: New. This | |
4173 class is used to store the W/Q values of a specific kilometer of a WST. | |
4174 | |
4175 * src/main/java/de/intevation/flys/exports/WstWriter.java: New. A writer | |
4176 that creates WSTs. | |
4177 | |
4178 TODO: The header of the WSTs is not finished. The Q descriptions are | |
4179 missing. | |
4180 | |
4181 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java: | |
4182 Enabled WST exports. | |
4183 | |
4184 * doc/conf/artifacts/winfo.xml: Registered the WST export for waterlevels. | |
4185 | |
4186 2011-05-17 Ingo Weinzierl <ingo@intevation.de> | |
4187 | |
4188 * src/main/java/de/intevation/flys/utils/Formatter.java: New. This class | |
4189 supports functions to retrieve formatters for specific types of data | |
4190 used in FLYS. | |
4191 | |
4192 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java, | |
4193 src/main/java/de/intevation/flys/exports/DurationCurveExporter.java, | |
4194 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java, | |
4195 src/main/java/de/intevation/flys/exports/AbstractExporter.java: | |
4196 Removed the formatter declaration - the whole formatter stuff is done in | |
4197 Formatter now. | |
4198 | |
4199 2011-05-17 Ingo Weinzierl <ingo@intevation.de> | |
4200 | |
4201 ISSUE-72 | |
4202 | |
4203 * src/main/java/de/intevation/flys/artifacts/services/MainValuesService.java: | |
4204 Repaired broken XPath expressions to extract start and end kilometer. | |
4205 | |
4206 2011-05-17 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
4207 | |
4208 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
4209 Removed the Hibernate loading stuff. | |
4210 | |
4211 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory.java: | |
4212 New. The Hibernate loading. | |
4213 | |
4214 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
4215 Use the WstValueTableFactory for loading now. | |
4216 | |
4217 2011-05-17 Ingo Weinzierl <ingo@intevation.de> | |
4218 | |
4219 Tagged RELEASE 0.1 aka Version 2.3.0 | |
4220 | |
4221 2011-05-16 Hans Plum <hans@intevation.de> | |
4222 | |
4223 * NEWS: | |
4224 New. Giving some user specific perspective to new functionality and | |
4225 changes. This file references releases dates only; details can be find | |
4226 in the client module at flys-client. | |
4227 | |
4228 2011-05-10 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
4229 | |
4230 First step to calculate "W fuer ungleichwertige Abfluesse" correctly. | |
4231 flys/issue55 | |
4232 | |
4233 * src/main/java/de/intevation/flys/artifacts/math/LinearRemap.java: | |
4234 New. Remaps "gleichwertige" Q values to the corresponding | |
4235 "ungleichwertige" Q values depending on km. | |
4236 | |
4237 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
4238 Remap the Q values "ungleichwertig" depending on the | |
4239 "gleichwertige" ones. | |
4240 | |
4241 2011-05-10 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
4242 | |
4243 First step to fix flys/issue69 | |
4244 | |
4245 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
4246 New code path to implement the calculation of "Wasserstand/Wasspiegellage" | |
4247 correctly. TODO 1: Use new path in UI. TODO 2: Remove unused old code. | |
4248 | |
4249 2011-05-13 Ingo Weinzierl <ingo@intevation.de> | |
4250 | |
4251 * Changes: Prepared Changes for the upcoming release 2.3 - see Changes | |
4252 file to get to know about the changes of the version numbers. | |
4253 | |
4254 2011-05-13 Ingo Weinzierl <ingo@intevation.de> | |
4255 | |
4256 ISSUE-37 | |
4257 | |
4258 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java: This | |
4259 state would be happy if there is a UI provider called "river_panel". | |
4260 | |
4261 2011-05-11 Ingo Weinzierl <ingo@intevation.de> | |
4262 | |
4263 * src/main/java/de/intevation/flys/exports/ChartGenerator.java: Added new | |
4264 methods that return the requested chart size as integer array [width, | |
4265 height]. The requested size is read from the incomding request document. | |
4266 | |
4267 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: The size | |
4268 of a chart is no longer static. The requested size is fetched using | |
4269 ChartGenerator.getSize(). | |
4270 | |
4271 2011-05-11 Ingo Weinzierl <ingo@intevation.de> | |
4272 | |
4273 ISSUE-52 | |
4274 | |
4275 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
4276 The X-Axis of such a chart is inverted, if the head of the river is not | |
4277 at kilometer 0. This type of charts always have the head of the river at | |
4278 the left side. | |
4279 | |
4280 2011-05-10 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
4281 | |
4282 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java: | |
4283 Make incoming XML symmetric to DistanceInfoService. | |
4284 | |
4285 2011-05-10 Ingo Weinzierl <ingo@intevation.de> | |
4286 | |
4287 ISSUE-47 | |
4288 | |
4289 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java, | |
4290 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java, | |
4291 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
4292 Adjusted temporarily the color of the W, Q and corrected W curves to | |
4293 distinguish each other. | |
4294 | |
4295 2011-05-10 Ingo Weinzierl <ingo@intevation.de> | |
4296 | |
4297 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: | |
4298 Adjusted the plot of xy charts - the gridlines are displayed now. | |
4299 | |
4300 2011-05-10 Ingo Weinzierl <ingo@intevation.de> | |
4301 | |
4302 ISSUE-53 | |
4303 | |
4304 * src/main/java/de/intevation/flys/artifacts/resources/Resources.java: | |
4305 Added a method that returns the preferred locale based on the available | |
4306 locales of the server and the desired locales of the request (CallMeta). | |
4307 | |
4308 * src/main/java/de/intevation/flys/exports/AbstractExporter.java: Added a | |
4309 method that creates a number formatter with minimum and maximum digits. | |
4310 | |
4311 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionExporter.java, | |
4312 src/main/java/de/intevation/flys/exports/WaterlevelExporter.java, | |
4313 src/main/java/de/intevation/flys/exports/DurationCurveExporter.java, | |
4314 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java: | |
4315 Formatted the number values of the CSV exports. | |
4316 | |
4317 2011-05-10 Ingo Weinzierl <ingo@intevation.de> | |
4318 | |
4319 * src/main/java/de/intevation/flys/artifacts/model/RangeWithValues.java: | |
4320 New. A data structure that enables us to save a data triple: a range | |
4321 that consist of lower and upper double value and a set of values that | |
4322 belong to this range. | |
4323 | |
4324 * src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java: | |
4325 Implemented the validation of W/Q values. | |
4326 | |
4327 2011-05-10 Ingo Weinzierl <ingo@intevation.de> | |
4328 | |
4329 * src/main/java/de/intevation/flys/exports/AbstractExporter.java: New | |
4330 method to retrieve i18n messages based on keys. | |
4331 | |
4332 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionExporter.java, | |
4333 src/main/java/de/intevation/flys/exports/WaterlevelExporter.java, | |
4334 src/main/java/de/intevation/flys/exports/DurationCurveExporter.java, | |
4335 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java: | |
4336 Added headers for CSV exports. | |
4337 | |
4338 * src/main/resources/messages.properties, | |
4339 src/main/resources/messages_de_DE.properties, | |
4340 src/main/resources/messages_en.properties, | |
4341 src/main/resources/messages_de.properties: Added new i18n strings for | |
4342 CSV headers. | |
4343 | |
4344 2011-05-10 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
4345 | |
4346 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java: | |
4347 Fetches river name from incoming XML document. If no river is given all | |
4348 infos about all rivers are listed. | |
4349 | |
4350 * src/main/resources/metadata/template.xml: Templates honors the 'river' | |
4351 parameter. | |
4352 | |
4353 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java: | |
4354 Extended to pass parameters to the templating. Added support for | |
4355 type conversion. | |
4356 | |
4357 * src/main/java/de/intevation/flys/artifacts/services/meta/StackFrames.java: | |
4358 Take parameters as an initial stack frame. | |
4359 | |
4360 * src/main/java/de/intevation/flys/artifacts/services/meta/TypeConverter.java: | |
4361 New. Converts types off stacked variables. | |
4362 | |
4363 2011-05-10 Ingo Weinzierl <ingo@intevation.de> | |
4364 | |
4365 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Added a | |
4366 method to add subtitles to charts. The implementation in this class does | |
4367 not add any subtitle. Concrete subclasses may override this method to | |
4368 add some. | |
4369 | |
4370 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java, | |
4371 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java, | |
4372 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java: | |
4373 Add subtitles to charts. | |
4374 | |
4375 * src/main/resources/messages.properties, | |
4376 src/main/resources/messages_de_DE.properties, | |
4377 src/main/resources/messages_en.properties, | |
4378 src/main/resources/messages_de.properties: Added i18n templates for | |
4379 compound messages (chart subtitles). | |
4380 | |
4381 2011-05-10 Ingo Weinzierl <ingo@intevation.de> | |
4382 | |
4383 * src/main/java/de/intevation/flys/artifacts/resources/Resources.java: | |
4384 Added new methods to retrieve translated compound messages. | |
4385 | |
4386 2011-05-10 Ingo Weinzierl <ingo@intevation.de> | |
4387 | |
4388 * src/main/java/de/intevation/flys/exports/OutGenerator.java: Added a | |
4389 method to set the master artifact that should be used for some special | |
4390 operations. | |
4391 | |
4392 * src/main/java/de/intevation/flys/exports/ChartGenerator.java, | |
4393 src/main/java/de/intevation/flys/exports/AbstractExporter.java: | |
4394 Implement the setMasterArtifact() method of the interface. | |
4395 | |
4396 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
4397 Call OutGenerator.setMasterArtifact(). | |
4398 | |
4399 NOTE: The determination of the master artifact needs to be implemented! | |
4400 | |
4401 2011-05-10 Ingo Weinzierl <ingo@intevation.de> | |
4402 | |
4403 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Removed | |
4404 hard coded dev code that defined a WQ mode. | |
4405 | |
4406 2011-05-09 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
4407 | |
4408 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java: | |
4409 Stripped ugly extra whitespace from output introduced by | |
4410 templating. | |
4411 | |
4412 2011-05-09 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
4413 | |
4414 * src/main/resources/metadata/template.xml: Added forgotten | |
4415 columns of fixation WSTs. | |
4416 | |
4417 2011-05-09 Ingo Weinzierl <ingo@intevation.de> | |
4418 | |
4419 * src/main/java/de/intevation/flys/exports/ChartGenerator.java: Added a | |
4420 method to retrieve i18n strings. | |
4421 | |
4422 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java, | |
4423 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java, | |
4424 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java, | |
4425 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java: | |
4426 Enabled i18n support for chart title and axes labels. | |
4427 | |
4428 * src/main/resources/messages.properties, | |
4429 src/main/resources/messages_de_DE.properties, | |
4430 src/main/resources/messages_en.properties, | |
4431 src/main/resources/messages_de.properties: Added i18n strings for the | |
4432 chart types above. | |
4433 | |
4434 2011-05-09 Ingo Weinzierl <ingo@intevation.de> | |
4435 | |
4436 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionExporter.java: | |
4437 New. This OutGenerator exports the data of a discharge longitudinal | |
4438 section computation. | |
4439 | |
4440 * doc/conf/conf.xml: Added the DischargeLongitudinalSectionExporter. | |
4441 | |
4442 * doc/conf/artifacts/winfo.xml: Added the exporter with CSV facet to the | |
4443 discharge_longitudinal_section state. | |
4444 | |
4445 2011-05-07 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
4446 | |
4447 * src/main/java/de/intevation/flys/artifacts/math/BackJumpCorrector.java: | |
4448 Added code to make back jump correction work with both | |
4449 potential flow directions. | |
4450 | |
4451 2011-05-06 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
4452 | |
4453 * src/main/resources/metadata/template.xml: | |
4454 Added data cage configuration for 'Längsschnitt'. | |
4455 | |
4456 2011-05-06 Ingo Weinzierl <ingo@intevation.de> | |
4457 | |
4458 * doc/conf/artifacts/winfo.xml: Added the missing Q facet for discharge | |
4459 longitudinal sections. | |
4460 | |
4461 * src/main/java/de/intevation/flys/artifacts/model/WQCKms.java: New. A | |
4462 derived dataset to store W/Q values with corrected Ws for a kilometer | |
4463 range. | |
4464 | |
4465 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java: Some new | |
4466 methods and a new constructor to initialize this data object with a | |
4467 predefined set of values. | |
4468 | |
4469 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: New | |
4470 methods to retrieve the W/Q values for the 'discharge longitudinal | |
4471 section' computation. | |
4472 | |
4473 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: New | |
4474 methods to retrieve and compute data used for the 'discharge | |
4475 longitudinal section' computation. | |
4476 | |
4477 2011-05-05 Ingo Weinzierl <ingo@intevation.de> | |
4478 | |
4479 * src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java: | |
4480 Bugfix: just write the ranges of gauges into the DESCRIBE if the | |
4481 'wq_values' data item is required. | |
4482 | |
4483 * src/main/resources/messages.properties, | |
4484 src/main/resources/messages_de_DE.properties, | |
4485 src/main/resources/messages_en.properties, | |
4486 src/main/resources/messages_de.properties: Added i18n messages used in | |
4487 the DESCRIBE of the WQAdapted state. | |
4488 | |
4489 2011-05-05 Ingo Weinzierl <ingo@intevation.de> | |
4490 | |
4491 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java: | |
4492 Changed the title of the y-axis (now 'W [NN+m]'). | |
4493 | |
4494 2011-05-05 Ingo Weinzierl <ingo@intevation.de> | |
4495 | |
4496 * doc/conf/artifacts/winfo.xml: Improved the transition model to reach the | |
4497 output state for creating 'discharge longitudinal section' charts. | |
4498 | |
4499 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Added a | |
4500 method that returns all gauges of the selected river based on a the | |
4501 given kilometer range. | |
4502 | |
4503 * src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java: New. | |
4504 This state creates a set of elements for the DESCRIBE that consist of a | |
4505 tuple of kilometer values. The number of elements depend on the number | |
4506 of gauges intersected by the given kilometer range. | |
4507 | |
4508 * src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java: | |
4509 New. This state is the output state that is reached after the 'discharge | |
4510 longitudinal section' computation has been chosen. | |
4511 | |
4512 2011-05-05 Ingo Weinzierl <ingo@intevation.de> | |
4513 | |
4514 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Default | |
4515 step width between two kilometers added - if no step width is given, | |
4516 this default width is used. | |
4517 | |
4518 2011-05-05 Ingo Weinzierl <ingo@intevation.de> | |
4519 | |
4520 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
4521 Fixed a potential NullPointerException if there is just a single | |
4522 kilometer given to create a longitudinal section. | |
4523 | |
4524 2011-05-04 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
4525 | |
4526 * pom.xml: Added http://repository.jboss.org/maven2 repo | |
4527 to fix flys/issue30 | |
4528 | |
4529 2011-05-04 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
4530 | |
4531 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
4532 To make diagram generation possible ws are now generated from qs | |
4533 because they are many ws having different qs. | |
4534 | |
4535 2011-05-04 Ingo Weinzierl <ingo@intevation.de> | |
4536 | |
4537 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java: | |
4538 Fetch the WQ data from WINFO artifact and write those values into the | |
4539 CSV export. | |
4540 | |
4541 2011-05-04 Ingo Weinzierl <ingo@intevation.de> | |
4542 | |
4543 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Added | |
4544 methods to compute and retrieve the data for discharge curves (computed). | |
4545 | |
4546 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java: | |
4547 Fetch the computed discharge curve data from WINFOArtifact and add the | |
4548 values into the JFreeChart dataset. | |
4549 | |
4550 2011-05-04 Ingo Weinzierl <ingo@intevation.de> | |
4551 | |
4552 * doc/conf/artifacts/winfo.xml: Added new transitions and states to enable | |
4553 the WINFO artifact for computing discharge curves. | |
4554 | |
4555 * doc/conf/conf.xml: Added OutGenerators that generate computed discharge | |
4556 curves and exports for its data. | |
4557 | |
4558 * src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java: | |
4559 New. This state is reached if the user chose the computed discharge | |
4560 curve. | |
4561 | |
4562 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java: | |
4563 New. This is only a stub implementation at the moment. This | |
4564 OutGenerator should create computed discharge curves later. It extends | |
4565 the DischargeCurveGenerator which should do the same stuff for discharge | |
4566 curves for gauges. | |
4567 | |
4568 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java: | |
4569 New. This is only a stub implementation at the moment. This OutGenerator | |
4570 should create the exports of the discharge curve computation. | |
4571 | |
4572 2011-05-03 Ingo Weinzierl <ingo@intevation.de> | |
4573 | |
4574 * doc/conf/artifacts/winfo.xml: Added a new output mode for the duration | |
4575 curve state (CSV export). | |
4576 | |
4577 * doc/conf/conf.xml: Added a new OutGenerator to export duration curve | |
4578 computations. | |
4579 | |
4580 * src/main/java/de/intevation/flys/exports/AbstractExporter.java: New. | |
4581 This abstract OutGenerator represents the base class for exporting | |
4582 computed data. Currently, the CSV export is supported. | |
4583 | |
4584 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java: Moved | |
4585 the most code to export to CSV into the AbstractExporter. | |
4586 | |
4587 * src/main/java/de/intevation/flys/exports/DurationCurveExporter.java: | |
4588 New. This exporter exports the computed data of a duration computation. | |
4589 | |
4590 2011-05-03 Ingo Weinzierl <ingo@intevation.de> | |
4591 | |
4592 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
4593 Modified a wrong debug statement which would confuse the user. | |
4594 | |
4595 2011-05-03 Ingo Weinzierl <ingo@intevation.de> | |
4596 | |
4597 * doc/conf/artifacts/winfo.xml: Added a new output mode for the waterlevel | |
4598 state (CSV export). | |
4599 | |
4600 * doc/conf/conf.xml: Added a new OutGenerator to export waterlevels. | |
4601 | |
4602 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java: New. | |
4603 This OutGenerator exports the data of a waterlevel computation. Note: | |
4604 It is necessary to specify the desired facet (e.g. | |
4605 'waterlevel_export.csv'). | |
4606 | |
4607 * pom.xml: Added a dependency to OpenCSV. | |
4608 | |
4609 2011-05-03 Ingo Weinzierl <ingo@intevation.de> | |
4610 | |
4611 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
4612 Introduced an "export" output target. If the target is "export", a | |
4613 facet (read from the incoming xml document) is a necessary parameter | |
4614 that determines which facets are written to the output. | |
4615 | |
4616 2011-05-03 Ingo Weinzierl <ingo@intevation.de> | |
4617 | |
4618 * src/main/resources/messages_en.properties: Bugfix: replaced german | |
4619 string (copy & paste mistake). | |
4620 | |
4621 2011-05-03 Ingo Weinzierl <ingo@intevation.de> | |
4622 | |
4623 * src/main/resources/messages.properties, | |
4624 src/main/resources/messages_de_DE.properties, | |
4625 src/main/resources/messages_en.properties, | |
4626 src/main/resources/messages_de.properties: Added new i18n strings for | |
4627 for the location selection. | |
4628 | |
4629 2011-05-03 Ingo Weinzierl <ingo@intevation.de> | |
4630 | |
4631 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java: | |
4632 New. An OutGenerator for creating duration curves. | |
4633 | |
4634 * src/main/java/de/intevation/flys/artifacts/model/WQDay.java: New. A | |
4635 model class to store necessary data for creating W and Q facets of a | |
4636 duration curve. This model stores W, Q and Days. | |
4637 | |
4638 * src/main/java/de/intevation/flys/artifacts/model/MainValuesFactory.java: | |
4639 Added a function to retrieve tuples of (day, q) based on a given gauge - | |
4640 these tuples are necessary for creating duration curves. | |
4641 | |
4642 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Added | |
4643 methods to compute and retrieve the data necessary for creating duration | |
4644 curves. | |
4645 | |
4646 * src/main/java/de/intevation/flys/artifacts/states/LocationSelect.java: | |
4647 Bugfix: improved the access to the location array (avoid | |
4648 NullPointerException). | |
4649 | |
4650 * doc/conf/conf.xml: Registered the new OutGenerator for duration curves. | |
4651 | |
4652 2011-05-03 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
4653 | |
4654 * contrib/visualize-transitions.xsl: State quoting was done wrong. | |
4655 | |
4656 2011-05-02 Ingo Weinzierl <ingo@intevation.de> | |
4657 | |
4658 * doc/conf/artifacts/winfo.xml: Enhanced the transition model to reach the | |
4659 final state for creating duration curves. | |
4660 | |
4661 * src/main/java/de/intevation/flys/artifacts/states/LocationSelect.java: | |
4662 New. This state should be reached to just insert an array of locations. | |
4663 | |
4664 * src/main/java/de/intevation/flys/artifacts/states/DurationCurveState.java: | |
4665 New. This state is reached if the duration curve calculation is | |
4666 selected. | |
4667 | |
4668 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Adjusted | |
4669 getDistance() so that it takes care on inserted locations - not just | |
4670 inserted ranges. | |
4671 | |
4672 2011-05-02 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
4673 | |
4674 * src/main/java/de/intevation/flys/artifacts/cache/CacheFactory.java: | |
4675 Flush/persist caches at program exists. | |
4676 | |
4677 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
4678 Commented out too eloquent debug output. | |
4679 | |
4680 2011-05-02 Ingo Weinzierl <ingo@intevation.de> | |
4681 | |
4682 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java: | |
4683 Uses the methods of FLYSArtifact to retrieve the necessary information | |
4684 rivername and selected distance. | |
4685 | |
4686 2011-05-02 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
4687 | |
4688 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
4689 Added interpolateW method to take reference to result ws array | |
4690 as an argument to avoid expensive array allocations in km iterating | |
4691 loops. | |
4692 | |
4693 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java: | |
4694 Added a constructor to create backing trove datastructure | |
4695 with the right capacity. | |
4696 | |
4697 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
4698 Move allocation of result ws out of km loop. | |
4699 | |
4700 2011-05-02 Ingo Weinzierl <ingo@intevation.de> | |
4701 | |
4702 * doc/conf/artifacts/winfo.xml: Added two further data items in the WQ | |
4703 selection state. Those items are necessary to store the information | |
4704 about the selected mode (range/single selection) and the values of the | |
4705 single selection. | |
4706 | |
4707 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: If | |
4708 there is no value for a data item, this item is not written into the | |
4709 static DESCRIBE part. | |
4710 | |
4711 * src/main/java/de/intevation/flys/artifacts/states/RangeState.java, | |
4712 src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java: | |
4713 Renamed the method to validate upper and lower values. | |
4714 | |
4715 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java: This | |
4716 state can now handle values inserted in the single selection. Therefore, | |
4717 new validate methods has been added. | |
4718 | |
4719 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: The | |
4720 methods getWs() and getWs() take care on the values inserted in the | |
4721 single insert mode of the client which enables the user to insert single | |
4722 W and Q. | |
4723 | |
4724 2011-05-02 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
4725 | |
4726 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java: | |
4727 Repaired getQForW() by calculating indices on right dimension. | |
4728 | |
4729 2011-05-02 Ingo Weinzierl <ingo@intevation.de> | |
4730 | |
4731 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: New | |
4732 methods for retrieving selected W values (getWs()). | |
4733 | |
4734 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: The | |
4735 method for retrieving waterlevel data takes care on selected Ws, now. | |
4736 The selected Ws are transformed using the DischargeTables.getQForW() | |
4737 into Q values. | |
4738 | |
4739 2011-05-02 Ingo Weinzierl <ingo@intevation.de> | |
4740 | |
4741 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java: | |
4742 Removed an unused parameter 'result' of getQForW(). | |
4743 | |
4744 2011-05-02 Ingo Weinzierl <ingo@intevation.de> | |
4745 | |
4746 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Removed | |
4747 the getDataset() method and replaced it with a addDataset() method. | |
4748 On this way, concrete subclasses of this OutGenerator can have multiple | |
4749 datasets (e.g. different datasets for W and Q). This abstract method is | |
4750 called after the chart generation is finished. | |
4751 | |
4752 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java, | |
4753 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java: | |
4754 Both classes implement the addDataset() method. The | |
4755 LongitudinalSectionGenerator has already multiple datasets for W and Q. | |
4756 Both are added to the chart - both have an own range axis. | |
4757 | |
4758 2011-05-01 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
4759 | |
4760 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
4761 Use the cache for the wst value table if configured. | |
4762 | |
4763 * doc/conf/cache.xml: Choose a more precise name for the | |
4764 wst value table cache. | |
4765 | |
4766 2011-04-29 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
4767 | |
4768 * pom.xml: Added dependency to Ehcache. Apache 2.0 license. | |
4769 | |
4770 * doc/conf/conf.xml: Added configuration of ehcache. | |
4771 | |
4772 * doc/conf/cache.xml: New. Cache configurations. | |
4773 | |
4774 * src/main/java/de/intevation/flys/artifacts/cache/CacheFactory.java: | |
4775 New. Factory to access caches. | |
4776 | |
4777 2011-04-29 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
4778 | |
4779 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java: | |
4780 Forgot to add. | |
4781 | |
4782 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java: | |
4783 New. Given a database connection and a XML template it generates | |
4784 an output with meta data about the database. | |
4785 | |
4786 * src/main/java/de/intevation/flys/artifacts/services/meta/CompiledStatement.java: | |
4787 New. Holds prepared statements optimized to be run in the stack of | |
4788 contextes. | |
4789 | |
4790 * src/main/java/de/intevation/flys/artifacts/services/meta/StackFrames.java: | |
4791 New. Model to hold a hierarchical scope of variables. | |
4792 | |
4793 * src/main/java/de/intevation/flys/artifacts/services/meta/ResultData.java: | |
4794 New. Stores data set fetched from a sql select to be iterated in | |
4795 a context. | |
4796 | |
4797 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java, | |
4798 src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
4799 Removed superfluous imports. | |
4800 | |
4801 2011-04-29 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
4802 | |
4803 * doc/conf/conf.xml: Added meta data service. | |
4804 | |
4805 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java: | |
4806 Stub for the meta data service. | |
4807 | |
4808 * src/main/resources/metadata/template.xml: Initial template for | |
4809 the meta data service. | |
4810 | |
4811 2011-04-29 Ingo Weinzierl <ingo@intevation.de> | |
4812 | |
4813 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
4814 Bugfix: Now, curves for Q values are drawn into a longitudinal section | |
4815 chart as well. Therefore, it was necessary to change the datastructure | |
4816 of the inner class ThemeList that stores all themes included in a chart | |
4817 in an ordered list (stored in a java.util.Vector now). | |
4818 | |
4819 2011-04-29 Ingo Weinzierl <ingo@intevation.de> | |
4820 | |
4821 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: New. An | |
4822 abstract base class for ChartGenerators that create XY charts. | |
4823 | |
4824 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java: | |
4825 Sourced the generate() method out to the XYChartGenerator. | |
4826 | |
4827 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
4828 Implemented the methods to add W and Q facets to the chart. | |
4829 | |
4830 2011-04-29 Ingo Weinzierl <ingo@intevation.de> | |
4831 | |
4832 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Improved | |
4833 the calculation of the step with for ranges. | |
4834 | |
4835 2011-04-29 Ingo Weinzierl <ingo@intevation.de> | |
4836 | |
4837 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java: Added a | |
4838 method that returns the number of elements stored in the data pool. | |
4839 | |
4840 2011-04-29 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
4841 | |
4842 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java: | |
4843 Added a get() method which takes destination array as an | |
4844 argument. | |
4845 | |
4846 2011-04-29 Ingo Weinzierl <ingo@intevation.de> | |
4847 | |
4848 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java: Changed the | |
4849 data structure to store w, q and kms values from List<Double> to | |
4850 TDoubleArrayList which stores native double values instead of big | |
4851 Double values. | |
4852 | |
4853 * pom.xml: Added the GNU Trove dependency. | |
4854 | |
4855 2011-04-29 Ingo Weinzierl <ingo@intevation.de> | |
4856 | |
4857 * src/main/java/de/intevation/flys/exports/OutGenerator.java: Added the | |
4858 name a the requested facet to doOut(). Concrete generators should just | |
4859 create output for this facet now. | |
4860 | |
4861 * src/main/java/de/intevation/flys/exports/ChartGenerator.java, | |
4862 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java, | |
4863 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java: | |
4864 Adapted the method signature of doOut(). | |
4865 | |
4866 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
4867 Adapted the method call of OutGenerator.doOut(). | |
4868 | |
4869 2011-04-29 Ingo Weinzierl <ingo@intevation.de> | |
4870 | |
4871 * doc/conf/themes.xml: Added mappings for the facets | |
4872 longitudinal.section.w and longitudinal.section.q. | |
4873 | |
4874 2011-04-29 Ingo Weinzierl <ingo@intevation.de> | |
4875 | |
4876 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Added some | |
4877 methods to retrieve necessary information for computing the data of a | |
4878 waterlevel. | |
4879 | |
4880 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Added | |
4881 methods to compute and retrieve the data of a waterlevel computation. | |
4882 | |
4883 2011-04-29 Ingo Weinzierl <ingo@intevation.de> | |
4884 | |
4885 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java: New. This | |
4886 model class represents a pool of data triples that consist of W, Q and | |
4887 Kms information. This class might be used to compute data for creating | |
4888 longitudinal section curves (which are based on those W, Q and Kms | |
4889 values). | |
4890 | |
4891 2011-04-29 Ingo Weinzierl <ingo@intevation.de> | |
4892 | |
4893 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
4894 Bugfix: Removed endless loop and a bug while iterating over Hibernate | |
4895 results. | |
4896 | |
4897 2011-04-28 Ingo Weinzierl <ingo@intevation.de> | |
4898 | |
4899 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
4900 New. An OutGenerator that creates longitudinal section curves. | |
4901 | |
4902 NOTE: This is just the stub - the out creation needs to be implemented! | |
4903 | |
4904 * doc/conf/conf.xml: Added the LongitudinalSectionGenerator. | |
4905 | |
4906 2011-04-28 Ingo Weinzierl <ingo@intevation.de> | |
4907 | |
4908 * doc/conf/conf.xml: Bugfix: Added missing <output-generators> section. | |
4909 | |
4910 2011-04-28 Ingo Weinzierl <ingo@intevation.de> | |
4911 | |
4912 * src/main/java/de/intevation/flys/artifacts/WaterlevelState.java: New. | |
4913 This state should be reached if the 'calc.surface.curve' calculation | |
4914 method has been chosen. | |
4915 | |
4916 * doc/conf/artifacts/winfo.xml: Modified a transition and added the | |
4917 WaterlevelState. This state is reached if the 'calc.surface.curve' | |
4918 calculation method has been chosen. It currently has 1 output - a | |
4919 longitudinal section that is not implemented yet! | |
4920 | |
4921 2011-04-28 Ingo Weinzierl <ingo@intevation.de> | |
4922 | |
4923 * src/main/java/de/intevation/flys/artifacts/transitions/ValueCompareTransition.java: | |
4924 New. This transition is valid if the a data object of the current | |
4925 artifact equals/notequals a configured value in the transition model. | |
4926 | |
4927 2011-04-28 Ingo Weinzierl <ingo@intevation.de> | |
4928 | |
4929 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java, | |
4930 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Bugfixes: | |
4931 - Adapted the parameters of the isStateReachable() call - added the | |
4932 artifact and the current state. | |
4933 - Append the outputs of a current state if the state is filled with | |
4934 valid data. | |
4935 | |
4936 2011-04-28 Ingo Weinzierl <ingo@intevation.de> | |
4937 | |
4938 * src/main/java/de/intevation/flys/artifacts/transitions/DefaultTransition.java: | |
4939 Added the missing init() method that has been introduced in the | |
4940 interface some commits ealier. | |
4941 | |
4942 * src/main/java/de/intevation/flys/artifacts/transitions/TransitionFactory.java: | |
4943 Call init() after a Transition has been created. | |
4944 | |
4945 2011-04-28 Ingo Weinzierl <ingo@intevation.de> | |
4946 | |
4947 * src/main/java/de/intevation/flys/collections/AttributeWriter.java: | |
4948 Bugfix: Introduced a <art:outputs> node in the attribute document of a | |
4949 Collection that contains further <art:output> nodes - instead of having | |
4950 multiple <art:output> nodes at toplevel of the document. | |
4951 | |
4952 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
4953 Adapted the XPath to retrieve the outputs in the attribute document of a | |
4954 Collection. | |
4955 | |
4956 2011-04-28 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
4957 | |
4958 * contrib/visualize-transitions.xsl: Added to create a | |
4959 Graphviz digraph out of the config.xml. Usage: | |
4960 | |
4961 $ xsltproc --stringparam base-dir ../doc/conf/ \ | |
4962 contrib/visualize-transitions.xsl \ | |
4963 doc/conf/conf.xml > transitions.dot | |
4964 | |
4965 $ dot -Tsvg -o transitions.svg transitions.dot | |
4966 | |
4967 2011-04-28 Ingo Weinzierl <ingo@intevation.de> | |
4968 | |
4969 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java, | |
4970 src/main/java/de/intevation/flys/artifacts/states/WQSelect.java: | |
4971 If no data has been inserted so far, an IllegalArgumentException is | |
4972 thrown. | |
4973 | |
4974 2011-04-28 Ingo Weinzierl <ingo@intevation.de> | |
4975 | |
4976 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:: | |
4977 A lot of new methods to retrieve the theme of a facet - used while | |
4978 creating the output of a facet/artifact. If a facet has no theme yet, it | |
4979 is initialized. | |
4980 | |
4981 2011-04-27 Ingo Weinzierl <ingo@intevation.de> | |
4982 | |
4983 * src/main/java/de/intevation/flys/collections/AttributeParser.java, | |
4984 src/main/java/de/intevation/flys/collections/OutputParser.java: Removed | |
4985 useless imports. | |
4986 | |
4987 2011-04-27 Ingo Weinzierl <ingo@intevation.de> | |
4988 | |
4989 * src/main/java/de/intevation/flys/exports/ChartGenerator.java: New. An | |
4990 abstract OutGenerator that might be used to create chart output. Some | |
4991 basic things that are equal in all charts should be done here! | |
4992 | |
4993 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java: | |
4994 This OutGenerator no longer implements the OutGenerator directly, but it | |
4995 extends the ChartGenerator now. | |
4996 | |
4997 2011-04-27 Ingo Weinzierl <ingo@intevation.de> | |
4998 | |
4999 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
5000 Restructured the out() operation of a collection: Now, we collect a list | |
5001 of artifacts/facets and use this for the OutGenerator. Its doOut() | |
5002 method gets the attribute of an artifact - the position and the active | |
5003 state is managed by the Collection itself. | |
5004 | |
5005 2011-04-26 Ingo Weinzierl <ingo@intevation.de> | |
5006 | |
5007 * src/main/java/de/intevation/flys/artifacts/model/ManagedFacet.java: New. | |
5008 a specialized facet that stores information about its position and its | |
5009 state (active/inactive) in an output of a collection. | |
5010 | |
5011 * src/main/java/de/intevation/flys/collections/AttributeParser.java: New. | |
5012 This parser takes the attributes (XML) of a collection and extracts the | |
5013 contained outputs with its facets. The result is a Map<String, Output>. | |
5014 | |
5015 * src/main/java/de/intevation/flys/collections/OutputParser.java: New. | |
5016 This parser is used to query the artifact's DESCRIBE and to extract the | |
5017 supported outputs. The result is a Map<String, Output>. | |
5018 | |
5019 * src/main/java/de/intevation/flys/collections/AttributeWriter.java: New. | |
5020 This writer merges the outputs contained in an attribute of a collection | |
5021 with the outputs of a collection's artifacts. | |
5022 | |
5023 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
5024 The attributes of a collection are written into its DESCRIBE document | |
5025 now. The OutputParser and AttributeParser are used to read the supported | |
5026 attributes by the collection and its artifacts - the AttributeWriter is | |
5027 used to merge both attributes and create a final attribute document. | |
5028 | |
5029 2011-04-26 Ingo Weinzierl <ingo@intevation.de> | |
5030 | |
5031 * src/main/java/de/intevation/flys/artifacts/context/FLYSContext.java, | |
5032 src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java: | |
5033 The facet-2-theme mappings are initialized at startup and stored in the | |
5034 FLYSContext. | |
5035 | |
5036 * src/main/java/de/intevation/flys/themes/ThemeFactory.java: Added a | |
5037 function that retrieves a theme from FLYSContext based on its name. | |
5038 | |
5039 2011-04-22 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5040 | |
5041 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
5042 Corrected a silly c&p mistake. | |
5043 | |
5044 2011-04-22 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5045 | |
5046 * src/main/java/de/intevation/flys/artifacts/math/BackJumpCorrector.java: | |
5047 | |
5048 Implementation of the "Ruecksprungkorrektur" to be done in | |
5049 "W fuer angepassten Abflusslaengschnitt". | |
5050 | |
5051 All tests show the expected results. In some corner cases the | |
5052 algorithm described in the "Anwenderhandbuch" chapter 3.3.4.3 "Korrektur" | |
5053 has some definition shortcomings: | |
5054 | |
5055 a - What should happend when you cannot find point 2 because | |
5056 you cannot step back one quarter from point 3 because there | |
5057 is no data there any more (river too short in this direction)? | |
5058 The implemented algorithm raises point 3' only to an | |
5059 according factor. E.g. If you can step back the whole quarter | |
5060 distance the elevation is the full quarter. If you can | |
5061 step back only the half of the quarter the elevation is | |
5062 only an eighth. | |
5063 | |
5064 b - If the water heights between point 2 and 3 are constant then | |
5065 the algorithm will produce a spline interpolation that | |
5066 lowers those values. Is this intended? | |
5067 | |
5068 For real data the back jumps are expected to be more in the middle | |
5069 of the distance ranges so the corner cases are maybe not so | |
5070 important. | |
5071 | |
5072 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java: | |
5073 Removed superfluous import. | |
5074 | |
5075 2011-04-21 Ingo Weinzierl <ingo@intevation.de> | |
5076 | |
5077 * src/main/java/de/intevation/flys/themes/ThemeFactory.java: Removed debug | |
5078 code that has been commited by accident. | |
5079 | |
5080 2011-04-21 Ingo Weinzierl <ingo@intevation.de> | |
5081 | |
5082 * doc/conf/themes.xml: New. A first small theme configuration. | |
5083 | |
5084 * doc/conf/conf.xml: Added a link to the theme configuration. | |
5085 | |
5086 * src/main/java/de/intevation/flys/artifacts/context/FLYSContext.java: | |
5087 Defined a key that is used to store a themes map in the FLYSContext. | |
5088 | |
5089 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java: | |
5090 The theme configuration is read at startup and the themes are stores in | |
5091 the FLYSContext. | |
5092 | |
5093 2011-04-21 Ingo Weinzierl <ingo@intevation.de> | |
5094 | |
5095 * src/main/java/de/intevation/flys/themes/Theme.java, | |
5096 src/main/java/de/intevation/flys/themes/DefaultTheme.java: | |
5097 New. The interface and its default implementation that represents themes | |
5098 used to style charts and maps. | |
5099 | |
5100 * src/main/java/de/intevation/flys/themes/ThemeField.java, | |
5101 src/main/java/de/intevation/flys/themes/DefaultThemeField.java: | |
5102 New. The interface and its default implementation that represents fields | |
5103 in themes. A theme might be "Lines" and one of its field might be | |
5104 "Color" or "Size". | |
5105 | |
5106 * src/main/java/de/intevation/flys/themes/ThemeFactory.java: A factory | |
5107 that creates new themes based on a theme configuration. | |
5108 | |
5109 2011-04-20 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5110 | |
5111 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
5112 Implementation of "Abflusskurve/Abflusstafel" calculation. | |
5113 | |
5114 Added method interpolateWQ() which takes an km and results in a | |
5115 tuple of two double arrays containing the w/q values interpolated | |
5116 between the surrounding w/q values of the table. | |
5117 w values are interpolated linear, q values with a cubic spline. | |
5118 | |
5119 Drawing w over q gives you the discharge table at the given km. | |
5120 | |
5121 !!! This code needs testing !!! | |
5122 | |
5123 2011-04-20 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5124 | |
5125 * pom.xml: Added dependency to Apache Commons Math 2.2 (Apache License 2.0) | |
5126 | |
5127 2011-04-20 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5128 | |
5129 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java: | |
5130 Fix problem when sorting by q (copied w instead of q). | |
5131 | |
5132 2011-04-20 Ingo Weinzierl <ingo@intevation.de> | |
5133 | |
5134 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java: | |
5135 Fixed broken HQL statement. | |
5136 | |
5137 2011-04-19 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5138 | |
5139 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
5140 add a method interpolateW() which takes an array of | |
5141 q values and returns an equal sized array of w values. | |
5142 This is essentially the "Wasserstand/Wasserspiegellagen" calculation | |
5143 of desktop FLYS. | |
5144 | |
5145 If you want to do a calculation with given w values you have | |
5146 to convert the w values with DischargeTables.getQForW() first. | |
5147 | |
5148 !!! This code needs heavy testing !!! | |
5149 | |
5150 2011-04-19 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5151 | |
5152 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java: | |
5153 We need a getQForW() method and not getWForQ() because when | |
5154 doing a "Wasserstand/Wasserspiegellagen" calculation with given | |
5155 w values these values need to be translated to q values with | |
5156 the master discharge table. | |
5157 | |
5158 2011-04-19 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5159 | |
5160 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java: | |
5161 Sorting of q values was done wrong. | |
5162 | |
5163 2011-04-19 Ingo Weinzierl <ingo@intevation.de> | |
5164 | |
5165 * src/main/java/de/intevation/flys/artifacts/model/AnnotationsFactory.java: | |
5166 Ordered the list of annotations returned by this factory based on its | |
5167 range. | |
5168 | |
5169 2011-04-19 Ingo Weinzierl <ingo@intevation.de> | |
5170 | |
5171 * src/main/java/de/intevation/flys/artifacts/services/MainValuesService.java: | |
5172 New. This service returns an XML document that includes the main values | |
5173 of a gauge based on a river name, a start and an end point. | |
5174 | |
5175 * doc/conf/conf.xml: Registered the MainValuesService. | |
5176 | |
5177 2011-04-19 Ingo Weinzierl <ingo@intevation.de> | |
5178 | |
5179 * src/main/java/de/intevation/flys/artifacts/model/MainValuesFactory.java: | |
5180 A factory that provides methods to return MainValues. | |
5181 | |
5182 2011-04-19 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5183 | |
5184 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java: | |
5185 Added static method getWForQ() to interpolate a w value for | |
5186 a given q value based on a given discharge table. | |
5187 | |
5188 2011-04-19 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5189 | |
5190 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java: | |
5191 Added convenience constructors/methods to ease the access to the master | |
5192 discharge table of a gauge. | |
5193 | |
5194 2011-04-18 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5195 | |
5196 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
5197 Moved the query complexity into view 'wst_value_table' and | |
5198 used this instead. | |
5199 | |
5200 2011-04-18 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5201 | |
5202 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
5203 Fetches w/q value tables from the backend. TODO: Move this | |
5204 to the backend and use a view. | |
5205 | |
5206 2011-04-18 Ingo Weinzierl <ingo@intevation.de> | |
5207 | |
5208 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Changed | |
5209 the error key that is thrown if no input data was found so that the key | |
5210 is usable for GWT's i18n mechanism. | |
5211 | |
5212 2011-04-18 Ingo Weinzierl <ingo@intevation.de> | |
5213 | |
5214 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java: | |
5215 The inserted river is validated now (overrides validate() of | |
5216 DefaultState). | |
5217 | |
5218 2011-04-18 Ingo Weinzierl <ingo@intevation.de> | |
5219 | |
5220 * src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java: | |
5221 The inserted calculation method is validated now (overrides validate() | |
5222 of DefaultState). | |
5223 | |
5224 2011-04-18 Ingo Weinzierl <ingo@intevation.de> | |
5225 | |
5226 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
5227 The input data of feed() are validated using the DefaultStates | |
5228 validate() method. | |
5229 | |
5230 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: | |
5231 New method validate() that needs to be overidden by concrete subclasses. | |
5232 It should return true, if the data of the State is fine, otherwise it | |
5233 should raise an exception. | |
5234 | |
5235 NOTE: The exceptions are not translated in the server but in the client! | |
5236 | |
5237 * src/main/java/de/intevation/flys/artifacts/states/RangeState.java: New. | |
5238 This abstract class exists to provide some methods for handling ranges. | |
5239 Currently, there is a method that validates a given range based on | |
5240 min/max values. | |
5241 | |
5242 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java, | |
5243 src/main/java/de/intevation/flys/artifacts/states/WQSelect.java: | |
5244 Implemented input data validation for ranges. | |
5245 | |
5246 NOTE: The input validation of concrete values has not been implemented | |
5247 yet! | |
5248 | |
5249 2011-04-18 Ingo Weinzierl <ingo@intevation.de> | |
5250 | |
5251 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
5252 Removed debug code that has been commited by accident :-/ | |
5253 | |
5254 2011-04-18 Ingo Weinzierl <ingo@intevation.de> | |
5255 | |
5256 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: The | |
5257 getGauge() method returns the first gauge based on the given start and | |
5258 end point of the river. | |
5259 | |
5260 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java: | |
5261 Fixed potential bugs: if no gauge could be determined, the default | |
5262 values for W and Q are the minimum and maximum double values. | |
5263 | |
5264 2011-04-15 Ingo Weinzierl <ingo@intevation.de> | |
5265 | |
5266 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java: Fills | |
5267 the DESCRIBE with default values for W and Q. | |
5268 | |
5269 2011-04-15 Ingo Weinzierl <ingo@intevation.de> | |
5270 | |
5271 * src/main/java/de/intevation/flys/artifacts/model/WstFactory.java: | |
5272 New. Returns Wst object - based on a river. | |
5273 | |
5274 2011-04-15 Ingo Weinzierl <ingo@intevation.de> | |
5275 | |
5276 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Now | |
5277 provides some methods that return some basic objects inserted while | |
5278 parameterization: River, Gauge and so on. | |
5279 | |
5280 2011-04-15 Ingo Weinzierl <ingo@intevation.de> | |
5281 | |
5282 * src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java, | |
5283 src/main/java/de/intevation/flys/artifacts/services/RiverService.java: | |
5284 Bugfix: Repaired broken imports of the SessionHolder. | |
5285 | |
5286 2011-04-15 Ingo Weinzierl <ingo@intevation.de> | |
5287 | |
5288 * src/main/java/de/intevation/flys/artifacts/model/SessionHolder.java: | |
5289 Moved this class to flys-backend. | |
5290 | |
5291 * src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java, | |
5292 src/main/java/de/intevation/flys/artifacts/model/GaugesFactory.java, | |
5293 src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java, | |
5294 src/main/java/de/intevation/flys/artifacts/model/AnnotationsFactory.java, | |
5295 src/main/java/de/intevation/flys/artifacts/context/SessionCallContextListener.java: | |
5296 Adapted imports of the SessionHolder. | |
5297 | |
5298 2011-04-14 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5299 | |
5300 * trunk/src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java, | |
5301 trunk/src/main/java/de/intevation/flys/artifacts/services/RiverService.java: | |
5302 Acquire/release sessions in services to avoid db connection leaks. | |
5303 | |
5304 2011-04-14 Ingo Weinzierl <ingo@intevation.de> | |
5305 | |
5306 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: | |
5307 Changed some method signatures - added a reference to the owner | |
5308 Artifact. | |
5309 | |
5310 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java, | |
5311 src/main/java/de/intevation/flys/artifacts/states/WQSelect.java, | |
5312 src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java: | |
5313 Modified method signatures based on the changes in DefaultState. | |
5314 | |
5315 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java: | |
5316 Added default values to the dynamic part of DESCRIBE. | |
5317 | |
5318 2011-04-14 Ingo Weinzierl <ingo@intevation.de> | |
5319 | |
5320 * src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java: | |
5321 Added a function that returns a River object based on a given river | |
5322 name. | |
5323 | |
5324 2011-04-14 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5325 | |
5326 * src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java, | |
5327 src/main/java/de/intevation/flys/artifacts/model/GaugesFactory.java, | |
5328 src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java, | |
5329 src/main/java/de/intevation/flys/artifacts/model/AnnotationsFactory.java: | |
5330 Static methods are using the SessionHolder, too. | |
5331 | |
5332 2011-04-14 Ingo Weinzierl <ingo@intevation.de> | |
5333 | |
5334 * src/main/java/de/intevation/flys/artifacts/context/SessionCallContextListener.java: | |
5335 Added the setup() method that has been added to the interface | |
5336 description in the last commits. | |
5337 | |
5338 * doc/conf/conf.xml: Registered the SessionCallContextListener as | |
5339 CallContext.Listener. | |
5340 | |
5341 2011-04-14 Ingo Weinzierl <ingo@intevation.de> | |
5342 | |
5343 * src/main/java/de/intevation/flys/artifacts/model/SessionHolder.java: | |
5344 Bugfix: Call correct method to retrieve an instance of | |
5345 SessionFactoryProvider. | |
5346 | |
5347 2011-04-14 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5348 | |
5349 * src/main/java/de/intevation/flys/artifacts/model/SessionHolder.java: | |
5350 New. Contains thread local session holder for hibernate sessions. | |
5351 | |
5352 * src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java: | |
5353 Uses session from SessionHolder. | |
5354 | |
5355 * src/main/java/de/intevation/flys/artifacts/context/SessionCallContextListener.java: | |
5356 Interacts with SessionHolder now. | |
5357 | |
5358 * src/main/java/de/intevation/flys/exports/ChartExportHelper.java: | |
5359 Removed superfluous import. | |
5360 | |
5361 2011-04-14 Ingo Weinzierl <ingo@intevation.de> | |
5362 | |
5363 * src/main/java/de/intevation/flys/artifacts/context/SessionCallContextListener.java: | |
5364 Implementation of a CallContext.Listener to open/close Hibernate | |
5365 Sessions for each request. | |
5366 | |
5367 2011-04-14 Ingo Weinzierl <ingo@intevation.de> | |
5368 | |
5369 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java, | |
5370 src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: | |
5371 Some modifications related to the last commit - modification of the | |
5372 describe() signature of a State. | |
5373 | |
5374 2011-04-14 Ingo Weinzierl <ingo@intevation.de> | |
5375 | |
5376 * src/main/java/de/intevation/flys/artifacts/states/GaugeSelect.java: | |
5377 Removed. We do not need a state to select a gauge - the selection takes | |
5378 place by choosing a start and an end point. | |
5379 | |
5380 2011-04-13 Ingo Weinzierl <ingo@intevation.de> | |
5381 | |
5382 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java: | |
5383 Bugfix: added missing label node to root node and a namespace to the | |
5384 data node. | |
5385 | |
5386 2011-04-12 Ingo Weinzierl <ingo@intevation.de> | |
5387 | |
5388 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
5389 The name of the artifact 'winfo' is written into the DESCRIBE document | |
5390 now. We need this to have a proper way to distinguish between different | |
5391 artifacts in the UI. | |
5392 | |
5393 2011-04-12 Ingo Weinzierl <ingo@intevation.de> | |
5394 | |
5395 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Bugfix: | |
5396 States are filled with data before they describe themself. | |
5397 | |
5398 2011-04-11 Ingo Weinzierl <ingo@intevation.de> | |
5399 | |
5400 * src/main/java/de/intevation/flys/artifacts/model/AnnotationsFactory.java: | |
5401 New. A factory that returns the annotations of a specific river. | |
5402 | |
5403 * src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java: | |
5404 New. This service provides a document that contains information about | |
5405 distances of a river. | |
5406 | |
5407 * doc/conf/conf.xml: Registered the DistanceInfoService. | |
5408 | |
5409 2011-04-06 Ingo Weinzierl <ingo@intevation.de> | |
5410 | |
5411 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
5412 This collection overrides the out() operation now. The incoming request | |
5413 document is read and the related OutGenerator is used to create the | |
5414 output. | |
5415 | |
5416 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Removed | |
5417 the code to create discharge curves. It has moved to the | |
5418 DischargeCurveGenerator which now does this work. | |
5419 | |
5420 2011-04-06 Ingo Weinzierl <ingo@intevation.de> | |
5421 | |
5422 * src/main/java/de/intevation/flys/exports/OutGenerator.java: The | |
5423 generate() method throws an IOException now. | |
5424 | |
5425 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java: | |
5426 New. This OutGenerator creates discharge curves. | |
5427 | |
5428 2011-04-06 Ingo Weinzierl <ingo@intevation.de> | |
5429 | |
5430 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Changed | |
5431 the visibility of the getData() method. It's now public, because the | |
5432 OutGenerator needs an artifact's data. | |
5433 | |
5434 2011-04-03 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5435 | |
5436 * src/**/*.java: Removed trailing whitespace. | |
5437 | |
5438 2011-04-03 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5439 | |
5440 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
5441 Make project compilable again by | |
5442 commenting out a not existing XMLDebug reference. | |
5443 | |
5444 2011-03-31 Ingo Weinzierl <ingo@intevation.de> | |
5445 | |
5446 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java: | |
5447 Added code to parse the configured OutGenerators and to save them (in a | |
5448 map) in the FLYSContext. | |
5449 | |
5450 * src/main/java/de/intevation/flys/artifacts/context/FLYSContext.java: | |
5451 Added a key that is used to save the OutGenerators Map in the context. | |
5452 | |
5453 2011-03-31 Ingo Weinzierl <ingo@intevation.de> | |
5454 | |
5455 * src/main/java/de/intevation/flys/exports/OutGenerator.java: | |
5456 New. This interface is used to generator different types of output. | |
5457 ArtifactCollections will make use of this interface to create a | |
5458 collected output of all its artifacts. | |
5459 | |
5460 2011-03-30 Ingo Weinzierl <ingo@intevation.de> | |
5461 | |
5462 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
5463 Removed the Backend from FLYSArtifactCollection - used ArtifactDatabase | |
5464 operations instead. | |
5465 | |
5466 * TODO: Removed 'remove Backend reference' TODO. | |
5467 | |
5468 2011-03-30 Ingo Weinzierl <ingo@intevation.de> | |
5469 | |
5470 * doc/conf/artifacts/winfo.xml: Enhanced the configuration of the | |
5471 discharge curve output mode. This output now provides three facets - W, | |
5472 Q and the curve itself. | |
5473 | |
5474 2011-03-30 Ingo Weinzierl <ingo@intevation.de> | |
5475 | |
5476 Tagged RELEASE 0.1 | |
5477 | |
5478 2011-03-30 Ingo Weinzierl <ingo@intevation.de> | |
5479 | |
5480 * doc/conf/artifacts/winfo.xml: Renamed an output mode in the WINFO | |
5481 artifact configuration. | |
5482 | |
5483 2011-03-29 Ingo Weinzierl <ingo@intevation.de> | |
5484 | |
5485 * src/main/resources/messages_de_DE.properties, | |
5486 src/main/resources/messages_de.properties: Changed a german string. | |
5487 | |
5488 2011-03-29 Ingo Weinzierl <ingo@intevation.de> | |
5489 | |
5490 * src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java: | |
5491 Modified the available calculation modes and its order in the DESCRIBE | |
5492 document. | |
5493 | |
5494 * src/main/resources/messages.properties, | |
5495 src/main/resources/messages_de_DE.properties, | |
5496 src/main/resources/messages_en.properties, | |
5497 src/main/resources/messages_de.properties: Adapted the names of | |
5498 calculation modes. | |
5499 | |
5500 2011-03-28 Ingo Weinzierl <ingo@intevation.de> | |
5501 | |
5502 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
5503 Added the hash code of an artifact to the artifact part of the | |
5504 collection's DESCRIBE document. | |
5505 | |
5506 2011-03-28 Ingo Weinzierl <ingo@intevation.de> | |
5507 | |
5508 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Changed | |
5509 the background color of discharge curves to white. | |
5510 | |
5511 2011-03-28 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5512 | |
5513 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java: | |
5514 Cache the scale, too. Otherwise two calls to getValues() with | |
5515 different arguments will result in the same output. | |
5516 | |
5517 2011-03-28 Ingo Weinzierl <ingo@intevation.de> | |
5518 | |
5519 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java: | |
5520 Introduced a 'scale' parameter in the getValues() method. | |
5521 | |
5522 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Filled | |
5523 the out() operation with code that draws a discharge table of one or | |
5524 more gauges specified by the given range in entered in a previous state. | |
5525 | |
5526 2011-03-28 Ingo Weinzierl <ingo@intevation.de> | |
5527 | |
5528 * src/main/java/de/intevation/flys/exports/ChartExportHelper.java: | |
5529 New. A helper class to exports charts. | |
5530 | |
5531 * pom.xml: Added dependencies to iText, Batik and JFreeChart. | |
5532 | |
5533 2011-03-28 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5534 | |
5535 * src/main/java/de/intevation/flys/importer/PegelGltParser.java: | |
5536 Fixed swap of operands. | |
5537 | |
5538 2011-03-28 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5539 | |
5540 * src/main/java/de/intevation/flys/artifacts/model/GaugesFactory.java: | |
5541 New. Load gauges for a river and filter them for given | |
5542 ranges. | |
5543 | |
5544 2011-03-25 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5545 | |
5546 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java: | |
5547 Store data in a double [][] instead of interleaved double [] | |
5548 to be compatible with org.jfree.data.xy.DefaultXYDataset. | |
5549 | |
5550 2011-03-25 Ingo Weinzierl <ingo@intevation.de> | |
5551 | |
5552 * TODO: Removed 'i18n' and 'step-back' TODOs and added an issue to remove | |
5553 the Backend reference from FLYSArtifactCollection. | |
5554 | |
5555 2011-03-25 Ingo Weinzierl <ingo@intevation.de> | |
5556 | |
5557 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
5558 Added missing artifact namespace of an attribute in the DESCRIBE | |
5559 document. | |
5560 | |
5561 2011-03-24 Ingo Weinzierl <ingo@intevation.de> | |
5562 | |
5563 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
5564 New. This ArtifactCollection overrides the DefaultArtifactCollection to | |
5565 implement FLYS specific describe() and out() operations. | |
5566 | |
5567 * doc/conf/conf.xml: Use the FLYSArtifactCollection instead of the | |
5568 DefaultArtifactCollection for this application. | |
5569 | |
5570 2011-03-24 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5571 | |
5572 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java: | |
5573 New. Fetches values of discharge tables in form of packed | |
5574 w/q double arrays for given gauges. | |
5575 | |
5576 * src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java: | |
5577 Removed needless import. | |
5578 | |
5579 2011-03-24 Ingo Weinzierl <ingo@intevation.de> | |
5580 | |
5581 * src/main/resources/messages_de_DE.properties: Added a german resource | |
5582 bundle to avoid exceptions in the flys artifacts. Sometimes, the | |
5583 Resources class is not able to find a 'de_DE' bundle and throws an | |
5584 exception. This is really strange, because it should use the 'de' bundle | |
5585 in that case, but it doesn't. | |
5586 | |
5587 2011-03-23 Ingo Weinzierl <ingo@intevation.de> | |
5588 | |
5589 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Added | |
5590 some code to append the output modes of previous states to the DESCRIBE | |
5591 document. | |
5592 | |
5593 TODO: Determine if the current state is already filled with data and | |
5594 append its output modes as well! | |
5595 | |
5596 2011-03-22 Ingo Weinzierl <ingo@intevation.de> | |
5597 | |
5598 * doc/conf/artifacts/winfo.xml: Enhanced the location_distance state with | |
5599 an output mode 'discharge_table'. | |
5600 | |
5601 2011-03-21 Ingo Weinzierl <ingo@intevation.de> | |
5602 | |
5603 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: | |
5604 Write human readable strings as label attribute into the DESCRIBE | |
5605 output. Those labels are used to be displayed in the GUI. | |
5606 | |
5607 2011-03-21 Ingo Weinzierl <ingo@intevation.de> | |
5608 | |
5609 * src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java: | |
5610 Added some further calculation types. | |
5611 | |
5612 * src/main/resources/messages.properties, | |
5613 src/main/resources/messages_en.properties, | |
5614 src/main/resources/messages_de.properties: Added i18n strings for the | |
5615 calculation types | |
5616 | |
5617 2011-03-21 Ingo Weinzierl <ingo@intevation.de> | |
5618 | |
5619 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
5620 Implemented the step-back part of the advance() operation. | |
5621 | |
5622 2011-03-21 Ingo Weinzierl <ingo@intevation.de> | |
5623 | |
5624 * src/main/resources/messages_de.properties: Fixed a german umlaut. | |
5625 | |
5626 2011-03-18 Ingo Weinzierl <ingo@intevation.de> | |
5627 | |
5628 * doc/conf/artifacts/winfo.xml: Added new states for entering a | |
5629 location/distance and w/q. | |
5630 | |
5631 * src/main/resources/messages.properties, | |
5632 src/main/resources/messages_en.properties, | |
5633 src/main/resources/messages_de.properties: New string for the | |
5634 location/distance and w/q input states. | |
5635 | |
5636 2011-03-18 Ingo Weinzierl <ingo@intevation.de> | |
5637 | |
5638 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java: | |
5639 New. A state for the W/Q input of the WINFO parameterization. | |
5640 | |
5641 2011-03-18 Ingo Weinzierl <ingo@intevation.de> | |
5642 | |
5643 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: | |
5644 Append an attribute 'uiprovider' to the dynamic UI node. | |
5645 | |
5646 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java: | |
5647 New. A state for the location/distance selection of the WINFO | |
5648 parameterization. | |
5649 | |
5650 2011-03-17 Ingo Weinzierl <ingo@intevation.de> | |
5651 | |
5652 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: | |
5653 Added a new method getUIProvider() that might be overriden by concreted | |
5654 subclasses that should be rendered with a specific UIProvider. | |
5655 | |
5656 2011-03-17 Ingo Weinzierl <ingo@intevation.de> | |
5657 | |
5658 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
5659 The static UI part is created by the previous states now. This makes it | |
5660 possible to group the data objects (which is necessary to group the | |
5661 objects in the ui). | |
5662 | |
5663 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: | |
5664 Added a describeStatic() method that creates a node that contains the | |
5665 data of that state. | |
5666 | |
5667 2011-03-17 Ingo Weinzierl <ingo@intevation.de> | |
5668 | |
5669 * src/main/java/de/intevation/flys/artifacts/services/RiverService.java: | |
5670 Removed TODO: the document contains the rivers provided by the backend | |
5671 now. | |
5672 | |
5673 2011-03-17 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5674 | |
5675 * pom.xml: Added dependency to flys backend. | |
5676 | |
5677 * src/main/java/de/intevation/flys/artifacts/model/River.java: | |
5678 Removed. We are using the backend model now. | |
5679 | |
5680 * src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java: | |
5681 Fetches the rivers from the backend. | |
5682 | |
5683 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java: | |
5684 Import fixes. | |
5685 | |
5686 2011-03-15 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5687 | |
5688 * doc/conf/conf.xml: Added section for database backend configuration. | |
5689 | |
5690 2011-03-15 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5691 | |
5692 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java: | |
5693 Fixed build error coming from different import of XMLUtils. | |
5694 | |
5695 2011-03-14 Ingo Weinzierl <ingo@intevation.de> | |
5696 | |
5697 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: | |
5698 Appended the missing label node that contains the human readable name of | |
5699 the data item. | |
5700 | |
5701 2011-03-14 Ingo Weinzierl <ingo@intevation.de> | |
5702 | |
5703 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java, | |
5704 src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: | |
5705 I18N of strings for the DESCRIBE document. | |
5706 | |
5707 * src/main/resources/messages.properties, | |
5708 src/main/resources/messages_en.properties, | |
5709 src/main/resources/messages_de.properties: I18N strings for the | |
5710 calculcation mode state. | |
5711 | |
5712 2011-03-14 Ingo Weinzierl <ingo@intevation.de> | |
5713 | |
5714 * doc/conf/artifacts/winfo.xml: Modified the winfo states. | |
5715 | |
5716 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Adapted | |
5717 the artifact regarding the changes of the last commit. The states | |
5718 describe() method creates the dynamic UI node - the artifact needs to | |
5719 apply this node. | |
5720 | |
5721 * src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java: | |
5722 New. The state for choosing the calculation mode. | |
5723 | |
5724 * src/main/resources/messages.properties, | |
5725 src/main/resources/messages_en.properties, | |
5726 src/main/resources/messages_de.properties: Added i18n strings for the | |
5727 calculation mode state. | |
5728 | |
5729 2011-03-14 Ingo Weinzierl <ingo@intevation.de> | |
5730 | |
5731 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: | |
5732 New. This is the base state for the FLYS application. It provides a | |
5733 method that creates the dynamic ui node for the DESCRIBE. | |
5734 | |
5735 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java, | |
5736 src/main/java/de/intevation/flys/artifacts/states/GaugeSelect.java: Both | |
5737 classes extend the abstract base class DefaultState. | |
5738 | |
5739 2011-03-14 Ingo Weinzierl <ingo@intevation.de> | |
5740 | |
5741 * src/main/java/de/intevation/flys/artifacts/resources/Resources.java: | |
5742 New. This class retrieves the i18n strings from a ResourceBundle. | |
5743 | |
5744 * src/main/resources/messages.properties, | |
5745 src/main/resources/messages_en.properties, | |
5746 src/main/resources/messages_de.properties: Resource files for german and | |
5747 english translation. | |
5748 | |
5749 2011-03-10 Ingo Weinzierl <ingo@intevation.de> | |
5750 | |
5751 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Appended | |
5752 the data that have been inserted in former states into the static node | |
5753 of the DESCRIBE. | |
5754 | |
5755 2011-03-10 Ingo Weinzierl <ingo@intevation.de> | |
5756 | |
5757 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: The | |
5758 operations feed() and advance() return the description of the artifact | |
5759 using the describe() operation. This avoids additional server round trips | |
5760 in the client - the clients gets to know about the new state of the | |
5761 artifact immediately. | |
5762 | |
5763 2011-03-10 Ingo Weinzierl <ingo@intevation.de> | |
5764 | |
5765 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
5766 Implemented a part (step forward) of the advance operation. | |
5767 | |
5768 * TODO: Implement Step-Back in advance operation. | |
5769 | |
5770 2011-03-09 Ingo Weinzierl <ingo@intevation.de> | |
5771 | |
5772 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
5773 Implemented the abstract method getName(). It returns the constant | |
5774 'winfo' string. | |
5775 | |
5776 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
5777 Implemented the feed action. The data of an incoming feed() operation is | |
5778 stored in StateData objects that are saved in a map in the artifact. | |
5779 | |
5780 NOTE: There is no input validation and no i18n of error messages (see | |
5781 TODO). | |
5782 | |
5783 2011-03-09 Ingo Weinzierl <ingo@intevation.de> | |
5784 | |
5785 * TODO: This file contains some open points that need to be done. | |
5786 | |
5787 2011-03-09 Ingo Weinzierl <ingo@intevation.de> | |
5788 | |
5789 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: New. This | |
5790 artifact serves as the default artifact for the FLYS application. | |
5791 | |
5792 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: This | |
5793 artifact now inherits from FLYSArtifact. Furthermore, there is one big | |
5794 change: we don't store the State objects itself in the artifact, but | |
5795 just the identifier of those. This makes the artifact smaller and more | |
5796 compatible agains previous versions of the software. | |
5797 | |
5798 2011-03-08 Ingo Weinzierl <ingo@intevation.de> | |
5799 | |
5800 * src/main/java/de/intevation/flys/artifacts/services/RiverService.java: | |
5801 New. This service will retrieve a list of provided rivers. | |
5802 | |
5803 * doc/conf/conf.xml: Added a configuration for the RiverService. | |
5804 | |
5805 2011-03-07 Ingo Weinzierl <ingo@intevation.de> | |
5806 | |
5807 * doc/conf/conf.xml: Added a section user-factory and collection-factory in | |
5808 the factories part of the configuration. | |
5809 | |
5810 2011-03-01 Ingo Weinzierl <ingo@intevation.de> | |
5811 | |
5812 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java: | |
5813 Replaced the 'special' attribute from DESCRIBE with a 'uiprovider' | |
5814 attribute. | |
5815 | |
5816 2011-02-08 Ingo Weinzierl <ingo@intevation.de> | |
5817 | |
5818 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: The | |
5819 RiverSelect state is called to create the UI part of the describe | |
5820 document. | |
5821 | |
5822 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java: | |
5823 Implemented the dynamic UI part of describe(). The static part is not | |
5824 inserted into the describe document at the moment. We need a reference to | |
5825 the previous states for this. | |
5826 | |
5827 2011-02-08 Ingo Weinzierl <ingo@intevation.de> | |
5828 | |
5829 * src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java, | |
5830 src/main/java/de/intevation/flys/artifacts/model/River.java: New. A model | |
5831 class that represents a river and its factory to create concrete river | |
5832 instances. | |
5833 NOTE: Currently, this is just a mockup. The factory just returns two | |
5834 static rivers "Mosel" and "Saar" without a connection to a backend. | |
5835 | |
5836 2011-02-07 Ingo Weinzierl <ingo@intevation.de> | |
5837 | |
5838 * src/main/java/de/intevation/flys/artifacts/states/StateFactory.java: The | |
5839 input data of a state is initialized with empty StateData objects after | |
5840 the State has been created. | |
5841 | |
5842 * doc/conf/artifacts/winfo.xml: Renamed the input data nodes of the states | |
5843 which now fits better to the class name of the implementation. | |
5844 | |
5845 2011-02-07 Ingo Weinzierl <ingo@intevation.de> | |
5846 | |
5847 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: The | |
5848 describe document returned by this artifact now contains the current state | |
5849 and the reachable states. | |
5850 | |
5851 2011-02-07 Ingo Weinzierl <ingo@intevation.de> | |
5852 | |
5853 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java: | |
5854 The transitions are put into the TransitionEngine with the ID of the state | |
5855 - not longer with the artifact name. On this way, we are able to fetch | |
5856 just the transitions for a specific state, instead of all the transitions | |
5857 of an artifact. | |
5858 | |
5859 2011-02-04 Ingo Weinzierl <ingo@intevation.de> | |
5860 | |
5861 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Describe() | |
5862 returns the artifact's uuid and hash value. The whole implementation of | |
5863 describe() is still outstanding. | |
5864 | |
5865 2011-02-04 Ingo Weinzierl <ingo@intevation.de> | |
5866 | |
5867 * doc/conf/artifacts/winfo.xml: Removed useless config stuff. | |
5868 | |
5869 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Removed | |
5870 useless methods, and improved the init process - the first state is set as | |
5871 the current state for this artifact. | |
5872 | |
5873 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java, | |
5874 src/main/java/de/intevation/flys/artifacts/states/GaugeSelect.java: New. | |
5875 The states are used in the first two steps of the WINFOArtifact. | |
5876 Currently, they just implement stubs of the necessary methods setup() and | |
5877 describe(). | |
5878 | |
5879 2011-02-04 Ingo Weinzierl <ingo@intevation.de> | |
5880 | |
5881 * src/main/java/de/intevation/flys/artifacts/states/State.java, | |
5882 src/main/java/de/intevation/flys/artifacts/transitions/TransitionEngine.java, | |
5883 src/main/java/de/intevation/flys/artifacts/transitions/Transition.java: | |
5884 Removed. These classes are placed in the artifact-database now. | |
5885 | |
5886 * src/main/java/de/intevation/flys/artifacts/transitions/DefaultTransition.java, | |
5887 src/main/java/de/intevation/flys/artifacts/transitions/TransitionFactory.java: | |
5888 Adapted imports of Transition. | |
5889 | |
5890 * src/main/java/de/intevation/flys/artifacts/states/StateFactory.java: New. | |
5891 This factory should be used to create concrete State objects. | |
5892 | |
5893 * src/main/java/de/intevation/flys/artifacts/context/FLYSContext.java: Added | |
5894 a constant key to store the StateEngine in the context. | |
5895 | |
5896 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java: | |
5897 New method that initializes the states at application start. | |
5898 | |
5899 2011-02-03 Ingo Weinzierl <ingo@intevation.de> | |
5900 | |
5901 * src/main/java/de/intevation/flys/artifacts/states/State.java: New. The | |
5902 interface description of a state. | |
5903 | |
5904 * src/main/java/de/intevation/flys/artifacts/transitions/Transition.java, | |
5905 src/main/java/de/intevation/flys/artifacts/transitions/DefaultTransition.java: | |
5906 New. The interface description and a default implementation of a | |
5907 transition. | |
5908 | |
5909 * src/main/java/de/intevation/flys/artifacts/transitions/TransitionEngine.java: | |
5910 New. The TransitionEngine stores all transitions for each artifact and | |
5911 should be used to determine, if an artifact can advance from one state to | |
5912 another. | |
5913 | |
5914 * src/main/java/de/intevation/flys/artifacts/transitions/TransitionFactory.java: | |
5915 New. Transitions should be created by using this class. | |
5916 | |
5917 * src/main/java/de/intevation/flys/artifacts/context/FLYSContext.java: New. | |
5918 The Flys context. It currently defines keys to store important components | |
5919 in the context. | |
5920 | |
5921 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java: | |
5922 New. The context factory initializes the basic components of the | |
5923 application. Currently, the TransitionEngine is created and all artifacts | |
5924 with its transitions are read from the global configuration and stored in | |
5925 the FLYSContext. | |
5926 | |
5927 * pom.xml: Added a dependency to the 'artifacts-common' package. | |
5928 | |
5929 * doc/conf/artifacts/winfo.xml: Corrected the classname of the | |
5930 DefaultTransition. | |
5931 | |
5932 * doc/conf/conf.xml: Added FLYSContextFactory as context-factory. | |
5933 | |
5934 2011-02-02 Ingo Weinzierl <ingo@intevation.de> | |
5935 | |
5936 * doc/conf/conf.xml: An initial configuration file for the FLYS artifact | |
5937 server. | |
5938 | |
5939 * doc/conf/artifacts/winfo.xml: An initial transition configuration of an | |
5940 WINFO artifact. | |
5941 | |
5942 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: A stub of | |
5943 an artifact for a WINFO parameterization. | |
5944 | |
5945 * pom.xml: Set the source code version to 1.5. | |
5946 | |
5947 2011-02-01 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5948 | |
5949 * src/**, pom.xml: Added initial maven project. | |
5950 * ChangeLog: new. |