Mercurial > dive4elements > river
comparison flys-artifacts/ChangeLog @ 3814:8083f6384023
merged flys-artifacts/pre2.6-2012-01-04
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Fri, 28 Sep 2012 12:14:56 +0200 |
parents | fd95bfbb2ec2 |
children | 4cdd9c4896f6 |
comparison
equal
deleted
inserted
replaced
1491:2a00f4849738 | 3814:8083f6384023 |
---|---|
1 2011-01-02 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
2 | |
3 Allow styling of outline of areas. | |
4 | |
5 * src/main/java/de/intevation/flys/jfree/StableXYDifferenceRenderer.java: | |
6 Allow styling of outline of areas. | |
7 | |
8 * src/main/java/de/intevation/flys/exports/StyledAreaSeriesCollection.java: | |
9 Parse outline style for areas, apply it to renderer. | |
10 | |
11 2012-01-03 Ingo Weinzierl <ingo@intevation.de> | |
12 | |
13 flys/issue104 (W-INFO: Wasserspiegellagenberechnung / Strecke) | |
14 | |
15 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java: Call | |
16 the new flys-backend method Wst.determineMinMaxQFree() to determine the | |
17 min/max Qs at a given kilometer. | |
18 | |
19 2011-01-02 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
20 | |
21 * doc/conf/themes.xml: Reflect name chnage of longitudinal sections | |
22 area artifacts and include ColorLine style for area styles. | |
23 | |
24 2012-01-02 Ingo Weinzierl <ingo@intevation.de> | |
25 | |
26 flys/issue370 (WINFO: Berechnungsausgabe W/Pegel [cm] fehlt bei Wasserspiegellage und W am Pegel) | |
27 | |
28 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: New method that | |
29 extracts the double value of a WQ object's name. | |
30 | |
31 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java: Adapted | |
32 the header of CSV exports and the content of the "W at gauge" column. | |
33 | |
34 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionExporter.java: | |
35 Adapted method signatures that have been changed in WaterlevelExporter. | |
36 | |
37 2012-01-02 Ingo Weinzierl <ingo@intevation.de> | |
38 | |
39 * src/main/resources/messages.properties, | |
40 src/main/resources/messages_de_DE.properties, | |
41 src/main/resources/messages_en.properties, | |
42 src/main/resources/messages_de.properties: Added strings used in the CSV | |
43 export. | |
44 | |
45 2012-01-02 Ingo Weinzierl <ingo@intevation.de> | |
46 | |
47 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java: Check | |
48 if the location of a CSV row is in range of the reference gauge. Write | |
49 "outside reference gauge" into CSV in such cases. | |
50 | |
51 2012-01-02 Ingo Weinzierl <ingo@intevation.de> | |
52 | |
53 PART II of flys/issue125 (W-INFO: Wasserspiegellagenberechnung / tabellarische Berechnungsausgabe) | |
54 | |
55 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java: Add the | |
56 named main value of a Q and the name of the gauge used for the calculation | |
57 if the WQ mode is "W at gauge" or "Q at gauge". | |
58 | |
59 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionExporter.java: | |
60 Adapted the method signatures that have been modified in | |
61 WaterlevelExporter. | |
62 | |
63 2012-01-02 Ingo Weinzierl <ingo@intevation.de> | |
64 | |
65 * src/main/java/de/intevation/flys/exports/StyledAreaSeriesCollection.java, | |
66 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java, | |
67 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java, | |
68 src/main/java/de/intevation/flys/exports/AxisSection.java, | |
69 src/main/java/de/intevation/flys/exports/ExportSection.java, | |
70 src/main/java/de/intevation/flys/exports/LegendSection.java, | |
71 src/main/java/de/intevation/flys/exports/ChartSection.java: Removed | |
72 unused imports. | |
73 | |
74 2012-01-02 Ingo Weinzierl <ingo@intevation.de> | |
75 | |
76 PART I of flys/issue125 (W-INFO: Wasserspiegellagenberechnung / tabellarische Berechnungsausgabe) | |
77 | |
78 * doc/conf/cache.xml: Registered a new Cache for the LocationProvider. | |
79 | |
80 * src/main/java/de/intevation/flys/artifacts/model/LocationProvider.java: | |
81 New. This class is able to return the description of a location based on a | |
82 river and kilometer parameter. The LocationProvider stores single | |
83 locations into a Cache if one is configured for this class. | |
84 | |
85 * src/main/java/de/intevation/flys/artifacts/model/AnnotationsFactory.java: | |
86 Added a method that returns a single Annotation for a specific kilometer and | |
87 river. | |
88 | |
89 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: Added a method | |
90 getLocationDescription() that might be used to determine the description | |
91 of a specified kilometer for a given river. | |
92 | |
93 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java: Make use | |
94 of FLYSUtils.getLocationDescription() to add a new column that contains | |
95 the location description. | |
96 | |
97 2011-12-29 Ingo Weinzierl <ingo@intevation.de> | |
98 | |
99 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java: Write | |
100 min/max values for free Qs into Artifact's DESCRIBE document. | |
101 | |
102 2011-12-28 Ingo Weinzierl <ingo@intevation.de> | |
103 | |
104 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java: Fixed | |
105 broken order to determine the step width of Qs and Ws. | |
106 | |
107 2011-12-28 Ingo Weinzierl <ingo@intevation.de> | |
108 | |
109 flys/issue104 (W-INFO: Wasserspiegellagenberechnung / Strecke) | |
110 | |
111 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java: | |
112 Validate user defined free Q values. | |
113 | |
114 2011-12-28 Ingo Weinzierl <ingo@intevation.de> | |
115 | |
116 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java: | |
117 Compute better step width based on a maximal number of steps = 30. | |
118 Results with digits are rounded up. E.g.: | |
119 Q range = 9.6 - 1750 | |
120 Step width = 58.01 | |
121 Rounded result = 60 | |
122 | |
123 2011-12-27 Ingo Weinzierl <ingo@intevation.de> | |
124 | |
125 * src/main/java/de/intevation/flys/exports/AxisSection.java, | |
126 src/main/java/de/intevation/flys/exports/LegendSection.java, | |
127 src/main/java/de/intevation/flys/exports/ChartSection.java: Subclasses | |
128 TypeSection to be able to use convinience methods for string, integer, | |
129 double and boolean values. | |
130 | |
131 2011-12-27 Ingo Weinzierl <ingo@intevation.de> | |
132 | |
133 * src/main/java/de/intevation/flys/exports/ChartGenerator.java: The | |
134 getSize() method now returns null if no width and height is specified in | |
135 the request document or if width/height <= 0. It no longer returns the | |
136 result of getDefaultSize(). | |
137 | |
138 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Set the | |
139 size of a chart export to the size specified in the ChartSettings if | |
140 there are no valid values in the request document. | |
141 | |
142 * src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java: Set the | |
143 chart size to ChartGenerator.getDefaultSize() if no valid values are | |
144 returned by ChartGenerator.getSize(). This has been done autoamtically | |
145 before. | |
146 | |
147 2011-12-27 Ingo Weinzierl <ingo@intevation.de> | |
148 | |
149 * src/main/java/de/intevation/flys/exports/TypeSection.java: New. This | |
150 Section defines some convinience methods to add/set string, integer, | |
151 double and boolean values. | |
152 | |
153 * src/main/java/de/intevation/flys/exports/ExportSection.java: New. | |
154 Subclasses TypeSection. The ExportSection currently offers attributes | |
155 'width' and 'height'. | |
156 | |
157 * src/main/java/de/intevation/flys/exports/ChartSettings.java: Added | |
158 getter/setter methods to support an ExportSection. | |
159 | |
160 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Create an | |
161 ExportSection while initial ChartSettings creation. | |
162 | |
163 2011-12-27 Ingo Weinzierl <ingo@intevation.de> | |
164 | |
165 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Added and | |
166 make use of a new method createLegendLabelFont() to create unified Fonts for | |
167 LegendItems. This method considers the user defined size for LegendItems. | |
168 | |
169 2011-12-27 Ingo Weinzierl <ingo@intevation.de> | |
170 | |
171 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: | |
172 Implemented adjustAxes(). This method now sets the label Font of the X | |
173 axis. Its size is determined by getXAxisLabelFontSize(). | |
174 | |
175 2011-12-27 Ingo Weinzierl <ingo@intevation.de> | |
176 | |
177 * src/main/java/de/intevation/flys/exports/AxisSection.java: Added method | |
178 getFontSize() to retrieve the font size for an axis. | |
179 | |
180 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
181 Modified createYAxis(int): call super.createYAxis(int) and adjust | |
182 necessary settings - no Axis creation takes place here. | |
183 | |
184 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Added | |
185 getXAxisLabelFontSize() and getYAxisLabelFontSize(int) to retrieve the | |
186 user defined font size for an axis. The getYAxisLabelFontSize() is used in | |
187 createYAxis(int) to set the font size for axes labels. | |
188 | |
189 2011-12-27 Ingo Weinzierl <ingo@intevation.de> | |
190 | |
191 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java: | |
192 Override getYAxisWalker(). | |
193 | |
194 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Create new | |
195 instances of IdentifiableNumberAxis in createYAxis(int) default | |
196 implementation. | |
197 | |
198 2011-12-27 Ingo Weinzierl <ingo@intevation.de> | |
199 | |
200 * src/main/java/de/intevation/flys/exports/AxisSection.java: Added | |
201 getLabel() to retrieve the axis label. | |
202 | |
203 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java, | |
204 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java, | |
205 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java, | |
206 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java, | |
207 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java: | |
208 Override getDefaultXAxisLabel() and getDefaultYAxisLabel() defined in | |
209 XYChartGenerator. | |
210 | |
211 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Implement | |
212 getXAxisLabel() and getYAxisLabel(int). Both methods search for an axis | |
213 label defined in the ChartSettings first. If no label is specified or if | |
214 no ChartSettings is set, getDefaultXAxisLabel() or | |
215 getDefaultYAxisLabel(int) is called to retrieve the initial/default axis | |
216 label. | |
217 | |
218 2011-12-27 Ingo Weinzierl <ingo@intevation.de> | |
219 | |
220 * src/main/java/de/intevation/flys/exports/ChartSettings.java: Modified the | |
221 signature of addAxisSection(). This method now accepts AxisSections only. | |
222 In addition, there is a new method getAxisSection(String) that returns an | |
223 AxisSection specified by its identifier. | |
224 | |
225 * src/main/java/de/intevation/flys/exports/AxisSection.java: Added new | |
226 methods getIdentifier(), isFixed(), getUpperRange() and getLowerRange() to | |
227 retrieve the attributes supported by this Section. | |
228 | |
229 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Make use | |
230 of axes ranges specified in ChartSettings if an axis is fixed. | |
231 | |
232 2011-12-23 Ingo Weinzierl <ingo@intevation.de> | |
233 | |
234 * src/main/java/de/intevation/flys/exports/IdentifiableNumberAxis.java: New. | |
235 Subclasses JFreeChart's NumberAxis and offers a getId() method which | |
236 returns an identifiable key. | |
237 | |
238 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Implements | |
239 a createNumberAxis() method that should be used by all subclasses to | |
240 create new axes. This method returns an instance of IdentifiableNumberAxis | |
241 which is required for zooming. | |
242 | |
243 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java, | |
244 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java, | |
245 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java: | |
246 Create new NumberAxis instances by using XYChartGenerator.createNumberAxis(). | |
247 | |
248 2011-12-23 Ingo Weinzierl <ingo@intevation.de> | |
249 | |
250 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: | |
251 Implemented the methods getChartTitle() and getChartSubtitle(). Both | |
252 methods try to get the required information from ChartSettings. If no | |
253 ChartSettings is set for this OutGenerator, these methods will call | |
254 getDefaultChartTitle() and getDefaultChartSubtitle(). | |
255 | |
256 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java, | |
257 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java, | |
258 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java, | |
259 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java, | |
260 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java, | |
261 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java: | |
262 Renamed getChartTitle() and getChartSubtitle() to | |
263 getDefaultChartTitle() and getDefaultChartSubtitle(). In addition, the | |
264 methods addSubtitles() became more robust - these OutGenerators add | |
265 subtitles only if the subtitle is not empty. | |
266 | |
267 2011-12-23 Ingo Weinzierl <ingo@intevation.de> | |
268 | |
269 * src/main/java/de/intevation/flys/exports/OutGenerator.java: Added a | |
270 setSettings(Settings) method. | |
271 | |
272 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
273 Call OutGenerator.setSettings() before calling doOut() for each Facet. | |
274 | |
275 * src/main/java/de/intevation/flys/exports/ChartGenerator.java: Implemented | |
276 setSettings() and added convinience methods to access chart specific | |
277 settings. | |
278 | |
279 * src/main/java/de/intevation/flys/exports/MapGenerator.java, | |
280 src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java, | |
281 src/main/java/de/intevation/flys/exports/AbstractExporter.java, | |
282 src/main/java/de/intevation/flys/exports/ATExporter.java, | |
283 src/main/java/de/intevation/flys/exports/ReportGenerator.java: Implemented | |
284 setSettings(). | |
285 | |
286 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java, | |
287 src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Make use | |
288 of the attributes specified in the Settings: the title, subtitle, | |
289 displayGrid and displayLegend settings are functional now. | |
290 | |
291 2011-12-23 Ingo Weinzierl <ingo@intevation.de> | |
292 | |
293 * src/main/java/de/intevation/flys/exports/ChartSettings.java, | |
294 src/main/java/de/intevation/flys/exports/LegendSection.java, | |
295 src/main/java/de/intevation/flys/exports/ChartSection.java: Use more | |
296 concrete classes than Settings and Section in these classes to avoid a lot | |
297 of castings. | |
298 | |
299 2011-12-22 Ingo Weinzierl <ingo@intevation.de> | |
300 | |
301 flys/issue242 (W-INFO: Fehlende Header in Datenexporten) | |
302 | |
303 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: Added functions | |
304 getQs(), getWs(), getGauge(), getGaugename() and getRivername() that all | |
305 take a parameter FLYSArtifact. | |
306 | |
307 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Moved the | |
308 implementation of getGauge() to FLYSUtils. The getGauge() in this class | |
309 just calls and returns FLYSUtils.getGauge(). | |
310 | |
311 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java: Write a | |
312 header into a CSV export containing meta information about this export. | |
313 | |
314 * src/main/resources/messages.properties, | |
315 src/main/resources/messages_de_DE.properties, | |
316 src/main/resources/messages_en.properties, | |
317 src/main/resources/messages_de.properties: Added strings used in the CSV | |
318 export as header. | |
319 | |
320 2011-12-22 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
321 | |
322 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java: | |
323 (getKm): Removed, not called anymore. | |
324 | |
325 2011-12-22 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
326 | |
327 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java: | |
328 Include km of cross-section-master in diagrams subtitle (fetched | |
329 from 'blackboard'. | |
330 | |
331 2011-12-22 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
332 | |
333 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: | |
334 Cosmetics, docs. | |
335 | |
336 2011-12-22 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
337 | |
338 * src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java | |
339 (getInitialFacetActivity): Only newest CrossSection is initially | |
340 active. | |
341 | |
342 2011-12-22 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
343 | |
344 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionFactory.java | |
345 (isNewest): New, query whether a CrossSection is the newest for its | |
346 river, doc. | |
347 | |
348 2011-12-21 Ingo Weinzierl <ingo@intevation.de> | |
349 | |
350 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Added a | |
351 convinience method to retrieve the value of an data object stored at | |
352 FLYSArtifact as Boolean value. | |
353 | |
354 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: Added a method that | |
355 returns the named value of a given double value. This method returns only | |
356 the named value, if the WQ mode is "Q at gauge" and if the value fits to a | |
357 named value. In addition to this method, there is a new method to retrieve | |
358 the selected WQ mode as 'WQ_MODE' enum. | |
359 | |
360 * src/main/java/de/intevation/flys/exports/AbstractExporter.java: | |
361 Removed prepareData() and its call. The data preparation had a bad side | |
362 effect: the modifications are "persisted" into cache, which has again bad | |
363 side effects. | |
364 | |
365 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java: Removed | |
366 prepareData(). The label creation for columns in the WST export will now | |
367 take place in addWSTColumn(). With help of the master Artifact (I forgot | |
368 this Artifact in my last commit) we are able to replace Q values with | |
369 their named main value. | |
370 | |
371 2011-12-21 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
372 | |
373 * src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java: | |
374 Cover 'locations' case for initial km of cross section artifacts. | |
375 | |
376 2011-12-21 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
377 | |
378 * src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java: | |
379 (initialize): Eat ld_from from master artifact. | |
380 (setup): Set cross_section.km to either masters km or the lowest | |
381 defined cross-section line, whatever is bigger. | |
382 | |
383 2011-12-21 Ingo Weinzierl <ingo@intevation.de> | |
384 | |
385 flys/issue252 (W-INFO: Wasserspiegellagenberechnung / Mitführung der Jährlichkeiten in der Diagramm-/Ergbnisausgabe) | |
386 | |
387 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: Added a function | |
388 stripNamedMainValue(). The result of this function is a named main value's | |
389 base name without declaration of a year. | |
390 | |
391 * src/main/java/de/intevation/flys/exports/AbstractExporter.java: Added a | |
392 method pepareData() that is called in doOut() before the data supported by | |
393 the current Facet is added using addData(). | |
394 | |
395 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java: Override | |
396 the prepareData() method to reset the name of WQKms objects. The Qs in a | |
397 waterlevel export should be the Q value or the named main value if the | |
398 value fits to a named main value. | |
399 | |
400 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
401 | |
402 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: | |
403 Survive cases where the first dataset has an area-renderer assigned. | |
404 | |
405 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
406 | |
407 * src/main/java/de/intevation/flys/artifacts/AreaArtifact.java: | |
408 Store additional parameter (whether or not to fill everything in | |
409 between two curves.) | |
410 | |
411 * src/main/java/de/intevation/flys/artifacts/model/AreaFacet.java: | |
412 Deliver additional info from artifact. | |
413 | |
414 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java: | |
415 Evaluate new parameter. | |
416 | |
417 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
418 | |
419 * doc/conf/themes.xml: Add transparency setting to area theme style. | |
420 | |
421 * src/main/java/de/intevation/flys/utils/ThemeUtil.java: Helper to | |
422 access transparency setting in theme. | |
423 | |
424 * src/main/java/de/intevation/flys/exports/StyledAreaSeriesCollection.java: | |
425 Respect transparency setting. | |
426 | |
427 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
428 | |
429 * src/main/java/de/intevation/flys/artifacts/model/WKmsFacet.java: | |
430 Subclass BlackboardDataFacet to provide data for area calculation. | |
431 | |
432 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
433 Cast data to WKms instead of WQKms. | |
434 | |
435 2011-12-20 Ingo Weinzierl <ingo@intevation.de> | |
436 | |
437 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java: | |
438 Use a ';' as seperator between Qs and Ws. | |
439 | |
440 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
441 | |
442 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java | |
443 (doOut, doArea): Added handling for areafacets. Code yet mostly | |
444 copied from CrossSectionGenerator. | |
445 | |
446 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
447 | |
448 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java: | |
449 Refactoring, subclass BlackboardDataFacet, remove duplicate code. | |
450 | |
451 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
452 | |
453 Cosmetics. | |
454 | |
455 * doc/conf/artifacts/winfo.xml, | |
456 src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: | |
457 Renamed facet for consistency reasons. | |
458 | |
459 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
460 | |
461 Make Waterlevelfacet deliver data via blackbord. | |
462 | |
463 * src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java: | |
464 Subclass BlackboardDataFacet. | |
465 | |
466 2011-12-20 Ingo Weinzierl <ingo@intevation.de> | |
467 | |
468 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java: | |
469 Create all formatted string labels for Ws and Qs in this class, because | |
470 this class is the only instance that knows that there are double values | |
471 to format. | |
472 | |
473 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
474 | |
475 Introduced new Facet that will deliver whatever getData returns via | |
476 blackbord under key which is defined by convention. Attention, the | |
477 data is not cached if handled this way. | |
478 | |
479 * src/main/java/de/intevation/flys/artifacts/model/BlackboardDataFacet.java: | |
480 New facet, will be useful for easing implementation of facets that | |
481 can contribute to area-computations. | |
482 | |
483 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
484 | |
485 * src/main/java/de/intevation/flys/exports/VisibleAttribute.java: | |
486 Removed obsolete imports. | |
487 | |
488 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
489 | |
490 Removed obsolete imports. | |
491 | |
492 * src/main/java/de/intevation/flys/artifacts/model/AreaFacet.java, | |
493 src/main/java/de/intevation/flys/artifacts/AreaArtifact.java, | |
494 src/main/java/de/intevation/flys/artifacts/states/AreaCreationState.java, | |
495 src/main/java/de/intevation/flys/exports/StyledAreaSeriesCollection.java, | |
496 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
497 Removed obsolete imports. | |
498 | |
499 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
500 | |
501 With StableXYDifferenceRenderer, create legend items in rectangular | |
502 form, to discern "line" from "area" in legend. | |
503 | |
504 * src/main/java/de/intevation/flys/jfree/StableXYDifferenceRenderer.java | |
505 (legendLine, legendShape): Renamed. | |
506 (getLegendItem): Create LegendItem with fill, use PositivePaint for | |
507 that. | |
508 | |
509 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
510 | |
511 Added further 'area' infrastructure. | |
512 | |
513 * src/main/java/de/intevation/flys/exports/StyledAreaSeriesCollection.java: | |
514 New, "area dataset". | |
515 | |
516 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java | |
517 (doOut): Use helper to decide if facet is an 'area' facet. | |
518 (doArea): Construct StyledAreaSeriesCollection instead of two | |
519 dataseries. | |
520 | |
521 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: | |
522 (AxisDataset.isArea): Distinguish area datasets with instanceof. | |
523 (AxisDataset.addArea): New. Replaces addAreaDataset. | |
524 (addAreaSeries): Simplified with new custom SeriesCollection. | |
525 (applyTheme): Register and style StableXYDifferenceRenderer for | |
526 StyledAreaSeriesCollections. | |
527 Added various TODOs and debug output to stabilize development. | |
528 | |
529 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
530 | |
531 * doc/conf/artifacts/winfo.xml: Added facets to compatibility | |
532 matrices. | |
533 | |
534 * doc/conf/themes.xml: Added Area theme defaults. | |
535 | |
536 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
537 | |
538 Lay ground for having areas in longitudinal section diagrams, too. | |
539 This is done by different naming of the facets. | |
540 | |
541 * src/main/java/de/intevation/flys/artifacts/model/AreaFacet.java: | |
542 Make the name dynamic. | |
543 | |
544 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: | |
545 Added further facet types, helper. | |
546 | |
547 * src/main/java/de/intevation/flys/artifacts/AreaArtifact.java: | |
548 Store name for facets in data item, restrict access to some fields. | |
549 | |
550 * src/main/java/de/intevation/flys/artifacts/states/AreaCreationState.java: | |
551 Use AreaArtifacts data item to use name for facets. | |
552 | |
553 2011-12-20 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
554 | |
555 Cosmetics. | |
556 | |
557 * src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java, | |
558 src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java, | |
559 src/main/java/de/intevation/flys/exports/StyledXYSeries.java: | |
560 Doc. | |
561 | |
562 * src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java, | |
563 src/main/java/de/intevation/flys/artifacts/WaterlevelArtifact.java, | |
564 src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java: | |
565 Whitespace. | |
566 | |
567 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: Doc and | |
568 whitespace. | |
569 | |
570 2011-12-19 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
571 | |
572 * src/main/java/de/intevation/flys/utils/ThemeUtil.java | |
573 (parseBoolean): New, extracted, updated callers. | |
574 (parseFillColorField, parseShowBorder): New, for area styles. | |
575 | |
576 2011-12-19 Ingo Weinzierl <ingo@intevation.de> | |
577 | |
578 flys/issue202 (W-INFo: Wasserspiegellagenberechnung / Vorbelegung Strecke) | |
579 | |
580 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: | |
581 Added a system property which is used to determine, if the DESCRIBE | |
582 document of an Artifact should include default values (values, that have | |
583 been inserted by the user some time ago) or not. The default case is, | |
584 that the DESCRIBE does NOT include default values. To enable default | |
585 values, set "flys.use.default.values" to "true". | |
586 | |
587 2011-12-19 Ingo Weinzierl <ingo@intevation.de> | |
588 | |
589 flys/issue419 (Themen-Name "Q(null)" bei W bei ungl. A.) | |
590 | |
591 * src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java: | |
592 Use correct variable to create Facet names. | |
593 | |
594 2011-12-19 Ingo Weinzierl <ingo@intevation.de> | |
595 | |
596 flys/issue380 (W-INFO / Überschwemmungskarte, falsches DGM) | |
597 | |
598 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Added a | |
599 convinience method that returns a parameter of FLYSArtifact as Integer. | |
600 | |
601 * src/main/java/de/intevation/flys/artifacts/states/DGMSelect.java: Override | |
602 validate() to determine, if the DGM selected by the user is valid for the | |
603 current calculation range and river. | |
604 | |
605 2011-12-19 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
606 | |
607 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
608 Roll-back accidentally committed changes. | |
609 | |
610 2011-12-19 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
611 | |
612 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java | |
613 (doOut): Hide 'invisible' (deleted) themes from Outgenerators. | |
614 | |
615 2011-12-19 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
616 | |
617 Added area.name data item and access to areaartifact. | |
618 | |
619 * src/main/java/de/intevation/flys/artifacts/model/AreaFacet.java: | |
620 Rephrased debug output, do survive case where only one curve is | |
621 given for area calculation (this is the "above" or "under" case). | |
622 | |
623 * src/main/java/de/intevation/flys/artifacts/AreaArtifact.java | |
624 (getAreaName): Access "area.name" data item. | |
625 | |
626 * src/main/java/de/intevation/flys/artifacts/states/AreaCreationState.java: | |
627 Respect area.name data of artifact when reproducing facets. | |
628 | |
629 2011-12-16 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
630 | |
631 * doc/conf/conf.xml: Fix, accidentally added wrong factory in last | |
632 commit. | |
633 | |
634 2011-12-16 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
635 | |
636 * doc/conf/conf.xml: Register area artifact factory. | |
637 | |
638 2011-12-16 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
639 | |
640 * doc/conf/artifacts/winfo.xml: Added area artifacts to cross-section | |
641 compatibility matrix. | |
642 | |
643 2011-12-16 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
644 | |
645 Add area dataseries when facet delivering one. | |
646 | |
647 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java | |
648 (doOut): Handle area facets. | |
649 (doArea): Register areas for area facets. | |
650 | |
651 2011-12-16 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
652 | |
653 Add simple area registerig functions. | |
654 | |
655 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: | |
656 (AxisDataset.addAreaDataset): New, add an area dataset. | |
657 (AxisDataset.isArea): New. | |
658 (addAreaSeries): New. Add Area Dataset. | |
659 (applyThemes): Pass info if we have an area, to set different | |
660 renderer. | |
661 | |
662 2011-12-16 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
663 | |
664 * src/main/java/de/intevation/flys/artifacts/states/StaticState.java: | |
665 Added convenience function and easy sybclassing. | |
666 | |
667 2011-12-16 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
668 | |
669 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: | |
670 Register AREA ("area") facet type. | |
671 | |
672 2011-12-16 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
673 | |
674 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionFacet.java, | |
675 src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java: | |
676 Register blackboard key uuid+index and respond with data to it, as | |
677 assumed by the areaartifact and facet. | |
678 | |
679 2011-12-16 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
680 | |
681 Added partial area-infrastructure. | |
682 | |
683 * src/main/java/de/intevation/flys/artifacts/model/AreaFacet.java, | |
684 src/main/java/de/intevation/flys/artifacts/AreaArtifact.java, | |
685 src/main/java/de/intevation/flys/artifacts/states/AreaCreationState.java: | |
686 New artifact, facet and state for area rendering. | |
687 | |
688 2011-12-16 Ingo Weinzierl <ingo@intevation.de> | |
689 | |
690 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Defined an | |
691 interface YAxisWalker that allows to walk over each Y axis definition in | |
692 subclasses. This walker can be retrieved using the new getYAxisWalker() | |
693 method. The AxisSections are built in this class now. | |
694 | |
695 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
696 Implemented the YAxisWalker interface and the getYAxisWalker() method. | |
697 Removed the code to build AxisSections. | |
698 | |
699 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java: | |
700 Implemented getYAxisLabel(int pos) and getYAxisWalker(). | |
701 | |
702 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java, | |
703 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java: | |
704 Implemented the getYAxisWalker() method. | |
705 | |
706 2011-12-16 Ingo Weinzierl <ingo@intevation.de> | |
707 | |
708 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
709 Some optimizations during out() operation - the CollectionAttribute is | |
710 parsed a single time now (*i guess*). This code really needs some | |
711 refactoring! | |
712 | |
713 2011-12-16 Ingo Weinzierl <ingo@intevation.de> | |
714 | |
715 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
716 Added an INFO message that displays the duration time for the out() | |
717 operation. | |
718 | |
719 2011-12-16 Ingo Weinzierl <ingo@intevation.de> | |
720 | |
721 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
722 Calls super.buildAxisSections(). | |
723 | |
724 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: | |
725 Implemented the method buildAxisSections(). The result list will contain | |
726 an AxisSection for the X axis. | |
727 | |
728 2011-12-16 Ingo Weinzierl <ingo@intevation.de> | |
729 | |
730 * src/main/java/de/intevation/flys/collections/AttributeWriter.java: Bugfix: | |
731 Add new Outputs to the current CollectionAttribute if no old one is | |
732 existing. | |
733 | |
734 2011-12-16 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
735 | |
736 * src/main/java/de/intevation/flys/collections/AttributeWriter.java: | |
737 Directly fetch key/value pairs when writing a collection attribute. | |
738 | |
739 2011-12-16 Ingo Weinzierl <ingo@intevation.de> | |
740 | |
741 * src/main/java/de/intevation/flys/exports/ChartSettings.java: Added new | |
742 functions that allow parsing a ChartSettings object from DOM Node. | |
743 | |
744 * src/main/java/de/intevation/flys/collections/AttributeParser.java: Parse | |
745 the Settings of each Output. | |
746 | |
747 2011-12-16 Ingo Weinzierl <ingo@intevation.de> | |
748 | |
749 * src/main/java/de/intevation/flys/collections/CollectionAttribute.java: | |
750 Added a method to set a new Settings object for a specific Output and a | |
751 method to clear the list of Facets of a specific Output. | |
752 | |
753 * src/main/java/de/intevation/flys/collections/AttributeWriter.java: The | |
754 AttributeWriter no longer creates new CollectionAttributes - it only | |
755 modifies the old CollectionAttribute. At first, it clears the Facets of | |
756 all Outputs. Finally, the merged Facets are added to the Outputs. | |
757 | |
758 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
759 Added the CollectionAttribute to the AttributeWriters constructor. | |
760 | |
761 2011-12-16 Ingo Weinzierl <ingo@intevation.de> | |
762 | |
763 * src/main/java/de/intevation/flys/exports/DoubleAttribute.java: New. An | |
764 Attribute that stores double values. | |
765 | |
766 * src/main/java/de/intevation/flys/exports/AxisSection.java: Added methods | |
767 to set values for 'fixation', 'font-size', 'lower' and 'upper'. | |
768 | |
769 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
770 Set new attributes mentioned above for each axis' AxisSection. | |
771 | |
772 2011-12-15 Ingo Weinzierl <ingo@intevation.de> | |
773 | |
774 * src/main/java/de/intevation/flys/exports/AxisSection.java: Added methods | |
775 to set the axis label and id. | |
776 | |
777 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Improved | |
778 the ChartSettings that will now contain a set of AxisSections. The new | |
779 buildAxisSections() method in this class is not implemented and needs to | |
780 be implemented by subclasses. | |
781 | |
782 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
783 Override buildAxisSections() of XYChartGenerator to create an AxisSection | |
784 for each axis that is able to be displayed in this sort of chart. In | |
785 addition, there is a new method getYAxisLabel(int) that returns the label | |
786 for a specific Y axis. | |
787 | |
788 2011-12-15 Ingo Weinzierl <ingo@intevation.de> | |
789 | |
790 * src/main/java/de/intevation/flys/exports/IntegerAttribute.java: New. | |
791 Concrete subclass of a DefaultAttribute for storing integer values. | |
792 | |
793 * src/main/java/de/intevation/flys/exports/LegendSection.java: New. A | |
794 concrete Section subclass to store legend specific attributes. | |
795 | |
796 * src/main/java/de/intevation/flys/exports/BooleanAttribute.java, | |
797 src/main/java/de/intevation/flys/exports/StringAttribute.java: Removed | |
798 needless import of org.w3c.dom.Attr. | |
799 | |
800 * src/main/java/de/intevation/flys/exports/ChartSettings.java: ChartSettings | |
801 is able to store a Section for legends now. | |
802 | |
803 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Added | |
804 methods to retrieve the font size of legends and if the legend should be | |
805 visible or not. In addition, the ChartSettings returned by this instance | |
806 will now contain a LegendSection as well. | |
807 | |
808 2011-12-15 Ingo Weinzierl <ingo@intevation.de> | |
809 | |
810 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Introduced | |
811 methods getChartSubtitle() and isGridVisible(). getChartSubtitle() returns | |
812 in this implementation null. Concrete subclasses should override this | |
813 mehtod if they require subtitles in charts. isGridVisible() determines if | |
814 the grid in the chart should be visible or not. This method return always | |
815 true in this implementation. | |
816 In addition, the Settings object returned by getSettings() will now have a | |
817 ChartSection set properly. | |
818 | |
819 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java, | |
820 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java, | |
821 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java, | |
822 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java, | |
823 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java: | |
824 Override getChartSubtitle(). | |
825 | |
826 2011-12-15 Ingo Weinzierl <ingo@intevation.de> | |
827 | |
828 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
829 Prepare the OutGenerator (process each of the Output's Facets) during the | |
830 describe() operation to be able to return an initial Settings object. | |
831 | |
832 2011-12-15 Ingo Weinzierl <ingo@intevation.de> | |
833 | |
834 * src/main/java/de/intevation/flys/exports/BooleanAttribute.java, | |
835 src/main/java/de/intevation/flys/exports/VisibleAttribute.java, | |
836 src/main/java/de/intevation/flys/exports/StringAttribute.java: Fixed wrong | |
837 usage of DOM operations. | |
838 | |
839 2011-12-14 Ingo Weinzierl <ingo@intevation.de> | |
840 | |
841 * src/main/java/de/intevation/flys/exports/BooleanAttribute.java, | |
842 src/main/java/de/intevation/flys/exports/VisibleAttribute.java, | |
843 src/main/java/de/intevation/flys/exports/StringAttribute.java: New. | |
844 Concrete subclasses of a DefaultAttribute. | |
845 | |
846 * src/main/java/de/intevation/flys/exports/ChartSettings.java, | |
847 src/main/java/de/intevation/flys/exports/AxisSection.java, | |
848 src/main/java/de/intevation/flys/exports/ChartSection.java: | |
849 Implementations for chart settings. WORK IN PROGRESS! | |
850 | |
851 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Override | |
852 the getSettings() method. The implementation here returns a ChartSettings | |
853 instance. | |
854 | |
855 * src/main/java/de/intevation/flys/exports/EmptySettings.java: Modified the | |
856 node name of the settings ("art:settings" -> "settings"). | |
857 | |
858 2011-12-14 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
859 | |
860 * src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java: | |
861 Cosmetics, doc. | |
862 | |
863 2011-12-14 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
864 | |
865 Cosmetics. | |
866 | |
867 * src/main/java/de/intevation/flys/collections/AttributeWriter.java: | |
868 Remove needless imports. | |
869 | |
870 2011-12-14 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
871 | |
872 Fix/Guard certain misconditions. | |
873 | |
874 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Do | |
875 not crash when given null-range. | |
876 | |
877 * src/main/java/de/intevation/flys/exports/StyledSeriesBuilder.java: | |
878 Do not crash when given malformed array. | |
879 | |
880 2011-12-14 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
881 | |
882 Cosmetics. | |
883 | |
884 * src/main/java/de/intevation/flys/artifacts/math/DifferenceCurveFacet.java, | |
885 ChangeLog: Whitespace cosmetic. | |
886 | |
887 * src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java: | |
888 Annotation cosmetic. | |
889 | |
890 * src/main/java/de/intevation/flys/artifacts/ExternalWMSArtifact.java: | |
891 Convenience cosmetic. | |
892 | |
893 * src/main/java/de/intevation/flys/utils/DataUtil.java: | |
894 vim-magicosmetic. | |
895 | |
896 2011-12-14 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
897 | |
898 Implement new WaterLineArtifact where needed so far. | |
899 | |
900 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
901 Declare that we implement WaterLineArtifact. | |
902 | |
903 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java: | |
904 (getWaterLines): Implement to fulfil new WaterLineArtifact- | |
905 interface-impl. Also generate new Facet. | |
906 | |
907 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java: | |
908 Do not depend on WINFOArtifacts, but on WaterLineArtifacts instead. | |
909 | |
910 2011-12-14 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
911 | |
912 Added interface WaterLineArtifact to be implemented by artifacts | |
913 that know how to create a water line "against" a cross section. | |
914 | |
915 * src/main/java/de/intevation/flys/artifacts/WaterLineArtifact.java: | |
916 New, straight-forward interface. | |
917 | |
918 2011-12-14 Ingo Weinzierl <ingo@intevation.de> | |
919 | |
920 * src/main/java/de/intevation/flys/exports/EmptySettings.java: An | |
921 implementation of the Settings interface defined in the artifact-database | |
922 module. This implementation accepts no Section objects at all and creates | |
923 an empty "settings" Node in its toXML() operation. | |
924 | |
925 * src/main/java/de/intevation/flys/exports/OutGenerator.java: Defined a new | |
926 method getSettings() that returns a Settings instance. | |
927 | |
928 * src/main/java/de/intevation/flys/exports/ChartGenerator.java, | |
929 src/main/java/de/intevation/flys/exports/ReportGenerator.java, | |
930 src/main/java/de/intevation/flys/exports/MapGenerator.java, | |
931 src/main/java/de/intevation/flys/exports/AbstractExporter.java, | |
932 src/main/java/de/intevation/flys/exports/ATExporter.java, | |
933 src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java: | |
934 Implemented the getSettings() operation. All OutGenerators will currently | |
935 return an instance of EmptySettings. | |
936 | |
937 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
938 Before the DESCRIBE document is created, we gonna evaluate each Output | |
939 defined in the Collection's attribute document, if it has a Settings | |
940 object set. If this is not the case, the relevant OutGenerator is called | |
941 to retrieve a new instance of Settings. | |
942 | |
943 * src/main/java/de/intevation/flys/collections/CollectionAttribute.java: | |
944 Append the Settings of Outputs to the Output nodes in the XML | |
945 representation. | |
946 | |
947 2011-12-13 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
948 | |
949 Recommend cross-sections. | |
950 | |
951 * doc/conf/meta-data.xml: When having a cross-section out, recommend | |
952 respective artifacts. | |
953 | |
954 2011-12-13 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
955 | |
956 Register factory for CrossSectionArtifacts. | |
957 | |
958 * doc/conf/conf.xml: Register CrossSectionArtifact-Factory. | |
959 | |
960 2011-12-13 Ingo Weinzierl <ingo@intevation.de> | |
961 | |
962 * src/main/java/de/intevation/flys/collections/CollectionAttribute.java: | |
963 New. This class will store the information provided in the Collection's | |
964 attribute (which is a DOM document). | |
965 | |
966 * src/main/java/de/intevation/flys/collections/CollectionDescriptionHelper.java: | |
967 Store an instance of CollectionAttribute and append its XML representation | |
968 to the DESCRIBE document. | |
969 | |
970 * src/main/java/de/intevation/flys/collections/AttributeWriter.java: Removed | |
971 all DOM operations from this writer. Its new task is to create a new | |
972 CollectionAttribute object which represents a merged version of the old | |
973 CollectionAttribute and the information provided by the Collection's child | |
974 Artifacts. | |
975 | |
976 * src/main/java/de/intevation/flys/collections/AttributeParser.java: The | |
977 result of AttributeParser's parse() operation is a CollectionAttribute | |
978 object now. The methods getOuts() and getFacets() are as of now proxy | |
979 methods that call the relevant methods of CollectionAttribute. | |
980 | |
981 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
982 Some structural changes in the process to build the attribute Document of | |
983 the Collection's DESCRIBE. We will no longer work with Document during | |
984 this process but with instances of CollectionAttribute. | |
985 | |
986 2011-12-13 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
987 | |
988 Server-side of newer Cross-Section diagram construction architecture. | |
989 | |
990 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java | |
991 (searchCrossSectionKmLine, getCrossSectionSnapKm), | |
992 (getCrossSectionData): Removed, most functionality contained in | |
993 CrossSectionArtifact. | |
994 (getWaterLines): Now get CrossSectionLines to calculate water line. | |
995 | |
996 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java: | |
997 Get a CrossSectionLine from blackboard. | |
998 | |
999 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java: | |
1000 Hard TODO, commented out function needed for subtitle to allow | |
1001 compilation. | |
1002 | |
1003 * src/main/java/de/intevation/flys/exports/StyledSeriesBuilder.java: | |
1004 Added Empty-Dataset- guard. | |
1005 | |
1006 2011-12-13 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1007 | |
1008 Cosmetics. | |
1009 | |
1010 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
1011 Cosmetics. | |
1012 | |
1013 2011-12-13 Ingo Weinzierl <ingo@intevation.de> | |
1014 | |
1015 * src/main/java/de/intevation/flys/artifacts/services/CrossSectionKMService.java, | |
1016 src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java: | |
1017 Removed superfluous imports. | |
1018 | |
1019 2011-12-13 Ingo Weinzierl <ingo@intevation.de> | |
1020 | |
1021 * src/main/java/de/intevation/flys/collections/CollectionDescriptionHelper.java: | |
1022 New. This class helps generating the DESCRIBE document of a collection. | |
1023 | |
1024 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
1025 Moved some of the code to create the DESCRIBE document out to | |
1026 CollectionDescriptionHelper. | |
1027 | |
1028 2011-12-12 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1029 | |
1030 Resolve todo about wrongly named cross sections. | |
1031 Open StaticState to allow that facets survive a compute. | |
1032 | |
1033 * src/main/java/de/intevation/flys/artifacts/states/StaticState.java | |
1034 (computeAdvance, computeFeed, computeInit): Override to call | |
1035 staticCompute. | |
1036 (staticCompute): New. Do nothing but be able to be overridden. | |
1037 | |
1038 * src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java | |
1039 (setup): Fetch facets name from db (resolves todo). | |
1040 (getCurrentState): override staticstates staticcompute to let | |
1041 facets survive a compute. | |
1042 | |
1043 2011-12-12 Ingo Weinzierl <ingo@intevation.de> | |
1044 | |
1045 * src/main/java/de/intevation/flys/wsplgen/JobExecutor.java, | |
1046 src/main/java/de/intevation/flys/wsplgen/WSPLGENCallable.java: Renamed | |
1047 JobExecutor to WSPLGENCallable (because it is a Callable now). In addition | |
1048 to the call() method which starts the WSPLGEN process, this Callable | |
1049 offers a cancelWSPLGEN() method to destroy a running WSPLGEN process. | |
1050 | |
1051 * src/main/java/de/intevation/flys/wsplgen/WSPLGENFuture.java: A FutureTask | |
1052 that overrides cancel(boolean). Before this instance call | |
1053 super.cancel(boolean), it executes WSPLGENCallable.cancelWSPLGEN() to kill | |
1054 a running WSPLGEN process. | |
1055 | |
1056 * src/main/java/de/intevation/flys/wsplgen/Scheduler.java: The Scheduler is | |
1057 no longer a Runnable. It makes now use of a ScheduledThreadPoolExecutor to | |
1058 schedule the incoming WSPLGENJobs. The ScheduledThreadPoolExecutor has a | |
1059 fixed number of worker threads that process the jobs. The number is 1 per | |
1060 default; it can be modified using a System property "wsplgen.max.threads". | |
1061 | |
1062 * src/main/java/de/intevation/flys/artifacts/context/FLYSContext.java: Added | |
1063 a string constant SCHEDULER. | |
1064 | |
1065 * src/main/java/de/intevation/flys/wsplgen/SchedulerSetup.java: A | |
1066 LifetimeListener that currently implements the systemUp() method to create | |
1067 an instance of Scheduler. After its creation, the Scheduler is put into | |
1068 the GlobalContext using FLYSContext.SCHEDULER as key. | |
1069 | |
1070 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: | |
1071 Fetch the Scheduler from GlobalContext. | |
1072 | |
1073 * doc/conf/conf.xml: Registered SchedulerSetup as LifetimeListener. | |
1074 | |
1075 2011-12-09 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1076 | |
1077 * src/main/java/de/intevation/flys/artifacts/StaticFLYSArtifact.java: | |
1078 (describe): Add data items to StaticFLYSArtifacts describe-doc. | |
1079 | |
1080 2011-12-09 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1081 | |
1082 * src/main/java/de/intevation/flys/artifacts/states/StaticState.java: | |
1083 (addDefaultChartOutput): Convenienve function to add a chart-output. | |
1084 | |
1085 2011-12-09 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1086 | |
1087 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionFacet.java: | |
1088 Play nice with CrossSectionArtifact. Employ blackboard. | |
1089 | |
1090 * src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java: | |
1091 Spawn a CrossSectionFacet, handle various data. | |
1092 | |
1093 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java: | |
1094 Do not produce CrossSectionFacets anymore, these now "belong" to | |
1095 CrossSectionArtifacts. | |
1096 | |
1097 2011-12-09 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1098 | |
1099 * doc/conf/cache.xml: Added cross_sections cache. | |
1100 | |
1101 2011-12-09 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1102 | |
1103 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionFactory.java: | |
1104 (getCrossSection, getCrossSectionUncached): New, access specific | |
1105 CrossSection, employ caching. | |
1106 | |
1107 2011-12-09 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1108 | |
1109 * src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java: | |
1110 New artifact to handle cross-section access. | |
1111 | |
1112 2011-12-09 Raimund Renkert <raimund.renkert@intevation.de> | |
1113 | |
1114 Issue 413. | |
1115 | |
1116 * src/main/java/de/intevation/flys/exports/StyledXYSeries.java: | |
1117 Apply point size from theme attribute linewidth. | |
1118 | |
1119 2011-12-08 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1120 | |
1121 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionFactory.java, | |
1122 src/main/java/de/intevation/flys/artifacts/model/AnnotationFacet.java, | |
1123 src/main/java/de/intevation/flys/exports/OutGenerator.java, | |
1124 src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java: | |
1125 Cosmetics. | |
1126 | |
1127 2011-12-08 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1128 | |
1129 * src/main/java/de/intevation/flys/artifacts/services/CrossSectionKMService.java: | |
1130 Documentation added, let a value be its own neighbour (distance 0). | |
1131 | |
1132 2011-12-08 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1133 | |
1134 * src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java: | |
1135 Added "Bezugslinie" to list of calculation alternatives. | |
1136 | |
1137 * src/main/resources/messages.properties, | |
1138 src/main/resources/messages_de_DE.properties, | |
1139 src/main/resources/messages_de.properties: Added I18N. | |
1140 | |
1141 2011-12-06 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1142 | |
1143 Further flys/issue420 fix (No Discharge Curves for Mosel). | |
1144 | |
1145 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: | |
1146 (includeYRange, mergeRanges): Moved NaN-guard to lowest level. | |
1147 (combineXRanges): Also NaN guard the X Axis extent. | |
1148 | |
1149 2011-12-06 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1150 | |
1151 Partial fix for flys/issue420 (Berechnete Abflusskurve: Kein Diagramm für | |
1152 Mosel). Protect axis extent calculation from empty or invalid | |
1153 datasets. | |
1154 | |
1155 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: | |
1156 (includeRange, includeYRange): Renamed, updated callers. | |
1157 (includeYRange): Protect from merging extent with NaNs. | |
1158 (debugDatasets): Be more verbose on the datasets. | |
1159 (zoom): Doc. | |
1160 | |
1161 2011-12-06 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1162 | |
1163 Fix flys/issue423 (Diagramm: Hauptwerte bei Abflusskurve am Pegel | |
1164 werden an Y-Achse nicht angezeigt) - show not "raw" (vs interpolated) | |
1165 values at Gauge. | |
1166 | |
1167 * src/main/java/de/intevation/flys/artifacts/model/MainValuesQFacet.java, | |
1168 src/main/java/de/intevation/flys/artifacts/model/MainValuesWFacet.java: | |
1169 Add parameterization to let facet know whether to fetch data at | |
1170 Gauges or at Artifacts position. | |
1171 | |
1172 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java: | |
1173 Let the MainValueFacets know whether to ask for interpolated | |
1174 MainValues; (do not interpolate for Gauges Main Values). | |
1175 (getMainValuesQ, getMainValuesW): Added parameter to control | |
1176 interpolation. | |
1177 | |
1178 2011-12-05 Ingo Weinzierl <ingo@intevation.de> | |
1179 | |
1180 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Modified | |
1181 prefix constants for Mapserver layers and renamed constants (which have | |
1182 been postfixes before). | |
1183 | |
1184 * src/main/java/de/intevation/flys/wsplgen/FacetCreator.java: Adjusted | |
1185 usage of Mapserver constants to the changes described above. | |
1186 | |
1187 2011-12-05 Ingo Weinzierl <ingo@intevation.de> | |
1188 | |
1189 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: | |
1190 Bugfix: Evaluate the correct parameter whether to set the floodplain or | |
1191 not. In addition, the scenario parameter used by WSPLGEN is now set | |
1192 correctly. | |
1193 | |
1194 >>>>>>> .r3356 | |
1195 2011-12-05 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1196 | |
1197 Allow longitudinal_section.q facets in wdiff states output. | |
1198 | |
1199 * doc/conf/artifacts/winfo.xml: Added longitudinal_section.q facets | |
1200 to w-diff states out compatibility- matrix. | |
1201 | |
1202 2011-12-05 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1203 | |
1204 Refactored Longitudinal*/WDiff-*Generator hierarchy and change axis | |
1205 ordering, resolved label-i18n TODO. | |
1206 | |
1207 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java, | |
1208 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java: | |
1209 Merge, avoid duplicate code, fix axis ordering in w-diff diagram, | |
1210 label in ls-diagramm. | |
1211 | |
1212 2011-12-05 Ingo Weinzierl <ingo@intevation.de> | |
1213 | |
1214 * src/main/resources/messages.properties, | |
1215 src/main/resources/messages_de_DE.properties, | |
1216 src/main/resources/messages_en.properties, | |
1217 src/main/resources/messages_de.properties: Added missing state titles. | |
1218 | |
1219 2011-12-05 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1220 | |
1221 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java: | |
1222 Do not include zero on first axis. | |
1223 | |
1224 2011-12-02 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1225 | |
1226 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
1227 (buildArtifactNode): Include artifacts state data in description | |
1228 document of collection. | |
1229 | |
1230 2011-11-30 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1231 | |
1232 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java, | |
1233 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java, | |
1234 src/main/java/de/intevation/flys/exports/ChartGenerator.java, | |
1235 src/main/java/de/intevation/flys/exports/ReportGenerator.java, | |
1236 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java, | |
1237 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java, | |
1238 src/main/java/de/intevation/flys/exports/XYChartGenerator.java, | |
1239 src/main/java/de/intevation/flys/exports/AbstractExporter.java, | |
1240 src/main/java/de/intevation/flys/exports/ATExporter.java, | |
1241 src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java, | |
1242 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java, | |
1243 src/main/java/de/intevation/flys/exports/OutGenerator.java, | |
1244 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java, | |
1245 src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java, | |
1246 src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
1247 Removed superfluous imports. | |
1248 | |
1249 2011-11-30 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1250 | |
1251 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
1252 Removed import to make it compileable again. | |
1253 | |
1254 2011-11-30 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1255 | |
1256 Introduce pre-rendering inter-facet communication phase ('blackboard | |
1257 pass'). | |
1258 | |
1259 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java | |
1260 (doBlackboardPass): New. Before actually calling doOut, bundle | |
1261 ArtifactAndFacets and let them register | |
1262 themselfes as DataProvider in CallContext if they | |
1263 want ("announce on blackboard"). | |
1264 | |
1265 2011-11-30 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1266 | |
1267 * src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java | |
1268 (doOut): Adjusted signature. | |
1269 | |
1270 2011-11-30 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1271 | |
1272 Changed doOut signature to use ArtifactAndFacet, which will be | |
1273 side effect of upcoming "blackboard" feature. | |
1274 | |
1275 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java | |
1276 (getRangesForDataset, getRangesForAxis): Renamed, removed TODO. | |
1277 | |
1278 * src/main/java/de/intevation/flys/exports/InfoGeneratorHelper.java | |
1279 (createAxis): Update call to XYChartGenerator.getRangesForAxis, | |
1280 cosmetics. | |
1281 | |
1282 * src/main/java/de/intevation/flys/exports/OutGenerator.java | |
1283 (doOut): Changed Signature to accet ArifactAndFacet instead of | |
1284 Artifact and Facet. | |
1285 | |
1286 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java, | |
1287 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java, | |
1288 src/main/java/de/intevation/flys/exports/ChartGenerator.java, | |
1289 src/main/java/de/intevation/flys/exports/ReportGenerator.java, | |
1290 src/main/java/de/intevation/flys/exports/MapGenerator.java, | |
1291 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java, | |
1292 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java, | |
1293 src/main/java/de/intevation/flys/exports/AbstractExporter.java, | |
1294 src/main/java/de/intevation/flys/exports/ATExporter.java, | |
1295 src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java, | |
1296 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java, | |
1297 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java, | |
1298 src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java | |
1299 (doOut): Adjusted to new signature. | |
1300 | |
1301 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java: | |
1302 (adjustAxes): Removed, we do not need a (manual) second axis. | |
1303 | |
1304 2011-11-28 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1305 | |
1306 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java: | |
1307 Fix compilation, use features of XYChartGenerator. | |
1308 | |
1309 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: | |
1310 Set default behaviour such that 0 is not included in ranges. | |
1311 | |
1312 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java: | |
1313 Set behaviour of axis such that 0 is not (automagically) included. | |
1314 | |
1315 2011-11-28 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1316 | |
1317 * src/main/java/de/intevation/flys/exports/StyledSeriesBuilder.java: | |
1318 Fix wrong documentation. | |
1319 | |
1320 2011-11-28 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1321 | |
1322 Fix LongitudinalSections multi-axes plotting behavior. | |
1323 | |
1324 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
1325 Removed obsolete functions, use better working multi-axis | |
1326 magic by XYChartGenerator. | |
1327 | |
1328 2011-11-28 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1329 | |
1330 Overhaul dataset/axis/renderer housekeeping in Mother of all | |
1331 ChartGenerators. | |
1332 | |
1333 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: | |
1334 Refactored, keep axis/rendering relevant information in objects | |
1335 of new class AxisDataset. Removed some obsolete code while adding | |
1336 documentation. | |
1337 | |
1338 2011-11-25 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1339 | |
1340 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java(relateWs): | |
1341 Added the implementation of the 'Bezugslinienverfahren'. Should | |
1342 be complete but needs testing! | |
1343 TODO: Setup a Calculation and integrate it into WINFO. | |
1344 | |
1345 2011-11-25 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1346 | |
1347 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
1348 Refactored the code for the "berechnete Abflusskurve" to enable | |
1349 the "Bezugslinienverfahren" to use the same code paths. It also | |
1350 removes a good deal of already existing code duplication. | |
1351 | |
1352 2011-11-25 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1353 | |
1354 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java(findQsForW): | |
1355 Added method findQsForW(w, km) to retrieve the Qs that correspond | |
1356 for the given w and km. | |
1357 | |
1358 This is to be called when doing a "W auf freier Strecke" calculation | |
1359 to find out the Qs belonging to the user given W. | |
1360 | |
1361 * src/main/java/de/intevation/flys/artifacts/WQKmsInterpolArtifact.java, | |
1362 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java, | |
1363 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java: | |
1364 Removed superfluous imports. | |
1365 | |
1366 2011-11-25 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1367 | |
1368 Fix bug when adding Q data in LongitudinalSectionGenerator. | |
1369 | |
1370 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
1371 Add data from Q -Facet as Q over Km points. | |
1372 | |
1373 2011-11-25 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1374 | |
1375 Added handling of empty plots. | |
1376 | |
1377 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: | |
1378 (createAxes, removeEmptyRangeAxes): Survive empty datasets map, create | |
1379 primary axis. | |
1380 (recoverEmptyPlot): New. | |
1381 | |
1382 2011-11-25 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1383 | |
1384 Let first visible axis be always on the left. | |
1385 | |
1386 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: | |
1387 (createAxes): When creating axes, keep track of which is the first | |
1388 one. Set its location to "left". | |
1389 | |
1390 2011-11-24 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1391 | |
1392 Use multiple axis in relevant generators. | |
1393 | |
1394 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java, | |
1395 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java, | |
1396 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java, | |
1397 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java, | |
1398 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java: | |
1399 (createYAxis): Implemented. | |
1400 Define and use YAXIS enum for axes. | |
1401 | |
1402 2011-11-24 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1403 | |
1404 Fix theming and legend items for plot with multiaxis feature. | |
1405 Decouple renderer index from dataset index. | |
1406 | |
1407 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: | |
1408 (applyThemes): Do not get renderer based on dataset/axis-index but | |
1409 count. | |
1410 | |
1411 2011-11-24 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1412 | |
1413 In XYChartGenerators allow more than two datasets. | |
1414 Assign axis to indices of datasets, do not show axis if corresponding | |
1415 dataset is set to be not visible. | |
1416 Do proper axis-setting in LongitudinalSectionGenerator only (other | |
1417 will follow). Based on a patch by Sascha Teichmann. | |
1418 | |
1419 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: | |
1420 Keep relation between index and dataset, once its added. Compute | |
1421 ranges per index. Allow subclasses to override createAxes to specify | |
1422 internationalized labels etc. | |
1423 | |
1424 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java, | |
1425 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java, | |
1426 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java, | |
1427 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java, | |
1428 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java, | |
1429 src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java: | |
1430 Add datasets to first index. | |
1431 | |
1432 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
1433 Implement createYAxis to create correct first, second and third | |
1434 axis. Added enum to easy identification of axis. Stripped down | |
1435 adjustAxis which was used to create second axis. | |
1436 Add datasets at correct indices. | |
1437 | |
1438 2011-11-23 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1439 | |
1440 * src/main/java/de/intevation/flys/artifacts/datacage/templating/StackFrames.java, | |
1441 src/main/java/de/intevation/flys/artifacts/datacage/templating/FunctionResolver.java, | |
1442 src/main/java/de/intevation/flys/exports/XYChartGenerator.java: | |
1443 Cosmetics, docs. | |
1444 | |
1445 2011-11-23 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1446 | |
1447 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java: | |
1448 Cosmetics, docs. | |
1449 | |
1450 2011-11-23 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1451 | |
1452 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableCacheKey.java: | |
1453 Cosmetics, docs. | |
1454 | |
1455 2011-11-23 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1456 | |
1457 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory.java: | |
1458 Resolved TODO about caching certain WstValueTables. | |
1459 | |
1460 2011-11-22 Ingo Weinzierl <ingo@intevation.de> | |
1461 | |
1462 * src/main/java/de/intevation/flys/artifacts/ExternalWMSArtifact.java: New. | |
1463 This Artifact is used to allow users adding external WMS layers to their | |
1464 floodmaps. An ExternalWMSArtifact stores an URL of a WMS, the name and the | |
1465 title of the WMS layer. The internal State extends WMSBackgroundState. | |
1466 | |
1467 * doc/conf/conf.xml: Registered the ExternalWMSArtifact. | |
1468 | |
1469 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added a | |
1470 new type "floodmap.externalwms" which is used by the ExternalWMSArtifact. | |
1471 | |
1472 * doc/conf/artifacts/winfo.xml: Allowed the "floodmap.externalwms" facet for | |
1473 floodmaps. | |
1474 | |
1475 * src/main/java/de/intevation/flys/artifacts/states/WMSBackgroundState.java: | |
1476 Some refactoring to allow easier subclassing. | |
1477 | |
1478 2011-11-22 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1479 | |
1480 Fixed flys/411. | |
1481 | |
1482 * src/main/java/de/intevation/flys/artifacts/model/AnnotationsFactory.java: | |
1483 Use different queries to avoid costy joins. | |
1484 | |
1485 2011-11-22 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1486 | |
1487 * src/main/java/de/intevation/flys/artifacts/model/AnnotationsFactory.java: | |
1488 Use different queries to avoid costy joins. Patch by Sascha | |
1489 Teichmann, minor typo-fix. | |
1490 | |
1491 2011-11-17 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1492 | |
1493 * doc/conf/artifacts/winfo.xml: Added other.wkms.interpol facet | |
1494 to compatibility matrix for computed discharge curves. | |
1495 | |
1496 2011-11-17 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1497 | |
1498 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java: | |
1499 Resolve cosmetic todo, use importData-convenience method. | |
1500 | |
1501 2011-11-17 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1502 | |
1503 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java: | |
1504 Handle STATIC_WKMS_INTERPOL and WQ/Points as Annotations. | |
1505 | |
1506 2011-11-17 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1507 | |
1508 * src/main/java/de/intevation/flys/artifacts/WQKmsInterpolArtifact.java: | |
1509 Give Facet different name when its a flood*, so that it can be | |
1510 understood to be e.g. a flood-protection further down the processing | |
1511 line. | |
1512 | |
1513 2011-11-17 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1514 | |
1515 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
1516 Prevent ArrayIndexOutOfBounds, log method entry. | |
1517 | |
1518 2011-11-17 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1519 | |
1520 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: | |
1521 Added new Facet Type: Interpolated W/Km values. | |
1522 | |
1523 2011-11-16 Ingo Weinzierl <ingo@intevation.de> | |
1524 | |
1525 * src/main/java/de/intevation/flys/wsplgen/FacetCreator.java, | |
1526 src/main/java/de/intevation/flys/artifacts/WMSDBArtifact.java, | |
1527 src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Avoid | |
1528 WMS layer names that begin with digits. This would lead to invalid | |
1529 WMSGetFeatureInfo responses, where the name of a layer is the name of a | |
1530 XML node. | |
1531 | |
1532 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1533 | |
1534 * doc/conf/meta-data.xml: Added and use *_wq macros for interpolated | |
1535 w/q data (currently used in computed discharge curve only). | |
1536 | |
1537 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1538 | |
1539 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java: | |
1540 Handle STATIC_WQ_ANNOTATION type facets, build and add annotations | |
1541 for these. | |
1542 | |
1543 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1544 | |
1545 * src/main/java/de/intevation/flys/artifacts/WQKmsInterpolArtifact.java: | |
1546 Set Facet type (name) based on static datas name (special case | |
1547 everything starting with "height"). | |
1548 | |
1549 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1550 | |
1551 * doc/conf/artifacts/winfo.xml: Extended compatibility matrices. | |
1552 | |
1553 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1554 | |
1555 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: | |
1556 Added new STATIC_WQ_ANNOTATIONS Facet Type. | |
1557 | |
1558 2011-11-16 Ingo Weinzierl <ingo@intevation.de> | |
1559 | |
1560 * src/main/java/de/intevation/flys/artifacts/model/WMSLayerFacet.java: | |
1561 Added a method isQueryable() that determines if a layer is queryable via | |
1562 WMS GetFeatureInfo request. This method returns false as default. | |
1563 | |
1564 * src/main/java/de/intevation/flys/artifacts/model/WMSDBLayerFacet.java: | |
1565 Override isQueryable(). All WMSDBLayerFacets are queryable via WMS | |
1566 GetFeatureInfo request. | |
1567 | |
1568 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1569 | |
1570 * src/main/java/de/intevation/flys/artifacts/WQKmsInterpolArtifact.java: | |
1571 Added functionality to artifact to use single column wst | |
1572 interpolators. | |
1573 | |
1574 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1575 | |
1576 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory.java: | |
1577 Added methods to create WstValueTables (interpolators) for specific | |
1578 columns of wsts. | |
1579 | |
1580 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1581 | |
1582 * doc/conf/themes.xml: Added Point Style for other.wq data. | |
1583 | |
1584 2011-11-16 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1585 | |
1586 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
1587 Do not re-evaluate constant size() in for-loops. | |
1588 | |
1589 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1590 | |
1591 * src/main/java/de/intevation/flys/artifacts/WQKmsInterpolArtifact.java: | |
1592 Get ld_locations not locations data item to determine km. | |
1593 (getDataAsDouble): New helper function to get data item as double. | |
1594 | |
1595 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1596 | |
1597 * doc/conf/meta-data.xml: Recommend fixations for computed discharge | |
1598 curve outs, minor refactoring of dc conf. | |
1599 | |
1600 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1601 | |
1602 * doc/conf/conf.xml: Added wqinterpol factory to produce | |
1603 WQKmsInterpolArtifacts. | |
1604 | |
1605 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1606 | |
1607 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java: | |
1608 Use StyledSeriesBuilder to add WQ data from WQKms to Series. | |
1609 | |
1610 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1611 | |
1612 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java: | |
1613 Handle interpolated WQ data. | |
1614 | |
1615 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1616 | |
1617 * src/main/java/de/intevation/flys/artifacts/StaticWQKmsArtifact.java: | |
1618 Adjusted to similar implementations. Added TODO about merging with | |
1619 these similar implementations. | |
1620 | |
1621 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1622 | |
1623 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
1624 Removed logging noise, find better suited rows for interpolation. | |
1625 | |
1626 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1627 | |
1628 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory.java: | |
1629 Cache WstValueTables that were fetched by wst_id. | |
1630 | |
1631 2011-11-16 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1632 | |
1633 * src/main/java/de/intevation/flys/artifacts/model/WKmsFactory.java: | |
1634 (getWstName): Fix and use SQL statement. | |
1635 | |
1636 2011-11-15 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1637 | |
1638 * src/main/java/de/intevation/flys/artifacts/model/WQFacet.java, | |
1639 src/main/java/de/intevation/flys/artifacts/WQKmsInterpolArtifact.java: | |
1640 Added new Facet and Artifact to access W over Q data. | |
1641 | |
1642 2011-11-15 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1643 | |
1644 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
1645 (importData): New function to copy data from one artifact to | |
1646 another. | |
1647 | |
1648 2011-11-15 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1649 | |
1650 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory.java | |
1651 (getTable): New methods to get WstValueTable for given wst_id. | |
1652 Prepolate Arrays with NaNs. | |
1653 | |
1654 2011-11-15 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1655 | |
1656 * src/main/java/de/intevation/flys/artifacts/model/WKmsFactory.java: | |
1657 (getWKmsName): Fix definition. | |
1658 | |
1659 2011-11-15 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1660 | |
1661 * src/main/java/de/intevation/flys/artifacts/model/WKmsFactory.java: | |
1662 (getWKmsName): New function. Get name (description) of a WST. | |
1663 | |
1664 2011-11-15 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1665 | |
1666 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: | |
1667 Added new "other.wq"/STATIC_WQ Facet-Type, e.g. for fixations in | |
1668 discharge curves. | |
1669 | |
1670 2011-11-15 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1671 | |
1672 Picky cosmetics. | |
1673 | |
1674 * src/main/java/de/intevation/flys/artifacts/model/QRangeTree.java, | |
1675 src/main/java/de/intevation/flys/artifacts/model/ManagedFacetAdapter.java, | |
1676 src/main/java/de/intevation/flys/artifacts/datacage/templating/Builder.java, | |
1677 src/main/java/de/intevation/flys/artifacts/states/ComputationRangeState.java: | |
1678 Cosmetics, docs. | |
1679 | |
1680 2011-11-15 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1681 | |
1682 Added translations for Mosel, Elbe and Saar. | |
1683 | |
1684 * src/main/resources/messages.properties, | |
1685 src/main/resources/messages_de_DE.properties, | |
1686 src/main/resources/messages_en.properties, | |
1687 src/main/resources/messages_de.properties: Added translations | |
1688 for Mosel, Elbe, Saar. | |
1689 | |
1690 2011-11-15 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1691 | |
1692 Added new interpolation mechanism to WstValueTable to interpolate | |
1693 given columns only. | |
1694 | |
1695 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java | |
1696 (linearW): New, interpolate a given columns w's between given rows. | |
1697 (interpolateWQColumnwise): New, interpolate between rows ws at a | |
1698 given column and km. | |
1699 | |
1700 2011-11-14 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1701 | |
1702 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
1703 Minor doc added. | |
1704 | |
1705 2011-11-13 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1706 | |
1707 * src/main/java/de/intevation/flys/artifacts/math/DifferenceCurveFacet.java, | |
1708 src/main/java/de/intevation/flys/artifacts/model/WQKmsFactory.java, | |
1709 src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java, | |
1710 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java, | |
1711 src/main/java/de/intevation/flys/exports/StyledSeriesBuilder.java, | |
1712 src/main/java/de/intevation/flys/themes/ThemeFactory.java: | |
1713 Removed dead ';' from empty bodies. | |
1714 | |
1715 2011-11-13 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1716 | |
1717 * src/main/java/de/intevation/flys/jfree/StableXYDifferenceRenderer.java: | |
1718 s/reset/resetQuick/s in TDoubleArrayLists. | |
1719 | |
1720 2011-11-13 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1721 | |
1722 * src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java: | |
1723 Added system properties 'waterlevel' and 'km'. Useful to | |
1724 init the UI with a given waterlevel and drawing the cross-sections | |
1725 at the given km. | |
1726 | |
1727 * src/main/java/de/intevation/flys/jfree/StableXYDifferenceRenderer.java: | |
1728 Spliting by NaNs definition holes _should_ work now. Needs | |
1729 some more testing. | |
1730 TODOs: | |
1731 - Use log4j instead of println for logging. | |
1732 - Subclass XYDifferenceRenderer instead of replacing it totally. | |
1733 | |
1734 2011-11-12 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1735 | |
1736 * src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java: | |
1737 Draw water, too. | |
1738 | |
1739 * src/main/java/de/intevation/flys/jfree/StableXYDifferenceRenderer.java: | |
1740 First code to split datasets by NaNs. WIP. | |
1741 | |
1742 2011-11-12 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1743 | |
1744 * src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java: | |
1745 Draw ground with StableXYDifferenceRenderer. | |
1746 | |
1747 * src/main/java/de/intevation/flys/jfree/StableXYDifferenceRenderer.java: | |
1748 Removed XYDatasetToZeroMapper stuff. Not needed any longer | |
1749 because we use rendereres on dataset basis now. | |
1750 | |
1751 * src/main/java/de/intevation/flys/jfree/XYDatasetToZeroMapper.java: | |
1752 Removed.Not longer needed. | |
1753 | |
1754 2011-11-11 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1755 | |
1756 * doc/conf/meta-data.xml: Include computed discharge curves in dc | |
1757 conf. | |
1758 | |
1759 2011-11-11 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1760 | |
1761 * doc/conf/meta-data.xml: Somewhat unify user-part of dc config. | |
1762 | |
1763 2011-11-11 Ingo Weinzierl <ingo@intevation.de> | |
1764 | |
1765 * doc/conf/themes.xml: Modified some floodmap styles and added a | |
1766 backgroundcolor attribute to polygon themes. | |
1767 | |
1768 * src/main/java/de/intevation/flys/artifacts/model/MapserverStyle.java: | |
1769 Added support for backgroundcolor. | |
1770 | |
1771 * src/main/java/de/intevation/flys/utils/ThemeUtil.java: Parse | |
1772 backgroundcolor from theme document. If a value is given, the | |
1773 backgroundcolor is set on the Mapserver style. | |
1774 | |
1775 2011-11-11 Ingo Weinzierl <ingo@intevation.de> | |
1776 | |
1777 * src/main/java/de/intevation/flys/artifacts/model/MapserverStyle.java: | |
1778 Set correct Mapserver attribute name to adjust the width of a line. | |
1779 | |
1780 2011-11-11 Ingo Weinzierl <ingo@intevation.de> | |
1781 | |
1782 * doc/conf/themes.xml: Added 'textcolor' and 'textsize' attributes to the | |
1783 existing 'Kms' theme. | |
1784 | |
1785 * doc/conf/mapserver/fontset.txt: Defined a 'DefaultFont' that is used as | |
1786 default font for Mapserver labels. | |
1787 | |
1788 * doc/conf/mapserver/db_layer.vm: Add a Mapserver LABELITEM if a value is | |
1789 provided by LayerInfo object. | |
1790 | |
1791 * src/main/java/de/intevation/flys/artifacts/WMSDBArtifact.java: Added a | |
1792 getLabelItem() method that returns null as default. | |
1793 | |
1794 * src/main/java/de/intevation/flys/artifacts/WMSKmArtifact.java: Override | |
1795 getLabelItem() to return "km" which is the database field that contains | |
1796 the kilometer information. | |
1797 | |
1798 * src/main/java/de/intevation/flys/artifacts/model/LayerInfo.java, | |
1799 src/main/java/de/intevation/flys/artifacts/model/WMSDBLayerFacet.java: | |
1800 Added an attribute labelItem with appropriate getter/setter methods. | |
1801 | |
1802 * src/main/java/de/intevation/flys/artifacts/model/MapserverStyle.java: | |
1803 Splitted up the internal class Clazz. Now, there are two new inner | |
1804 classes Style and Label that fulfill the appropriate Mapfile sections of | |
1805 Mapserver. | |
1806 | |
1807 * src/main/java/de/intevation/flys/utils/ThemeUtil.java: Also Read font | |
1808 attributes and add new Clazz Label for the Mapserver layer. | |
1809 | |
1810 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Set the | |
1811 "labelItem" attribute on the LayerInfo object used to fill DB layer | |
1812 templates. | |
1813 | |
1814 2011-11-11 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1815 | |
1816 * doc/conf/meta-data.xml: Re-use macros to include more data to | |
1817 datacage in more situations. | |
1818 | |
1819 2011-11-11 Ingo Weinzierl <ingo@intevation.de> | |
1820 | |
1821 * src/main/java/de/intevation/flys/artifacts/model/WMSLayerFacet.java: | |
1822 Removed needless imports. | |
1823 | |
1824 2011-11-10 Ingo Weinzierl <ingo@intevation.de> | |
1825 | |
1826 * src/main/java/de/intevation/flys/artifacts/WMSFixpointsArtifact.java: New | |
1827 WMSDBArtifact that creates facets for "fixpoints" relation. | |
1828 | |
1829 * doc/conf/artifacts/winfo.xml: Registered "floodmap.fixpoints" as valid | |
1830 "floodmap" facet. | |
1831 | |
1832 * doc/conf/conf.xml: Registered the new WMSFixpointsArtifact. | |
1833 | |
1834 * doc/conf/themes.xml: Added a theme for "floodmap.fixpoints". | |
1835 | |
1836 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added | |
1837 Facet type "floodmap.fixpoints". | |
1838 | |
1839 * doc/conf/meta-data.xml: Made "floodmap.fixpoints" available via datacage. | |
1840 | |
1841 * src/main/resources/messages.properties, | |
1842 src/main/resources/messages_de_DE.properties, | |
1843 src/main/resources/messages_en.properties, | |
1844 src/main/resources/messages_de.properties: Added titles for | |
1845 "floodmap.fixpoints" facets. | |
1846 | |
1847 2011-11-10 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1848 | |
1849 * doc/conf/meta-data.xml: Refactored and (re)use macros. | |
1850 | |
1851 2011-11-10 Ingo Weinzierl <ingo@intevation.de> | |
1852 | |
1853 * src/main/java/de/intevation/flys/artifacts/WMSBuildingsArtifact.java: New | |
1854 WMSDBArtifact that creates facets for "buildings" relation. | |
1855 | |
1856 * doc/conf/artifacts/winfo.xml: Registered "floodmap.buildings" as valid | |
1857 "floodmap" facet. | |
1858 | |
1859 * doc/conf/conf.xml: Registered the new WMSBuildingsArtifact. | |
1860 | |
1861 * doc/conf/themes.xml: Added a theme for "floodmap.buildings". | |
1862 | |
1863 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added | |
1864 Facet type "floodmap.buildings". | |
1865 | |
1866 * doc/conf/meta-data.xml: Made "floodmap.buildings" available via datacage. | |
1867 | |
1868 * src/main/resources/messages.properties, | |
1869 src/main/resources/messages_de_DE.properties, | |
1870 src/main/resources/messages_en.properties, | |
1871 src/main/resources/messages_de.properties: Added titles for | |
1872 "floodmap.buildings" facets. | |
1873 | |
1874 2011-11-10 Ingo Weinzierl <ingo@intevation.de> | |
1875 | |
1876 * src/main/java/de/intevation/flys/artifacts/WMSLineArtifact.java: New | |
1877 WMSDBArtifact that creates facets for "lines" relation. | |
1878 | |
1879 * doc/conf/artifacts/winfo.xml: Registered "floodmap.lines" as valid | |
1880 "floodmap" facet. | |
1881 | |
1882 * doc/conf/conf.xml: Registered the new WMSLineArtifact. | |
1883 | |
1884 * doc/conf/themes.xml: Added a theme for "floodmap.lines". | |
1885 | |
1886 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added | |
1887 Facet type "floodmap.lines". | |
1888 | |
1889 * doc/conf/meta-data.xml: Made "floodmap.lines" available via datacage. | |
1890 | |
1891 * src/main/resources/messages.properties, | |
1892 src/main/resources/messages_de_DE.properties, | |
1893 src/main/resources/messages_en.properties, | |
1894 src/main/resources/messages_de.properties: Added titles for facets. | |
1895 | |
1896 2011-11-10 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1897 | |
1898 * doc/conf/meta-data.xml: Adjusted DC configuration to | |
1899 also allow heightmarks and base data in discharge longitudinal | |
1900 sections. Minor refac. | |
1901 | |
1902 2011-11-10 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1903 | |
1904 * doc/conf/meta-data.xml: Adjusted DC configuration to let old | |
1905 calculations be available for discharge longitudinal sections. | |
1906 | |
1907 2011-11-10 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1908 | |
1909 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java: | |
1910 Handle other WQKm and WKm Facets. | |
1911 | |
1912 2011-11-10 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1913 | |
1914 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java | |
1915 (IS): New inner class with static method to allow queries whether | |
1916 a type belongs to a however-defined "group". | |
1917 | |
1918 2011-11-10 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1919 | |
1920 * doc/conf/conf.xml: Reverted accidental commit. | |
1921 | |
1922 * doc/conf/meta-data.xml: Extracted annotations-macro, add recommendation | |
1923 for discharge longitudinal sections. | |
1924 | |
1925 2011-11-10 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1926 | |
1927 * doc/conf/conf.xml: Reverted accidental commit. | |
1928 | |
1929 * doc/conf/meta-data.xml: Extracted annotations-macro, add recommendation | |
1930 for discharge longitudinal sections. | |
1931 | |
1932 2011-11-10 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1933 | |
1934 Made discharge longitudinal section out compatible with annotations. | |
1935 | |
1936 * doc/conf/artifacts/winfo.xml: Added facets to compatibility list | |
1937 for discharge longitudinal section outs. | |
1938 | |
1939 2011-11-10 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1940 | |
1941 Extracted Annotations-Macro in dc conf, recommend Annotations for | |
1942 discharge longitudinal sections. (Note correction two commits later). | |
1943 | |
1944 * doc/conf/conf.xml: Extracted annotations-macro, add recommendation | |
1945 for discharge longitudinal sections. | |
1946 | |
1947 2011-11-10 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1948 | |
1949 Handle Annotations in DischargeLongitudinalSection diagrams. | |
1950 | |
1951 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java: | |
1952 Call doAnnotations for LONGITUDINAL_ANNOTATION facets. | |
1953 | |
1954 2011-11-10 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1955 | |
1956 Resolve code duplicate. | |
1957 | |
1958 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java | |
1959 (doAnnotationsOut): Removed duplicate code. | |
1960 Theoretically handle WQKMS data. | |
1961 | |
1962 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java: | |
1963 Adjusted call to doAnnotationOut. | |
1964 | |
1965 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java | |
1966 (doAnnotations): Doc from LongitudinalSectionGenerator. | |
1967 | |
1968 2011-11-10 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1969 | |
1970 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
1971 Include exception when logging issue with spline creation. | |
1972 | |
1973 2011-11-10 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
1974 | |
1975 * src/main/java/de/intevation/flys/artifacts/datacage/templating/Builder.java: | |
1976 When during XPath evaluation an exception is thrown, log the | |
1977 expression that caused the trouble. | |
1978 | |
1979 2011-11-10 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
1980 | |
1981 * src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java: | |
1982 Use separate XYDataset for each curve. This is needed because | |
1983 "Raum/Flaeche" needs specialized renderers, which are not compatible | |
1984 with the standard renderers. | |
1985 | |
1986 * src/main/java/de/intevation/flys/artifacts/CollectionMonitor.java: | |
1987 Removed superfluous import. | |
1988 | |
1989 2011-11-09 Ingo Weinzierl <ingo@intevation.de> | |
1990 | |
1991 * src/main/java/de/intevation/flys/artifacts/WMSFloodplainArtifact.java: New | |
1992 Artifact that is used to create WMS layers for floodplains in maps. | |
1993 | |
1994 * doc/conf/conf.xml: Registered the new WMSFloodplainArtifact. | |
1995 | |
1996 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added | |
1997 a new type 'floodmap.floodplain'. | |
1998 | |
1999 * doc/conf/artifacts/winfo.xml: Registered the 'floodmap.floodplain' facet | |
2000 for floodmaps. | |
2001 | |
2002 * doc/conf/themes.xml: Added a theme for 'floodmap.floodplain' facets. | |
2003 | |
2004 * doc/conf/meta-data.xml: Added configuration for 'floodplain'. | |
2005 | |
2006 * src/main/resources/messages.properties, | |
2007 src/main/resources/messages_de_DE.properties, | |
2008 src/main/resources/messages_en.properties, | |
2009 src/main/resources/messages_de.properties: Added facet titles for | |
2010 'floodmap.floodplain' facets. | |
2011 | |
2012 2011-11-09 Ingo Weinzierl <ingo@intevation.de> | |
2013 | |
2014 * src/main/java/de/intevation/flys/artifacts/WMSCatchmentArtifact.java: New | |
2015 Artifact that is used to create WMS layers for catchments in maps. | |
2016 | |
2017 * doc/conf/conf.xml: Registered the new WMSCatchmentArtifact. | |
2018 | |
2019 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added | |
2020 a new type 'floodmap.catchment'. | |
2021 | |
2022 * doc/conf/artifacts/winfo.xml: Registered the 'floodmap.catchment' facet | |
2023 for floodmaps. | |
2024 | |
2025 * doc/conf/themes.xml: Added a theme for 'floodmap.catchment' facets. | |
2026 | |
2027 * doc/conf/meta-data.xml: Added configuration for 'catchments'. | |
2028 | |
2029 * src/main/resources/messages.properties, | |
2030 src/main/resources/messages_de_DE.properties, | |
2031 src/main/resources/messages_en.properties, | |
2032 src/main/resources/messages_de.properties: Added facet titles for | |
2033 'floodmap.catchment' facets. | |
2034 | |
2035 2011-11-09 Ingo Weinzierl <ingo@intevation.de> | |
2036 | |
2037 * src/main/java/de/intevation/flys/artifacts/WMSHwsArtifact.java: New | |
2038 Artifact that is used to create WMS layers for flood protected works. | |
2039 | |
2040 * doc/conf/conf.xml: Registered the new WMSHwsArtifact. | |
2041 | |
2042 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added | |
2043 a new type 'floodmap.hws'. | |
2044 | |
2045 * doc/conf/artifacts/winfo.xml: Registered the 'floodmap.hws' facet for | |
2046 floodmaps. | |
2047 | |
2048 * doc/conf/themes.xml: Added a theme for 'floodmap.hws' facets. | |
2049 | |
2050 * doc/conf/meta-data.xml: Added configuration for 'hws'. | |
2051 | |
2052 * src/main/resources/messages.properties, | |
2053 src/main/resources/messages_de_DE.properties, | |
2054 src/main/resources/messages_en.properties, | |
2055 src/main/resources/messages_de.properties: Added facet titles for | |
2056 'floodmap.hws' facets. | |
2057 | |
2058 2011-11-09 Ingo Weinzierl <ingo@intevation.de> | |
2059 | |
2060 * doc/conf/mapserver/dbconnection.include: Removed. DB connections are | |
2061 supported by LayerInfo objects now. So, we do not need to configure it any | |
2062 more. | |
2063 | |
2064 * doc/conf/mapserver/db_layer.vm: The database connection is provided by | |
2065 LayerInfo objects. The "INCLUDE dbconnection.include" has been replaced. | |
2066 | |
2067 * src/main/java/de/intevation/flys/artifacts/WMSDBArtifact.java: The inner | |
2068 State class got two new methods that provide information about db | |
2069 connection string and connection type. | |
2070 | |
2071 * src/main/java/de/intevation/flys/artifacts/model/WMSDBLayerFacet.java, | |
2072 src/main/java/de/intevation/flys/artifacts/model/LayerInfo.java: Both | |
2073 classes support getter/setter for connection and connectionType. | |
2074 | |
2075 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Fill | |
2076 LayerInfo objects used to create DB layers with the connection and | |
2077 connection type provided by WMSDBLayerFacet. | |
2078 | |
2079 2011-11-09 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
2080 | |
2081 Allow height marks with points style in w-differences diagrams. | |
2082 | |
2083 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java: | |
2084 Handle HEIGHTMARKS_POINTS facets. | |
2085 | |
2086 2011-11-09 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
2087 | |
2088 Made Q Duration curve initially inactive. | |
2089 | |
2090 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java | |
2091 (getInitialFacetActivity): Return 0 for DURATION_Q facets. Minor | |
2092 cosmetics. | |
2093 | |
2094 2011-11-09 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
2095 | |
2096 Recommend mainvalues for Duration Curve Diagrams. | |
2097 | |
2098 * doc/conf/meta-data.xml: Recommend mainvalues for duration curve | |
2099 diagrams. refactored into macro. | |
2100 | |
2101 2011-11-09 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
2102 | |
2103 Handle MainValue Facets in Duration Curve Diagrams. | |
2104 | |
2105 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java: | |
2106 Handle MainValues. | |
2107 | |
2108 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java: | |
2109 Adjusted to call doAnnotations. | |
2110 | |
2111 2011-11-09 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
2112 | |
2113 Move do*Annotation* (like mainvalue) in XYChartGenerator. | |
2114 | |
2115 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java | |
2116 (doAnnotations): New, moved from DischargeCurveGenerator. | |
2117 | |
2118 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java | |
2119 (doMainValueAnnotations): Moved to superclass. | |
2120 | |
2121 2011-11-09 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
2122 | |
2123 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java: | |
2124 Removed duplicate code. | |
2125 | |
2126 2011-11-09 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
2127 | |
2128 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java | |
2129 (): Minor cosmetics, added stability. | |
2130 (getInitialFacetActivity): Let facets be inactive in duration curve | |
2131 diagrams. | |
2132 | |
2133 2011-11-09 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
2134 | |
2135 * doc/conf/artifacts/winfo.xml: Allow other.wqkms facets in many | |
2136 outputs, mainvalues in duration curves. | |
2137 | |
2138 2011-11-09 Ingo Weinzierl <ingo@intevation.de> | |
2139 | |
2140 * doc/conf/mapserver/dbconnection.include: Adapted connection params for | |
2141 using an oracle database. | |
2142 | |
2143 * src/main/java/de/intevation/flys/artifacts/WMSQPSArtifact.java, | |
2144 src/main/java/de/intevation/flys/artifacts/WMSKmArtifact.java, | |
2145 src/main/java/de/intevation/flys/artifacts/RiverAxisArtifact.java: | |
2146 Added Oracle support for Mapserver's DATA attribute. Oracle doesn't allow | |
2147 a "USING UNIQUE id" string in this attribute which is required by Postgis. | |
2148 | |
2149 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: | |
2150 Modified the geometry type of "talaue.shp" from MultiPolygon to Polygon. | |
2151 | |
2152 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: Added a function | |
2153 which returns true, if the backend uses an Oracle db instance. Otherwise, | |
2154 it returns false. | |
2155 | |
2156 2011-11-08 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
2157 | |
2158 Fix flys/issue406 (Themestyle-editor: themes for "other.wkms" and | |
2159 "other.wqkms" missing) | |
2160 | |
2161 * doc/conf/themes.xml: Fixed typos in WKms and WQKms theme names. | |
2162 | |
2163 2011-11-08 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
2164 | |
2165 Fix flys/issue405 (Datacage: Recommendations get loaded twice). | |
2166 | |
2167 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java | |
2168 (setup): Do not try/catch exception. | |
2169 (spawn_state): Generate just one "general" output. | |
2170 | |
2171 2011-11-08 Ingo Weinzierl <ingo@intevation.de> | |
2172 | |
2173 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java: | |
2174 Added a log.warn() which prints out an exception - previously it was | |
2175 just skipped. | |
2176 | |
2177 2011-11-08 Ingo Weinzierl <ingo@intevation.de> | |
2178 | |
2179 * doc/conf/meta-data.xml: Removed orphaned datacage configuration which is | |
2180 no longer loadable. | |
2181 | |
2182 2011-11-07 Ingo Weinzierl <ingo@intevation.de> | |
2183 | |
2184 * doc/conf/conf.xml: Added an "post-describe" hook which is necessary to | |
2185 load recommendations for "floodmaps". | |
2186 | |
2187 2011-11-07 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
2188 | |
2189 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory.java | |
2190 (loadRows, loadColumns, loadQRanges): Refactored in preparation to | |
2191 ability to create WstValueTables for given wst_id and | |
2192 column_pos (interpolation for static data). | |
2193 | |
2194 2011-11-07 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
2195 | |
2196 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java, | |
2197 src/main/java/de/intevation/flys/artifacts/states/LocationSelect.java: | |
2198 Minor, picky cosmetics. | |
2199 | |
2200 * src/main/java/de/intevation/flys/artifacts/model/WQKmsFactory.java: | |
2201 Removed junk. | |
2202 | |
2203 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
2204 Added documentation. | |
2205 | |
2206 2011-11-07 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
2207 | |
2208 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
2209 Be more specific in what to catch. | |
2210 | |
2211 2011-11-04 Ingo Weinzierl <ingo@intevation.de> | |
2212 | |
2213 * doc/conf/meta-data.xml: Added the CrossSectionTracks to the "floodmap" | |
2214 datacage configuration. | |
2215 | |
2216 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added a | |
2217 FacetType "floodmap.qps". | |
2218 | |
2219 * doc/conf/conf.xml: Defined an ArtifactFactory for the "wmspqsartifact" | |
2220 string. The factory will create new instances of WMSQPSArtifact. | |
2221 | |
2222 * src/main/java/de/intevation/flys/artifacts/WMSQPSArtifact.java: New. This | |
2223 Artifact is used to create "floodmap.qps" facets. It has an internal fixed | |
2224 State WMSQPSState. | |
2225 | |
2226 * doc/conf/artifacts/winfo.xml: Added the "floodmap.qps" layer to the | |
2227 "floodmap" output. | |
2228 | |
2229 * doc/conf/themes.xml: Added a theme for "floodmap.qps" facets. | |
2230 | |
2231 * src/main/resources/messages.properties, | |
2232 src/main/resources/messages_de_DE.properties, | |
2233 src/main/resources/messages_en.properties, | |
2234 src/main/resources/messages_de.properties: Added strings for the QPS WMS | |
2235 layer used in floodmaps. | |
2236 | |
2237 2011-11-04 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
2238 | |
2239 Re-enable mainvalue-recommendations for computed discharge curves, | |
2240 as the NPE should be gone. | |
2241 | |
2242 * doc/conf/meta-data.xml: Uncomment mainvalue recommendations. | |
2243 | |
2244 2011-11-04 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
2245 | |
2246 When querying metadata/datacage, use only output-names of outputs that | |
2247 actually exists (in the sense of having facets). | |
2248 | |
2249 * src/main/java/de/intevation/flys/artifacts/CollectionMonitor.java: | |
2250 Get output names from artifact, not from state. | |
2251 | |
2252 2011-11-04 Ingo Weinzierl <ingo@intevation.de> | |
2253 | |
2254 * doc/conf/meta-data.xml: Removed DEMs from floodmap configuration, | |
2255 because we are not able to draw DEMs into maps. | |
2256 | |
2257 2011-11-04 Ingo Weinzierl <ingo@intevation.de> | |
2258 | |
2259 * src/main/java/de/intevation/flys/artifacts/RiverAxisArtifact.java: | |
2260 Subclasses WMSDBArtifact now and defines an inner class RiverAxisState | |
2261 which subclasses WMSDBState. | |
2262 | |
2263 * src/main/java/de/intevation/flys/artifacts/states/RiverAxisState.java: | |
2264 Removed. The RiverAxisState is an inner class of RiverAxisArtifact now | |
2265 which subclasses WMSDBState. | |
2266 | |
2267 * doc/conf/artifacts/riveraxis.xml: Removed, because the RiverAxisArtifact | |
2268 has a fixed static State only. | |
2269 | |
2270 * doc/conf/conf.xml: Removed riveraxis.xml definition. | |
2271 | |
2272 2011-11-04 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
2273 | |
2274 For a Flys-Collection, add outputt to attributes-part of describe | |
2275 document only if they contain facets. -> Prevent empty output nodes | |
2276 in flys-collections outputs. | |
2277 | |
2278 * src/main/java/de/intevation/flys/collections/AttributeWriter.java: | |
2279 (writeFacets): Added return type to indicate whether any facet was | |
2280 written. Decide whether to add an output-node depending on this | |
2281 return value. | |
2282 | |
2283 2011-11-04 Ingo Weinzierl <ingo@intevation.de> | |
2284 | |
2285 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Create | |
2286 line and polygon layers for barriers only if they are really existing. | |
2287 | |
2288 2011-11-04 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
2289 | |
2290 Disable mainvalue-recommendations for discharge curves as they trigger | |
2291 a yet-to-be understood NPE. | |
2292 | |
2293 * doc/conf/meta-data.xml: Comment mainvalue-recommendations for | |
2294 discharge curves. | |
2295 | |
2296 2011-11-04 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
2297 | |
2298 Added new matching condition for theme-mappings: the name of | |
2299 the output. | |
2300 | |
2301 * src/main/java/de/intevation/flys/themes/ThemeMapping.java: | |
2302 Added output field and function to match it against a given | |
2303 output name. | |
2304 | |
2305 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java: | |
2306 Createing ThemeMapping with output attribute from configuration. | |
2307 | |
2308 * src/main/java/de/intevation/flys/themes/ThemeFactory.java: | |
2309 (getTheme(FLYSContext, string)): Removed, never called. | |
2310 (getTheme): Added outputName argument, match it. | |
2311 | |
2312 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
2313 Pass outputs name until it can be matched against mapping. | |
2314 | |
2315 2011-11-04 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
2316 | |
2317 * doc/conf/themes.xml: Added default themes for other.w(q)kms. | |
2318 | |
2319 2011-11-04 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
2320 | |
2321 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java, | |
2322 src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java: | |
2323 Cosmetics, reduce logging noise. | |
2324 | |
2325 2011-11-03 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
2326 | |
2327 Added access to static W_Q_Kms - data in much the same way then static | |
2328 WKms. | |
2329 | |
2330 * src/main/java/de/intevation/flys/artifacts/model/StaticWQKmsCacheKey.java: | |
2331 Cache Key for static wqkms data. | |
2332 | |
2333 * src/main/java/de/intevation/flys/artifacts/model/WQKmsFacet.java: | |
2334 Facet for WQKms. | |
2335 | |
2336 * src/main/java/de/intevation/flys/artifacts/model/WQKmsFactory.java: | |
2337 Factory to access WQKms. | |
2338 | |
2339 * src/main/java/de/intevation/flys/artifacts/StaticWQKmsArtifact.java: | |
2340 Artifact that provides 'static' WQKms. | |
2341 | |
2342 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: | |
2343 Added STATIC_WQKMS type. | |
2344 | |
2345 2011-11-03 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
2346 | |
2347 * src/main/java/de/intevation/flys/jfree/XYDatasetToZeroMapper.java: | |
2348 New. Maps series to zero to be compatible with XYDifferenceRenderer. | |
2349 It returns an iterator over XYDatasets to enable splitting by NaNs, | |
2350 which still needs to be implemented. | |
2351 | |
2352 * src/main/java/de/intevation/flys/jfree/StableXYDifferenceRenderer.java: | |
2353 Uses a XYDatasetToZeroMapper now. Fixed package name. | |
2354 | |
2355 2011-11-03 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
2356 | |
2357 Added new matching options for theme-mappings to allow more | |
2358 overspecification of defaults (e.g. now name,description-pattern and | |
2359 master-artifacts attributes are matched). The first full match from | |
2360 the configuration file is done. | |
2361 New matching option in the masterAttr- field of a mapping are | |
2362 super-basic until new use-cases come up. | |
2363 Concrete new themes are point-styles of Ws when locations where chosen | |
2364 to calculate. | |
2365 | |
2366 * doc/conf/themes.xml: Added newly defined Themes. | |
2367 | |
2368 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
2369 Put master-artifact in flys-context. | |
2370 | |
2371 * src/main/java/de/intevation/flys/themes/ThemeMapping.java: | |
2372 Accept masterAttr in constructor. | |
2373 (masterAttrMatches): New, check masterAttr-condition against | |
2374 artifact. | |
2375 | |
2376 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java: | |
2377 When creating ThemeMappings, pass in masterAttr. | |
2378 | |
2379 * src/main/java/de/intevation/flys/themes/ThemeFactory.java: | |
2380 (getTheme): Evaluate masterAttr-condition, always return first full | |
2381 match. | |
2382 | |
2383 2011-11-03 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
2384 | |
2385 * src/main/java/de/intevation/flys/artifacts/context/FLYSContext.java: | |
2386 Added ARTIFACT key, documentation. | |
2387 | |
2388 2011-11-03 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
2389 | |
2390 * src/main/java/de/intevation/flys/jfree/StableXYDifferenceRenderer.java: | |
2391 New. At the moment a pure copy of JFreeChart's XYDifferenceRenderer. | |
2392 Needs to be refactored to cope with its limitations: | |
2393 | |
2394 - Series numbers need to be zero based. We have more than two series | |
2395 in our diagrams. | |
2396 | |
2397 - Cannot handle definition holes indicated by NaNs. We have these | |
2398 cases e.g. more than one "Fliessbereich". | |
2399 | |
2400 2011-11-03 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
2401 | |
2402 * src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java: | |
2403 Reenabled dumping data to disk. | |
2404 | |
2405 2011-11-03 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
2406 | |
2407 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java: | |
2408 Removed superfluous import. | |
2409 | |
2410 2011-11-03 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
2411 | |
2412 * src/main/java/de/intevation/flys/artifacts/datacage/templating/Builder.java: | |
2413 Use new pair in stack of results and connections because they are | |
2414 always used in pairs. Maintaining two separate stacks is not | |
2415 needed any longer. | |
2416 | |
2417 2011-11-03 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
2418 | |
2419 * src/main/java/de/intevation/flys/utils/Pair.java: New. A generic pair. | |
2420 | |
2421 * src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java: | |
2422 Rewritten to useful as test bed for "Raum/Flaeche" operations. | |
2423 | |
2424 2011-11-02 Ingo Weinzierl <ingo@intevation.de> | |
2425 | |
2426 * src/main/java/de/intevation/flys/artifacts/model/LayerInfo.java: Added | |
2427 setter methods for all parameters and removed the constructors. There is | |
2428 just an empty constructor - all parameters need to be set via setter | |
2429 methods. | |
2430 | |
2431 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Modified the | |
2432 creation of LayerInfo objects. | |
2433 | |
2434 * src/main/java/de/intevation/flys/artifacts/model/DBLayerInfo.java: | |
2435 Removed, because the internal structure and constructors of LayerInfo have | |
2436 changed, so that we gonna use LayerInfo for all layers now. | |
2437 | |
2438 * doc/conf/themes.xml: Modified the color definitions of | |
2439 'floodmap.riveraxis' and 'floodmap.kms' themes and added a 'symbol' field | |
2440 to 'floodmap.kms'. | |
2441 | |
2442 * doc/conf/mapserver/symbols.sym, | |
2443 doc/conf/mapserver/fontset.txt: New. Required by Mapserver. | |
2444 | |
2445 * doc/conf/mapserver/db_layer.vm: Added an 'EXTENT' field that is filled | |
2446 using LayerInfo.getExtent(). | |
2447 | |
2448 * doc/conf/mapserver/mapfile.vm: Modified FONTSET directory and added a | |
2449 SYMBOLSET. | |
2450 | |
2451 * src/main/java/de/intevation/flys/artifacts/WMSDBArtifact.java: Added an | |
2452 abstract method getGeometryType(). | |
2453 | |
2454 * src/main/java/de/intevation/flys/artifacts/WMSKmArtifact.java: Override | |
2455 getGeometryType() of WMSDBArtifact. This Artifact provides "POINT"s. | |
2456 | |
2457 * src/main/java/de/intevation/flys/artifacts/states/RiverAxisState.java: | |
2458 Create new WMSDBLayerFacets with geometry type "LINE". | |
2459 | |
2460 * src/main/java/de/intevation/flys/artifacts/model/WMSDBLayerFacet.java: | |
2461 Added a 'geometryType' attribute and getter/setter methods. This attribute | |
2462 determines the type of geometry provided by this database wms layer. Types | |
2463 could be "POLYGON", "POINT", "LINE" and so on. | |
2464 | |
2465 * src/main/java/de/intevation/flys/artifacts/model/MapserverStyle.java: | |
2466 Added a 'symbol' attribute to the inner class Clazz. | |
2467 | |
2468 * src/main/java/de/intevation/flys/utils/ThemeUtil.java: Added a function to | |
2469 parse the symbol field of a theme. This symbol is used for | |
2470 MapserverStyle.Clazz. | |
2471 | |
2472 2011-11-02 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
2473 | |
2474 Apply point theme to heightmarks when imported in longitudinal | |
2475 section diagram. | |
2476 | |
2477 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: | |
2478 Added new FacetType HEIGHTMARK_POINTS. | |
2479 | |
2480 * src/main/java/de/intevation/flys/artifacts/model/WKmsFacet.java: | |
2481 Allow name to be given in constructor. | |
2482 | |
2483 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java: | |
2484 If heightmarks were loaded, give respective name in WKmsFacet | |
2485 generation. | |
2486 | |
2487 * doc/conf/themes.xml: Added virtual "Points" and concrete | |
2488 heightmark_points - theme. | |
2489 | |
2490 * doc/conf/artifacts/winfo.xml: Made longitudinal_section output | |
2491 compatible with heightmarks_points. | |
2492 | |
2493 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
2494 Render heightmarks like other wkms. | |
2495 | |
2496 * doc/conf/meta-data.xml: Changed heightmark ids such that it can be | |
2497 identified in StaticWKmsFacet . | |
2498 | |
2499 2011-11-02 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
2500 | |
2501 * src/main/java/de/intevation/flys/exports/StyledXYSeries.java: | |
2502 Documentation added. | |
2503 | |
2504 2011-11-02 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
2505 | |
2506 * src/main/java/de/intevation/flys/artifacts/model/ManagedDomFacet.java: | |
2507 Fix bug where (wrong) active-attribute was set, doc. | |
2508 | |
2509 2011-11-02 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
2510 | |
2511 Refactoring to allow mainvalues in both discharge and computed | |
2512 discharge curve diagrams. | |
2513 | |
2514 * src/main/java/de/intevation/flys/exports/StyledSeriesBuilder.java | |
2515 (addPointsQW): New helper function. | |
2516 | |
2517 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java, | |
2518 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java: | |
2519 Moved doMainValueQAnnotations, doMainValueWAnnotations from child- | |
2520 to parent-class, extracetd doDischargeOut. Use | |
2521 StyledSeriesBuilder.addPointsQW . | |
2522 | |
2523 2011-11-02 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
2524 | |
2525 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java: | |
2526 Removed logger/debugging noise. | |
2527 | |
2528 2011-11-02 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
2529 | |
2530 1) Pass outputs name to artifacts getInitialFacetActivity(). | |
2531 2) Do not allow "gaps" in positions of facets in outputs in attributes | |
2532 of collection (prevent e.g. positions 1,3,5; will become 1,2,3 | |
2533 instead). | |
2534 | |
2535 * src/main/java/de/intevation/flys/collections/AttributeWriter.java: | |
2536 Pass outputname to artifacts getInitialFacetActivity(), prevent | |
2537 gaps in facets positions in outputs (1,3,10 become 1,2,3). | |
2538 | |
2539 2011-11-02 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
2540 | |
2541 1) Give Artifacts information about the out when they have to decide | |
2542 whether a given facet is initially in/active by adding parameter | |
2543 to getInitialFacetActivity(+outputName). | |
2544 2) Generate separate Set of MainValueFacets for discharge curves. | |
2545 | |
2546 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java, | |
2547 src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java, | |
2548 src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java, | |
2549 src/main/java/de/intevation/flys/artifacts/WaterlevelArtifact.java, | |
2550 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
2551 (getInitialFacetActivity): Adjusted, new parameter outputName. | |
2552 Added MAINVALUES_{Q,W} definition. | |
2553 | |
2554 * src/main/java/de/intevation/flys/artifacts/model/MainValuesQFacet.java, | |
2555 src/main/java/de/intevation/flys/artifacts/model/MainValuesWFacet.java: | |
2556 Accept name in constructor. | |
2557 | |
2558 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java: | |
2559 Create second pair of MainValuesFacets, give distinguishable names. | |
2560 | |
2561 2011-11-02 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
2562 | |
2563 Added compatibility of (computed)discharge-curve diagrams with | |
2564 mainvalues. | |
2565 | |
2566 * doc/conf/artifacts/winfo.xml: Added mainvalues to compatibility list | |
2567 of (computed) discharge curve outputs. These facet-definitionss can | |
2568 differ in names because we can can have up to 4 mainvalue facets in | |
2569 one state. | |
2570 | |
2571 2011-11-01 Ingo Weinzierl <ingo@intevation.de> | |
2572 | |
2573 * src/main/java/de/intevation/flys/artifacts/WMSKmArtifact.java: Determine | |
2574 the extent of such WMS layer based on the list of RiverAxisKm objects | |
2575 returned by the backend. | |
2576 | |
2577 2011-11-01 Ingo Weinzierl <ingo@intevation.de> | |
2578 | |
2579 * doc/conf/meta-data.xml: Added a datacage node that represents a | |
2580 kilometer WMS layer. | |
2581 | |
2582 * doc/conf/conf.xml: Added a new Artifact WMSKmArtifact. | |
2583 | |
2584 * doc/conf/themes.xml: Added a style for 'floodmap.kms' facets. | |
2585 | |
2586 * doc/conf/artifacts/winfo.xml: Defined 'floodmap.kms' as valid floodmap | |
2587 facet. | |
2588 | |
2589 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added | |
2590 a 'floodmap.kms' facet. | |
2591 | |
2592 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: Added a method to | |
2593 determine the srid of a river based on its name. | |
2594 | |
2595 * src/main/java/de/intevation/flys/artifacts/WMSDBArtifact.java: New. This | |
2596 Artifact should act as base Artifact for WMS layers that represent data | |
2597 from database datastore. | |
2598 | |
2599 * src/main/java/de/intevation/flys/artifacts/WMSKmArtifact.java: New. This | |
2600 Artifact is used to generate facets for kilometer WMS layers. | |
2601 | |
2602 * src/main/resources/messages.properties, | |
2603 src/main/resources/messages_de_DE.properties, | |
2604 src/main/resources/messages_en.properties, | |
2605 src/main/resources/messages_de.properties: Added default descriptions | |
2606 for 'floodmap.kms' facets. | |
2607 | |
2608 2011-11-01 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
2609 | |
2610 Fix incompilability. | |
2611 | |
2612 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelInfoState.java: | |
2613 Adjust to changed CrossSectionFacet. | |
2614 | |
2615 2011-11-01 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
2616 | |
2617 Minor preparations to handle multiple cross sections in one | |
2618 diagram/artifact, faking certain aspects (e.g. ability to display | |
2619 multiple cross sections, but let these fetch the exactly same data | |
2620 for now). | |
2621 | |
2622 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
2623 Parameterize but fake access to cross-section (always take first | |
2624 one). | |
2625 (getCrossSectionName,getCrossSectionNames): Renamed, access names | |
2626 of all cross-sections, so that at least facets with different names | |
2627 are created (they will still deliver the same data). | |
2628 | |
2629 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionFacet.java: | |
2630 Allow indexing. | |
2631 | |
2632 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java: | |
2633 Index created cross-sections. | |
2634 | |
2635 2011-11-01 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
2636 | |
2637 Show multiple water lines and facets in cross-section diagram if | |
2638 multiple waterlevel values had been entered. | |
2639 | |
2640 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java | |
2641 (appendBackgroundActivity): Made static. | |
2642 (getWaterLines): Add 'idx' argument to specify index of queried | |
2643 waterlevel. | |
2644 | |
2645 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java: | |
2646 Add index. | |
2647 | |
2648 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java: | |
2649 Add one Facet for each of the computed waterlevels. | |
2650 | |
2651 2011-10-31 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
2652 | |
2653 * src/main/java/de/intevation/flys/artifacts/geom/VectorUtils.java: | |
2654 Added code to calculate intersection points. | |
2655 | |
2656 * src/main/java/de/intevation/flys/artifacts/geom/Polygon2D.java: | |
2657 Added polygons for trivial cases. WIP | |
2658 | |
2659 2011-10-31 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
2660 | |
2661 * src/main/java/de/intevation/flys/artifacts/geom/Polygon2D.java: | |
2662 Made it compilable again. | |
2663 | |
2664 2011-10-31 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
2665 | |
2666 * src/main/java/de/intevation/flys/artifacts/geom/VectorUtils.java: | |
2667 Made X() and Y() access macros public. | |
2668 | |
2669 * src/main/java/de/intevation/flys/artifacts/geom/Polygon2D.java: | |
2670 More code. WIP. | |
2671 | |
2672 2011-10-31 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
2673 | |
2674 * src/main/java/de/intevation/flys/artifacts/geom/Polygon2D.java: | |
2675 Handle start points when building polygons. Work in progress. | |
2676 | |
2677 2011-10-31 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
2678 | |
2679 * src/main/java/de/intevation/flys/artifacts/geom/VectorUtils.java: | |
2680 New. Vector operations on Point2D. | |
2681 | |
2682 * src/main/java/de/intevation/flys/artifacts/geom/Polygon2D.java: | |
2683 Moved vector operations to VectorUtils. | |
2684 | |
2685 2011-10-31 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
2686 | |
2687 * src/main/java/de/intevation/flys/artifacts/model/WKmsFactory.java: | |
2688 Do not call size() in for loop again and again. | |
2689 | |
2690 2011-10-30 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
2691 | |
2692 * src/main/java/de/intevation/flys/artifacts/geom/Polygon2D.java: | |
2693 Interim check in. Work in progress. | |
2694 | |
2695 2011-10-28 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
2696 | |
2697 * src/main/java/de/intevation/flys/artifacts/geom/Polygon2D.java: New. | |
2698 Polygon class to help creating "Raum/Flaeche" renderers with gaps in | |
2699 their definitions. WORK IN PROGRESS! | |
2700 | |
2701 2011-10-28 Ingo Weinzierl <ingo@intevation.de> | |
2702 | |
2703 * doc/conf/themes.xml: Added a default theme for the riveraxis used in the | |
2704 floodmap. | |
2705 | |
2706 * src/main/java/de/intevation/flys/artifacts/model/MapserverStyle.java: | |
2707 New. This class is used by ThemeUtil to create a style which is | |
2708 compatible for Mapserver- | |
2709 | |
2710 * src/main/java/de/intevation/flys/utils/ThemeUtil.java: Added a method to | |
2711 retrieve a Mapserver compatible style (as string) based on a given | |
2712 Document (that comes from CollectionItem's attribute). | |
2713 | |
2714 * src/main/java/de/intevation/flys/artifacts/model/LayerInfo.java: | |
2715 Implemented the setStyle() and getStyle() methods. | |
2716 | |
2717 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Added a | |
2718 new parameter 'style' to createDatabaseLayer(). This parameter is set on | |
2719 LayerInfo. | |
2720 | |
2721 * src/main/java/de/intevation/flys/exports/MapGenerator.java: Create | |
2722 Mapserver compatible styles and call createDatabaseLayer() with this | |
2723 style. | |
2724 | |
2725 2011-10-28 Ingo Weinzierl <ingo@intevation.de> | |
2726 | |
2727 * doc/conf/artifacts/winfo.xml: Defined "floodmap.riveraxis" and | |
2728 "floodmap.wmsbackground" as compatible layers for the floodmap output. | |
2729 | |
2730 * doc/conf/mapserver/db_layer.vm: New. This layer template is used for | |
2731 Mapserver layers with database datastore. | |
2732 | |
2733 * doc/conf/mapserver/dbconnection.include: New. The database configuration | |
2734 used in the db_layer template. | |
2735 | |
2736 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: Added a method | |
2737 getUserWMSUrl() that returns the URL to the user specific WMS server. | |
2738 This method requires a UUID of an Artifact to identify the owner of the | |
2739 Artifact. | |
2740 | |
2741 * src/main/java/de/intevation/flys/wsplgen/FacetCreator.java: Use | |
2742 FLYSUtils.getUserWMSUrl() to create the URL to the user WMS for | |
2743 WMSLayerFacets creation. | |
2744 | |
2745 * src/main/java/de/intevation/flys/artifacts/model/WMSDBLayerFacet.java: | |
2746 New. Subclasses WMSLayerFacet to save data and filter parameters used | |
2747 for database storage in Mapfiles. | |
2748 | |
2749 * src/main/java/de/intevation/flys/artifacts/model/DBLayerInfo.java: New. | |
2750 Subclasses LayerInfo to save database relevant parameters. | |
2751 | |
2752 * src/main/java/de/intevation/flys/artifacts/states/RiverAxisState.java: | |
2753 Creates new WMSDBLayerFacets, so that the riveraxis layer data is | |
2754 fetched from database. | |
2755 | |
2756 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Added a | |
2757 public method that allows creating layers (type LINE) based on | |
2758 WMSDBLayerFacets. | |
2759 | |
2760 * src/main/java/de/intevation/flys/exports/MapGenerator.java: Enabled | |
2761 support for Facets other than "floodmap.wsplgen" and "floodmap.barriers". | |
2762 Those other Facets are supposed to be WMSDBLayerFacets. | |
2763 | |
2764 2011-10-28 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
2765 | |
2766 Refactored, added StyledSeriesBuilder to unify adding points to | |
2767 XYSeries. | |
2768 | |
2769 * src/main/java/de/intevation/flys/exports/StyledSeriesBuilder.java: | |
2770 New class to help with adding points to XYSeries. | |
2771 | |
2772 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java, | |
2773 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java, | |
2774 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java: | |
2775 Use StyledSeriesBuilder to add points to series. | |
2776 | |
2777 2011-10-28 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
2778 | |
2779 Added DC-conf, such that static data can be loaded from w-difference | |
2780 diagrams datacage. | |
2781 | |
2782 * doc/conf/meta-data.xml: Minor "refactoring" (definition of two | |
2783 macros, allow certain static data to be loaded via datacage to | |
2784 w-difference diagrams, too. | |
2785 | |
2786 2011-10-28 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
2787 | |
2788 Load and display annotations in w-differences, minor polishing. | |
2789 | |
2790 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java, | |
2791 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
2792 Use FacetType 'instead' of string. Allow Annotations in | |
2793 WDifferences- diagram. | |
2794 | |
2795 * doc/conf/meta-data.xml: Recommend annotations in w-differences case. | |
2796 | |
2797 2011-10-28 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
2798 | |
2799 * src/main/java/de/intevation/flys/collections/AttributeWriter.java: | |
2800 Survive case where a given output doesnt exist in compatibility | |
2801 matrix. | |
2802 | |
2803 2011-10-28 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
2804 | |
2805 * src/main/java/de/intevation/flys/artifacts/states/StaticState.java: | |
2806 Added simpler constructor. | |
2807 | |
2808 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java, | |
2809 src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java: | |
2810 Adjusted construction of StaticStates. | |
2811 | |
2812 2011-10-28 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
2813 | |
2814 * doc/conf/artifacts/winfo.xml: Allow Annotations in longitudinal and | |
2815 w-differences diagrams. | |
2816 | |
2817 2011-10-28 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
2818 | |
2819 Use artifacts configuration (e.g. winfo.xml) to define which facets | |
2820 can be used in which output. Hide no-matches. | |
2821 | |
2822 * src/main/java/de/intevation/flys/collections/AttributeWriter.java, | |
2823 src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
2824 Added use of "compatibility matrix". Only include facets in in | |
2825 collections description document that are marked compatible in the | |
2826 masterartifacts configuration (e.g. winfo.xml). | |
2827 | |
2828 2011-10-28 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
2829 | |
2830 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java | |
2831 (mergeAttributes, getMasterArtifact): Extraced, updated caller. | |
2832 Cosmetics to reduce indentation one step. | |
2833 | |
2834 2011-10-28 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
2835 | |
2836 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java | |
2837 (getStateHistoryIds): New, return list of current and all previous | |
2838 state ids. | |
2839 | |
2840 2011-10-28 Ingo Weinzierl <ingo@intevation.de> | |
2841 | |
2842 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: | |
2843 Trigger the re-creation of FLYS mapfile if endOfLife() of this state is | |
2844 called. | |
2845 | |
2846 2011-10-28 Ingo Weinzierl <ingo@intevation.de> | |
2847 | |
2848 * doc/conf/mapserver/mapfile.vm: The "layers" injected by VelocityEngine is | |
2849 now used to include layers. A single string in this list represents the | |
2850 path to a file which contains a LAYER section for Mapserver' Mapfile. | |
2851 | |
2852 * src/main/java/de/intevation/flys/wsplgen/JobExecutor.java: Removed the | |
2853 update() call of MapfileGenerator. Mapfiles are generated by MapGenerator | |
2854 only which requires a FLYSArtifactCollection.doOut()! | |
2855 | |
2856 * src/main/java/de/intevation/flys/exports/MapGenerator.java: Call update() | |
2857 of MapfileGenerator to trigger the re-creation of mapfile(s). | |
2858 | |
2859 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Collect all | |
2860 LAYER snippets from filesystem and inject the filepath for each snippet | |
2861 into the Mapfile template. | |
2862 | |
2863 2011-10-28 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
2864 | |
2865 * src/main/java/de/intevation/flys/collections/AttributeWriter.java, | |
2866 src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory.java, | |
2867 src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
2868 Cosmetics, doc. | |
2869 | |
2870 2011-10-28 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
2871 | |
2872 Let OutputParser and AttributeParser collect all facets on the way. | |
2873 | |
2874 * src/main/java/de/intevation/flys/collections/OutputParser.java, | |
2875 src/main/java/de/intevation/flys/collections/AttributeParser.java: | |
2876 Collect all facets while iterating over Outputs and Attributes, | |
2877 documentation added. | |
2878 | |
2879 2011-10-28 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
2880 | |
2881 Extracted getFlysContext from FLYSArtifacts into FLYSUtils. | |
2882 | |
2883 * src/main/java/de/intevation/flys/utils/FLYSUtils.java | |
2884 (getFlysContext): Added, extracted from FLYSArtifact. | |
2885 | |
2886 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
2887 (getFlysContext): Moved to FLYSUtils, updated callers. | |
2888 | |
2889 * src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java, | |
2890 src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
2891 Update callers to getFlysContext. | |
2892 | |
2893 2011-10-28 Ingo Weinzierl <ingo@intevation.de> | |
2894 | |
2895 * src/main/java/de/intevation/flys/exports/MapGenerator.java: Bugfix: | |
2896 Catch IOException - flys-artifacts compiles again. | |
2897 | |
2898 2011-10-28 Ingo Weinzierl <ingo@intevation.de> | |
2899 | |
2900 * doc/conf/artifacts/winfo.xml: Defined "floodmap.barriers" as valid facet | |
2901 for floodmaps. | |
2902 | |
2903 * doc/conf/mapserver/shapefile_layer.vm: New. Currently a copy of | |
2904 layer.vm. This template will evolve to a special mapserver layer | |
2905 template with a shapefile data source. | |
2906 | |
2907 * src/main/java/de/intevation/flys/wsplgen/FacetCreator.java: Fixed broken | |
2908 facet name of barriers. | |
2909 | |
2910 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Added | |
2911 public methods for creating wsplgen and barriers layer files for | |
2912 mapserver. | |
2913 | |
2914 * src/main/java/de/intevation/flys/exports/MapGenerator.java: Use | |
2915 MapfileGenerator to create new layer files for wsplgen and barriers. | |
2916 | |
2917 2011-10-28 Ingo Weinzierl <ingo@intevation.de> | |
2918 | |
2919 * src/main/java/de/intevation/flys/utils/GeometryUtils.java: Added new | |
2920 method gerRiverBoundary() which returns an Envelope object (which | |
2921 represents the bounding box of a Geometry) of a riveraxis specified by its | |
2922 rivername. | |
2923 | |
2924 * src/main/java/de/intevation/flys/artifacts/states/RiverAxisState.java: Use | |
2925 Geometry.getRiverBoundary() to determine the max extent of a river. | |
2926 | |
2927 * src/main/java/de/intevation/flys/wsplgen/FacetCreator.java, | |
2928 src/main/java/de/intevation/flys/artifacts/model/WMSLayerFacet.java: Use | |
2929 JTS Envelope to save the bounding boxes of WMS layers. | |
2930 | |
2931 * src/main/java/de/intevation/flys/artifacts/services/MapInfoService.java: | |
2932 Adapted the code to apply the changes in GeometryUtils (use Envelope to | |
2933 determine the max extent of the river axis). | |
2934 | |
2935 * src/main/java/de/intevation/flys/exports/MapGenerator.java: New (work in | |
2936 progress). This Generator will currently return a map configuration in XML | |
2937 which consists of parameters required by OpenLayers to create a map. | |
2938 | |
2939 * doc/conf/conf.xml: Registered the new MapGenerator. | |
2940 | |
2941 2011-10-27 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
2942 | |
2943 * doc/conf/meta-data.xml: Do not recommend historical data to load | |
2944 when having computational discharge curves. | |
2945 | |
2946 2011-10-27 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
2947 | |
2948 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
2949 Reduce noise, given "error" message was more of "debug" nature. | |
2950 | |
2951 2011-10-27 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
2952 | |
2953 Restore mapping of state id to facets (essentially revert, revision | |
2954 3083 and 3088). | |
2955 | |
2956 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
2957 (getInitialFacetActivity): Be more explicit on which facets to | |
2958 introduce inactivated. | |
2959 | |
2960 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java, | |
2961 src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java: | |
2962 Minor refactoring, declare a string final static. | |
2963 | |
2964 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java, | |
2965 src/main/java/de/intevation/flys/artifacts/StaticFLYSArtifact.java, | |
2966 src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java, | |
2967 src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java, | |
2968 src/main/java/de/intevation/flys/artifacts/WMSBackgroundArtifact.java, | |
2969 src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java, | |
2970 src/main/java/de/intevation/flys/artifacts/WaterlevelArtifact.java, | |
2971 src/main/java/de/intevation/flys/artifacts/RiverAxisArtifact.java, | |
2972 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
2973 Restore association from state id to facets. | |
2974 | |
2975 2011-10-26 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
2976 | |
2977 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java, | |
2978 src/main/java/de/intevation/flys/collections/OutputParser.java: | |
2979 Cosmetics, documentation. | |
2980 | |
2981 2011-10-26 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
2982 | |
2983 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
2984 Prepare rendering of "other/static wkms" (functional) and | |
2985 w-differences (not yet fully functional). | |
2986 | |
2987 2011-10-26 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
2988 | |
2989 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java, | |
2990 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java, | |
2991 src/main/java/de/intevation/flys/exports/ChartGenerator.java, | |
2992 src/main/java/de/intevation/flys/exports/XYChartGenerator.java: | |
2993 Cosmetics. | |
2994 | |
2995 2011-10-26 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
2996 | |
2997 * src/main/java/de/intevation/flys/artifacts/RiverAxisArtifact.java: | |
2998 Do not store facets in a map from stateId to list of facets, but in | |
2999 a pure list instead. | |
3000 | |
3001 2011-10-26 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
3002 | |
3003 * doc/conf/artifacts/winfo.xml: Adjusted to newer semantics, | |
3004 minor cleanups. | |
3005 | |
3006 2011-10-26 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
3007 | |
3008 Resolve association of facets to states in artifacts. This eases | |
3009 merging of outputs and facets and inhibition of unwanted outputs | |
3010 substiantially (at the price of slightly more expensive merging). | |
3011 Also, the semantics of artifacts configuration files (e.g. winfo.xml) | |
3012 is changed (facet elements within an output elements are used for | |
3013 merging). | |
3014 | |
3015 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java, | |
3016 src/main/java/de/intevation/flys/artifacts/StaticFLYSArtifact.java, | |
3017 src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java, | |
3018 src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java, | |
3019 src/main/java/de/intevation/flys/artifacts/WMSBackgroundArtifact.java, | |
3020 src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java, | |
3021 src/main/java/de/intevation/flys/artifacts/WaterlevelArtifact.java, | |
3022 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
3023 Do not store facets in a map from stateId to list of facets, but in | |
3024 a pure list instead. | |
3025 | |
3026 2011-10-26 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
3027 | |
3028 * doc/conf/meta-data.xml: Added dc configuration for some data | |
3029 that can be loaded from longitudinal section diagrams. | |
3030 | |
3031 2011-10-25 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
3032 | |
3033 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
3034 Cosmetics, docs. | |
3035 | |
3036 2011-10-25 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
3037 | |
3038 Let Qs in Longitudinal Diagram be inactive, initally. | |
3039 | |
3040 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
3041 (getInitialFacetActivity): Do not let Facets ending with a 'q' | |
3042 enter in active state. | |
3043 | |
3044 2011-10-25 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
3045 | |
3046 * doc/conf/meta-data.xml: Fix broken datacage config. | |
3047 | |
3048 2011-10-25 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
3049 | |
3050 * doc/conf/meta-data.xml: Configured to include correct id to | |
3051 clone artifact that produces w-diff. | |
3052 | |
3053 2011-10-25 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
3054 | |
3055 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java: | |
3056 Revert correct behaviour of Annotations (the small axis tick shall | |
3057 always be drawn). Minor refactoring. | |
3058 | |
3059 2011-10-25 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
3060 | |
3061 * doc/conf/meta-data.xml: Added configuration to include differences | |
3062 in datacage when longitudinal sections are shown (yet not | |
3063 functional). | |
3064 | |
3065 2011-10-25 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
3066 | |
3067 * doc/conf/meta-data.xml: Cosmetics. | |
3068 | |
3069 2011-10-24 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
3070 | |
3071 * doc/conf/themes.xml: Added theme for w_differences facets. | |
3072 | |
3073 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java | |
3074 (createSecondAxisRange): Survive parameter-nullness for now. | |
3075 Added documentation. | |
3076 | |
3077 2011-10-21 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
3078 | |
3079 * src/main/java/de/intevation/flys/themes/ThemeAccess.java: | |
3080 New. Caching wrapper around an XML document theme. It uses ThemeUtil | |
3081 to access the values and stores them in instance variable. | |
3082 Background: ThemeUtil use XPath a lot which is expensive. | |
3083 | |
3084 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java, | |
3085 src/main/java/de/intevation/flys/exports/XYChartGenerator.java: | |
3086 Use ThemeAccess to style the annotations. | |
3087 | |
3088 * src/main/java/de/intevation/flys/exports/StyledXYSeries.java: | |
3089 Removed some XPath strings. They are in ThemeUtil. | |
3090 | |
3091 2011-10-21 Raimund Renkert <raimund.renkert@intevation.de> | |
3092 | |
3093 * src/main/java/de/intevation/flys/utils/ThemeUtil.java: | |
3094 Added methods to parse further attributes. | |
3095 | |
3096 * src/main/java/de/intevation/flys/exports/StyledXYSeries.java: | |
3097 Apply the theme attributes and use ThemeUtils to get the attribute values. | |
3098 | |
3099 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java: | |
3100 Removed the spamy debug output. | |
3101 | |
3102 2011-10-21 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
3103 | |
3104 To obtain the size of a diagram it is rendered twice. The | |
3105 second time the generated image is omitted so the concrete | |
3106 rendered image is not needed. To save CPU cycles in this pass | |
3107 the image is rendered to to /dev/null Graphics2D object. | |
3108 | |
3109 * src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java: | |
3110 Added boolean system property "info.rendering.nop.graphics" (default: false). | |
3111 With this property set the info rendering is done via a new | |
3112 NOPGraphics2D opbject which does not render the image. | |
3113 | |
3114 * src/main/java/de/intevation/flys/java2d/NOPGraphics2D.java: | |
3115 New. Implements java.awt.Graphics2D trivial empty methods. | |
3116 This prevents rendering. | |
3117 | |
3118 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java: | |
3119 Commented out spamy debug output | |
3120 | |
3121 2011-10-21 Raimund Renkert <raimund.renkert@intevation.de> | |
3122 | |
3123 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java: | |
3124 Draw the text background and use orientation attribute. | |
3125 | |
3126 2011-10-21 Raimund Renkert <raimund.renkert@intevation.de> | |
3127 | |
3128 * doc/conf/themes.xml: | |
3129 Renamed 'textbackground' to 'backgroundcolor' to have 'color' in the | |
3130 attribute name. | |
3131 | |
3132 * src/main/java/de/intevation/flys/utils/ThemeUtil.java: | |
3133 Process text attributes correctly. | |
3134 | |
3135 2011-10-20 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
3136 | |
3137 * src/main/java/de/intevation/flys/artifacts/services/CrossSectionKMService.java: | |
3138 New. Service to lookup the Nth nearest neighbors for a set of given | |
3139 cross section ids and kms. | |
3140 | |
3141 * doc/conf/conf.xml: Registered service. | |
3142 | |
3143 * doc/conf/cache.xml: Cache config. | |
3144 | |
3145 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java, | |
3146 src/main/java/de/intevation/flys/artifacts/states/WaterlevelPairSelectState.java: | |
3147 Removed superfluous imports. | |
3148 | |
3149 2011-10-20 Raimund Renkert <raimund.renkert@intevation.de> | |
3150 | |
3151 * src/main/java/de/intevation/flys/utils/ThemeUtil.java: | |
3152 Added methods to extract further attributes from theme. | |
3153 | |
3154 2011-10-20 Ingo Weinzierl <ingo@intevation.de> | |
3155 | |
3156 * doc/conf/themes.xml: Added main value themes for longitudinal section | |
3157 charts. | |
3158 | |
3159 * src/main/java/de/intevation/flys/themes/ThemeMapping.java: New. This | |
3160 class stores the name of a facet, the related theme and a pattern | |
3161 string. | |
3162 | |
3163 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java: | |
3164 Read the pattern string and store a list of ThemeMapping objects in the | |
3165 FLYSContext. | |
3166 | |
3167 * src/main/java/de/intevation/flys/themes/ThemeFactory.java: Modified | |
3168 getTheme() which now takes the FLYSContext, the name of a facet and an | |
3169 optional pattern string. Now, we can have specialized Themes for each | |
3170 chart type. E.g. the facet "longitudinal_section.w" maps the default | |
3171 Theme for W lines in longitudinal section charts. If the optional | |
3172 pattern string matches the pattern ".*(HQ1000)(\D.*)*", the ThemeFactory | |
3173 will return the Theme "LongitudinalSectionW_HQ1000". | |
3174 | |
3175 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
3176 Use the description of a facet as pattern string to get the relevant | |
3177 Theme from ThemeFactory. | |
3178 | |
3179 2011-10-20 Raimund Renkert <raimund.renkert@intevation.de> | |
3180 | |
3181 * doc/conf/themes.xml: | |
3182 Added new theme attributes. | |
3183 | |
3184 2011-10-19 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
3185 | |
3186 Fix WDifference plots where masterartifact has no range set. | |
3187 | |
3188 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java: | |
3189 (addSubtitles): Overridden, the master artifact has no | |
3190 range. | |
3191 | |
3192 2011-10-19 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
3193 | |
3194 Fix masterartifact in collections in cases where the original | |
3195 masterartifacts facets do not come first in certain list. Query | |
3196 'backend'/db instead. | |
3197 | |
3198 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
3199 Set 'real' master artifact, defined to be oldest belonging to this | |
3200 collection. | |
3201 | |
3202 2011-10-19 Ingo Weinzierl <ingo@intevation.de> | |
3203 | |
3204 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java, | |
3205 src/main/java/de/intevation/flys/artifacts/states/WaterlevelSelectState.java, | |
3206 src/main/java/de/intevation/flys/artifacts/states/DGMSelect.java, | |
3207 src/main/java/de/intevation/flys/artifacts/states/WaterlevelPairSelectState.java: | |
3208 Modified the method signature of createStaticData() which now also | |
3209 requires a FLYSArtifact. | |
3210 | |
3211 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java: | |
3212 Override createStaticData() to create titles for Qs manually - we want | |
3213 to display the named main values if existing for the selected Qs. | |
3214 | |
3215 2011-10-19 Raimund Renkert <raimund.renkert@intevation.de> | |
3216 | |
3217 * doc/conf/themes.xml: | |
3218 ComputedDischargeCurveW and ComputedDischargeCurveQ inherit attributes from | |
3219 theme 'Text'. | |
3220 | |
3221 2011-10-19 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
3222 | |
3223 Fix for flys/issue316 | |
3224 | |
3225 * src/main/java/de/intevation/flys/exports/StyledXYSeries.java: Added | |
3226 constructor to not sort the data. | |
3227 | |
3228 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java: | |
3229 Use the not sorting constructor of StyledXYSeries. | |
3230 | |
3231 2011-10-19 Ingo Weinzierl <ingo@intevation.de> | |
3232 | |
3233 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java: | |
3234 moved the code to create WSP W and Q facet names to FLYSUtils. | |
3235 | |
3236 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: New functions for | |
3237 creating WSP W and Q facet names and for querying a named main value | |
3238 based on a given gauge and value. The names of W and Q facets will now | |
3239 depend on the selected Q and Q mode: if the mode is "q at gauge" and a | |
3240 named value is found for the given value, the facet's name contains the | |
3241 named value instead of the value itself. | |
3242 | |
3243 2011-10-19 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
3244 | |
3245 Fix datacage configuration to let client load ZUS and flood | |
3246 protections. | |
3247 | |
3248 * doc/conf/meta-data.xml: Use 'ids' instead of 'id' to help client. | |
3249 | |
3250 2011-10-19 Raimund Renkert <raimund.renkert@intevation.de> | |
3251 | |
3252 * src/main/java/de/intevation/flys/utils/ThemeUtil.java: | |
3253 Added methods to parse text attributes from theme document. | |
3254 | |
3255 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java, | |
3256 src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java: | |
3257 Apply a theme to axis annotations. | |
3258 | |
3259 2011-10-19 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
3260 | |
3261 Create (data) Label from data string (client will be adjusted to send | |
3262 the name). | |
3263 | |
3264 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelPairSelectState.java: | |
3265 Create label from input data string, documentation added, junk | |
3266 removed. | |
3267 | |
3268 2011-10-19 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
3269 | |
3270 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java(zoom): | |
3271 Do not crash if no axis is given. | |
3272 | |
3273 2011-10-19 Ingo Weinzierl <ingo@intevation.de> | |
3274 | |
3275 * src/main/java/de/intevation/flys/exports/ChartGenerator.java: Added | |
3276 getFormat() which extracts the format string from XML request document. | |
3277 | |
3278 * src/main/java/de/intevation/flys/exports/ChartExportHelper.java: Adapted | |
3279 method signatures of exportImage(), exportSVG() and exportPDF(). All | |
3280 methods now take a CallContext object which stores extra chart export | |
3281 parameters. | |
3282 | |
3283 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: | |
3284 Enabled PDF and SVG chart exports based on the "format" string given in | |
3285 the XML request document. | |
3286 | |
3287 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
3288 | |
3289 Simplify rendereing W(Q)Kms in WDifferencesCurveGenerator. | |
3290 | |
3291 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java: | |
3292 (doWOut, doWOut): Simplified. | |
3293 | |
3294 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
3295 | |
3296 Render zus and flood-protections in WDifferences-diagrams. | |
3297 | |
3298 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java: | |
3299 Added basic respect of "other.wkms"- facets. | |
3300 | |
3301 | |
3302 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
3303 | |
3304 Adjusted Datacage-Configuration to fetch "extra longitudinal...." | |
3305 (.zus) - waterlevels in certain case (in system-part). | |
3306 | |
3307 * doc/conf/meta-data.xml: Adjusted to present extra-kms with | |
3308 staticwkms factory in certain case. | |
3309 | |
3310 2011-10-17 Raimund Renkert <raimund.renkert@intevation.de> | |
3311 | |
3312 * doc/conf/themes.xml: | |
3313 Added new virtual theme for text with the attributes 'font', 'textcolor' | |
3314 and 'textsize'. | |
3315 | |
3316 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
3317 | |
3318 Give StaticWKmsArtifacts proper names, and pre-deselect them. | |
3319 | |
3320 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java: | |
3321 (getInitialFacetActivity): Overridden to let facets enter plot | |
3322 inactively. | |
3323 (setup): Give Facets the name of the Wst. | |
3324 | |
3325 * src/main/java/de/intevation/flys/artifacts/model/WKmsFactory.java: | |
3326 Refactored to expose getWKmsName separately. | |
3327 | |
3328 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
3329 | |
3330 Adjusted Datacage-Configuration to fetch flood-protections when | |
3331 waterlevels are requested (in system-part). | |
3332 | |
3333 * doc/conf/meta-data.xml: Adjusted to present flood-protections with | |
3334 staticwkms factory in certain case. | |
3335 | |
3336 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
3337 | |
3338 Register staticwkms factory. | |
3339 | |
3340 * doc/conf/conf.xml: Register staticwkms factory to spawn StaticWKms- | |
3341 Artifacts. | |
3342 | |
3343 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
3344 | |
3345 Fetch name of static WKms. | |
3346 | |
3347 * src/main/java/de/intevation/flys/artifacts/model/WKmsFactory.java: | |
3348 Removed dependence on "kind", but fetch name for created WKms. | |
3349 | |
3350 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java: | |
3351 Remove dependence on Kind. | |
3352 | |
3353 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
3354 | |
3355 Store parameterization in data, not in Artifact. | |
3356 | |
3357 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java: | |
3358 Resolve col_pos and wst_id field, use data instead. | |
3359 | |
3360 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
3361 | |
3362 Add convenience-method to add defaultdata (string). | |
3363 | |
3364 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
3365 (addStringData): Add Default (String) Data . | |
3366 | |
3367 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
3368 | |
3369 Add a new Artifact and Facet (StaticWKmsArtifact, WKmsFacet) to | |
3370 access WKms obtainable with the WKmsFactory. | |
3371 | |
3372 * src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java: | |
3373 New, artifact with single state to get WKms from WKmsFactory. | |
3374 | |
3375 * src/main/java/de/intevation/flys/artifacts/model/WKmsFacet.java: | |
3376 New Facet to display W over km. | |
3377 | |
3378 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: | |
3379 Added new type name. | |
3380 | |
3381 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
3382 | |
3383 Add WKMsFactory to access 'static' wst-data. | |
3384 | |
3385 * src/main/java/de/intevation/flys/artifacts/model/StaticWKmsCacheKey.java: | |
3386 Cache Key for the static WKms data. | |
3387 | |
3388 * src/main/java/de/intevation/flys/artifacts/model/WKmsFactory.java: | |
3389 New, creates WKms from wst-id and column. Does not yet fetch the | |
3390 name. | |
3391 | |
3392 * doc/conf/cache.xml: Added cache configuration for static wkms data. | |
3393 | |
3394 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
3395 | |
3396 Cosmetics, docs. | |
3397 | |
3398 * src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java, | |
3399 src/main/java/de/intevation/flys/artifacts/model/ManagedFacet.java, | |
3400 src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java, | |
3401 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java, | |
3402 src/main/java/de/intevation/flys/jfree/FLYSAnnotation.java: | |
3403 Cosmetics, docs. | |
3404 | |
3405 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
3406 | |
3407 * src/main/java/de/intevation/flys/artifacts/model/WKmsImpl.java: | |
3408 Added constructor that takes name, docs. | |
3409 | |
3410 2011-10-18 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
3411 | |
3412 Fix issue that Annotations do not come with theme/style. | |
3413 | |
3414 * doc/conf/themes.xml: Added "Annotations" default style. | |
3415 | |
3416 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
3417 Set style of annotations, minor cosmetics. | |
3418 | |
3419 2011-10-17 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
3420 | |
3421 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
3422 Made inner class ThemeList static. | |
3423 s/new Integer(small)/Integer.valueOf(small)/ | |
3424 | |
3425 2011-10-17 Ingo Weinzierl <ingo@intevation.de> | |
3426 | |
3427 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
3428 The inner class ThemeList makes now use of ManagedDomFacet to read the | |
3429 attributes of Facets saved in the Collection's attribute. | |
3430 | |
3431 2011-10-17 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
3432 | |
3433 flys/issue314: Variables in datacage are now case insensitive. | |
3434 (H2 returns meta data variables uppercase) | |
3435 | |
3436 * doc/conf/meta-data.xml: | |
3437 Made a statement more precise. Added some debug output. | |
3438 | |
3439 * src/main/java/de/intevation/flys/artifacts/datacage/templating/CompiledStatement.java: | |
3440 Use uppercase variable names. | |
3441 | |
3442 * src/main/java/de/intevation/flys/artifacts/datacage/templating/StackFrames.java, | |
3443 src/main/java/de/intevation/flys/artifacts/datacage/templating/Builder.java, | |
3444 src/main/java/de/intevation/flys/artifacts/datacage/templating/FunctionResolver.java, | |
3445 src/main/java/de/intevation/flys/artifacts/datacage/templating/ResultData.java: | |
3446 Variables are now treated as uppercase. | |
3447 | |
3448 * src/main/java/de/intevation/flys/artifacts/datacage/Recommendations.java: | |
3449 Input variables are now treated uppercase. | |
3450 | |
3451 2011-10-17 Ingo Weinzierl <ingo@intevation.de> | |
3452 | |
3453 * src/main/java/de/intevation/flys/artifacts/model/ManagedDomFacet.java, | |
3454 src/main/java/de/intevation/flys/artifacts/model/ManagedFacet.java, | |
3455 src/main/java/de/intevation/flys/artifacts/model/ManagedFacetAdapter.java: | |
3456 Prepared Facets to support a "visible" attribute. | |
3457 | |
3458 * src/main/java/de/intevation/flys/collections/OutputParser.java: Adapted | |
3459 the constructor call of ManagedFacetAdapter. | |
3460 | |
3461 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
3462 The inner class ThemeList now supports the "visible" attribute of | |
3463 ManagedFacets. | |
3464 | |
3465 2011-10-17 Raimund Renkert <raimund.renkert@intevation.de> | |
3466 | |
3467 * src/main/java/de/intevation/flys/exports/StyledXYSeries.java: | |
3468 Added method to apply line type. | |
3469 | |
3470 * doc/conf/themes.xml: | |
3471 Changed initial default value for line type. | |
3472 | |
3473 2011-10-17 Ingo Weinzierl <ingo@intevation.de> | |
3474 | |
3475 flys/issue226 (W-INFO: Dauerlinienberechung /Abbbildung x-Achse) | |
3476 | |
3477 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java: | |
3478 Set the upper bound of these charts to 364. | |
3479 | |
3480 2011-10-17 Ingo Weinzierl <ingo@intevation.de> | |
3481 | |
3482 * src/main/java/de/intevation/flys/artifacts/model/GaugesFactory.java: | |
3483 Added a function that returns a Gauge based on its name. | |
3484 | |
3485 * src/main/java/de/intevation/flys/artifacts/states/ComputationRangeState.java: | |
3486 Create proper descriptions for facets. | |
3487 | |
3488 * src/main/java/de/intevation/flys/jfree/FLYSAnnotation.java: Added a | |
3489 setter for labels. | |
3490 | |
3491 * src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java, | |
3492 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java, | |
3493 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java, | |
3494 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java, | |
3495 src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java, | |
3496 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java: | |
3497 Use the string returned by Facet.getDescription() as series names. The | |
3498 ThemePanel and the Legend will always display the same titles for curves | |
3499 now. | |
3500 | |
3501 | |
3502 2011-10-17 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
3503 | |
3504 Fix flys/issue363 (W-INFO/ Abflusskurve, Extremwert-Rendering). | |
3505 | |
3506 * src/main/java/de/intevation/flys/utils/ThemeUtil.java: | |
3507 (parseLineWidth): New. Get line width from Document. | |
3508 | |
3509 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: | |
3510 When adding annotations, parse line width from theme, set it. | |
3511 | |
3512 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java: | |
3513 When painting, set Paint and stroke early enough. | |
3514 | |
3515 2011-10-14 Ingo Weinzierl <ingo@intevation.de> | |
3516 | |
3517 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Put the | |
3518 config directory into the Velocity context. It is available as | |
3519 '$CONFIGDIR' in templates. | |
3520 | |
3521 * doc/conf/mapserver/mapfile.vm: Set the debug file to | |
3522 "$CONFIGDIR/flys-user-wms.log" and added a LEGEND section. | |
3523 | |
3524 * doc/conf/mapserver/wsplgen_class.vm: Adapted the class names. Those | |
3525 names are displayed in the image served by GetLegendGraphic. | |
3526 | |
3527 2011-10-14 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
3528 | |
3529 Add possibility of programmatic configuration of initial "activity" | |
3530 state (active or inactive) of (Managed)Facets by introducing | |
3531 FLYSArtifact.getInitialFacetActivity. This method shall be overriden | |
3532 by subclasses where Facets are wanted to come to live inactive. | |
3533 Artifacts will be asked only once how the MangedFacet should come to live, | |
3534 namely when AttributeWriter finds a genuinely new Facet. | |
3535 | |
3536 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java, | |
3537 src/main/java/de/intevation/flys/artifacts/WaterlevelArtifact.java | |
3538 (getInitialFacetActivity): | |
3539 New function to let Artifact decide whether a ManagedFacet shall | |
3540 initially be set to active or inactive. | |
3541 | |
3542 * src/main/java/de/intevation/flys/collections/AttributeWriter.java: | |
3543 Accept database in constructor. For genuinely new Facets, spawn its | |
3544 mother artifact and ask whether the (Managed)Facet shall be active | |
3545 or inactive (initially). | |
3546 | |
3547 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java | |
3548 (buildOutAttributes): Pass database to AttributeWrite (which needs it | |
3549 to spawn artifacts), rename items parameter to reflect content. | |
3550 | |
3551 2011-10-13 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
3552 | |
3553 Cosmetics, removed obsolete imports. | |
3554 | |
3555 * src/main/java/de/intevation/flys/artifacts/WaterlevelArtifact.java, | |
3556 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java: | |
3557 Removed obsolete imports. | |
3558 | |
3559 2011-10-12 Ingo Weinzierl <ingo@intevation.de> | |
3560 | |
3561 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: | |
3562 Added a further attribute "mark.selected" to the barriers feature type. | |
3563 This attribute is used in the client, where we are not able to remove it | |
3564 properly. Reading the GeoJSON string without this attribute is no longer | |
3565 possible... strange! | |
3566 | |
3567 2011-10-12 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
3568 | |
3569 Added i18n for label of wdiff "pair select" states data. | |
3570 | |
3571 * src/main/resources/messages.properties, | |
3572 src/main/resources/messages_de_DE.properties, | |
3573 src/main/resources/messages_en.properties, | |
3574 src/main/resources/messages_de.properties: Added i18n for | |
3575 state.winfo.waterlevel_pair_select . | |
3576 | |
3577 2011-10-12 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
3578 | |
3579 Addressed "Wrong labels" [6] part of flys/issue371 (W-INFO / Differenzen: | |
3580 Anmerkungen zur Umsetzung) . | |
3581 | |
3582 * src/main/java/de/intevation/flys/exports/WDifferencesExporter.java: | |
3583 Adjusted variable names to avoid conflict in subclasses, adjusted | |
3584 default value for i18n string. | |
3585 | |
3586 2011-10-12 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
3587 | |
3588 Cosmetics, docs. | |
3589 | |
3590 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
3591 Cosmetics: Space after full stop in commments, slightly improved | |
3592 documentation, added one debug message. | |
3593 | |
3594 2011-10-12 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
3595 | |
3596 Fix remainder of flys/issue304 (Erweiterte Funktionen W-Differenzen) . | |
3597 | |
3598 * doc/conf/artifacts/winfo.xml: Removed obsolete data of | |
3599 WDifferencesState. | |
3600 | |
3601 * src/main/java/de/intevation/flys/artifacts/WaterlevelArtifact.java: | |
3602 Re-enable facet-filtering, but adjust filters before that happens | |
3603 (former longitudinal_section output is now w_differences output). | |
3604 | |
3605 2011-10-11 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
3606 | |
3607 Added wdiff-chart translations. | |
3608 | |
3609 * src/main/resources/messages.properties, | |
3610 src/main/resources/messages_de_DE.properties, | |
3611 src/main/resources/messages_en.properties, | |
3612 src/main/resources/messages_de.properties: Added i18n for wdiff. | |
3613 | |
3614 2011-10-11 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
3615 | |
3616 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java, | |
3617 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java: | |
3618 Expose translateable Strings as constants. | |
3619 | |
3620 2011-10-11 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
3621 | |
3622 Fix most labels in w-differences charts. | |
3623 | |
3624 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java, | |
3625 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java: | |
3626 Remove most static final i18n-variables in favor of direct String | |
3627 usage or usage of methods. By this, allow easier adoption of labels | |
3628 in subclasses. | |
3629 | |
3630 2011-10-11 Ingo Weinzierl <ingo@intevation.de> | |
3631 | |
3632 flys/issue383 (Zweite Y-Achse wird beim Zoomen/Verschieben nicht angepasst.) | |
3633 | |
3634 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: | |
3635 Call adjustAxes() before applying zoom settings with autoZoom(). We need | |
3636 to add new y-axes first before we adjust their ranges. | |
3637 | |
3638 2011-10-10 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
3639 | |
3640 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: | |
3641 s/new Integer(small)/Integer.valueOf(small)/ | |
3642 | |
3643 2011-10-10 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
3644 | |
3645 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java, | |
3646 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
3647 Do not fire change events for each and every data point added. | |
3648 | |
3649 2011-10-10 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
3650 | |
3651 Fix WDifferences with more than one Pair (crashed due to incorrect index for | |
3652 facets.) | |
3653 | |
3654 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java: | |
3655 Fix wrong index for difference facets (allows for more than one | |
3656 difference facet per artifact without crashes). | |
3657 | |
3658 2011-10-10 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
3659 | |
3660 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java: | |
3661 Use slightly modified doWOut-implementation from | |
3662 LongitudinalSectionGenerator (here need to add Ws to different axis). | |
3663 | |
3664 2011-10-10 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
3665 | |
3666 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelPairSelectState.java: | |
3667 Fix import/reference. | |
3668 | |
3669 2011-10-10 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
3670 | |
3671 Let WaterlevelPairSelectState include diffids-data (if any) to enable | |
3672 future work on repopulation of Grid in GUI when jumping back | |
3673 (reparameterization). | |
3674 | |
3675 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelPairSelectState.java: | |
3676 (createItems): Override to include old data. | |
3677 | |
3678 2011-10-10 Ingo Weinzierl <ingo@intevation.de> | |
3679 | |
3680 flys/issue150 (Diagramm: Anzeige von W bergauf) | |
3681 flys/issue345 (W-INFO / Wasserspiegellagenberechnung, Diagrammausgabe) | |
3682 | |
3683 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
3684 Corrected the determination to invert the x axis, so that waterlines | |
3685 will start with their highest value at the left and end with their | |
3686 lowest values at the right. | |
3687 | |
3688 2011-10-10 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
3689 | |
3690 * src/main/java/de/intevation/flys/artifacts/math/DifferenceCurveFacet.java: | |
3691 Cosmetics, added an (@Override) annotation. | |
3692 | |
3693 * src/main/java/de/intevation/flys/artifacts/model/CalculationResult.java, | |
3694 src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: | |
3695 Cosmetics, added documentation. | |
3696 | |
3697 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java: | |
3698 Cosmetics, whitespace after full stops in comments, added | |
3699 (@Override) annotation. | |
3700 | |
3701 2011-10-10 Ingo Weinzierl <ingo@intevation.de> | |
3702 | |
3703 flys/issue220 (Diagramm: Achsenbeschriftungen an verschiedenen Achsen müssen gleich aussehen) | |
3704 | |
3705 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java, | |
3706 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
3707 Adjusted the label font of the 2nd y-axis - now, both axes labels look | |
3708 equal. | |
3709 | |
3710 2011-10-10 Ingo Weinzierl <ingo@intevation.de> | |
3711 | |
3712 flys/issue189 (WINFO/Dauerlinie: Sortierung der Berechnungsausgabe nach Dauerzahlen aufsteigend) | |
3713 | |
3714 * src/main/java/de/intevation/flys/artifacts/model/WQDay.java: Added a | |
3715 method that determines if the items (days) in this object are increasing | |
3716 or not. | |
3717 | |
3718 * src/main/java/de/intevation/flys/exports/DurationCurveExporter.java: | |
3719 Changed the order of the CSV export - the highest day is at the top of | |
3720 the export; the lowest day is at the bottom. | |
3721 | |
3722 2011-10-07 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
3723 | |
3724 Worked on flys/issue150 (Diagramm: Anzeige von W bergauf). | |
3725 Still does not work in all cases. | |
3726 | |
3727 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java (generateChart()): | |
3728 Reordered calls to ensure that the inversion of the x axis is | |
3729 not eliminated by other chart generation steps as a side effect. | |
3730 | |
3731 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
3732 Assuming that JFreeChart is inverting axis automatically if the | |
3733 KMs are reversed ordered only do invert only in some situations. | |
3734 | |
3735 Do not invert axis for Q (@Ingo: This is wrong! We must do this | |
3736 if we are only displaying the Qs and the Ws are deactived). | |
3737 | |
3738 2011-10-07 Ingo Weinzierl <ingo@intevation.de> | |
3739 | |
3740 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: | |
3741 Take care on empty ranges while preparing ranges for single points. | |
3742 | |
3743 2011-10-07 Ingo Weinzierl <ingo@intevation.de> | |
3744 | |
3745 flys/issue114 (W-INFO: Wasserspiegellagenberechnung / Ort (Spezialfall: Generierung eines Diagramms bei punkthafter Berechnung)) | |
3746 | |
3747 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Expand | |
3748 ranges for x and y axes if there is just a single point in a series - | |
3749 JFreeChart requires a range where lower <> upper. | |
3750 | |
3751 2011-10-07 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
3752 | |
3753 * src/main/java/de/intevation/flys/artifacts/states/ComputationRangeState.java, | |
3754 src/main/java/de/intevation/flys/artifacts/states/DistanceSelect.java, | |
3755 src/main/java/de/intevation/flys/artifacts/states/RangeState.java, | |
3756 src/main/java/de/intevation/flys/exports/XYChartGenerator.java: | |
3757 Add whitespace after full stop in comments, minor doc improvements. | |
3758 | |
3759 2011-10-07 Ingo Weinzierl <ingo@intevation.de> | |
3760 | |
3761 flys/issue353 (W-INFO / Wasserspiegellagenberechnung, Diagramm) | |
3762 | |
3763 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
3764 Adapted the process of collecting outs for Artifacts/Facets. We will now | |
3765 call OutGenerator.doOut() for each Artifact and Facet - never mind if | |
3766 the facet is activated (visible) or not. The OutGenerator should decide | |
3767 on its own whtat to do with facets which are "marked" as _not_ visible. | |
3768 | |
3769 * src/main/java/de/intevation/flys/exports/OutGenerator.java, | |
3770 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java, | |
3771 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java, | |
3772 src/main/java/de/intevation/flys/exports/ChartGenerator.java, | |
3773 src/main/java/de/intevation/flys/exports/ReportGenerator.java, | |
3774 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java, | |
3775 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java, | |
3776 src/main/java/de/intevation/flys/exports/AbstractExporter.java, | |
3777 src/main/java/de/intevation/flys/exports/ATExporter.java, | |
3778 src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java, | |
3779 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java, | |
3780 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java, | |
3781 src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java: | |
3782 Adapted the signature of OutGenerator.doOut(). There will be a new | |
3783 boolean parameter "visible" that determines if the facet specified in | |
3784 this method is visible for this output or not. | |
3785 | |
3786 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Now, | |
3787 that we walk over every Artifact/Facet, we are able to collect min/max | |
3788 data for all axes. We store these information and use them to set the | |
3789 ranges of x and y axes. The result of this: a chart can have proper axes | |
3790 set without any data in it. | |
3791 | |
3792 * src/main/java/de/intevation/flys/exports/InfoGeneratorHelper.java: Use | |
3793 min/max ranges stored while calling doOut() for each Artifact/Facet | |
3794 instead of fetching those information from chart's Datasets (which could | |
3795 be null). | |
3796 | |
3797 2011-10-07 Ingo Weinzierl <ingo@intevation.de> | |
3798 | |
3799 * src/main/java/de/intevation/flys/utils/Formatter.java: Changed the max | |
3800 number of digits for AT exports from 0 to 2. | |
3801 | |
3802 2011-10-06 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
3803 | |
3804 * src/main/java/de/intevation/flys/exports/ATWriter.java: Get rid | |
3805 of buggy first line code. | |
3806 | |
3807 2011-10-05 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
3808 | |
3809 fixed flys/issue201 | |
3810 | |
3811 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
3812 Replace >= with > in km index lookup because last km was not found. | |
3813 | |
3814 2011-10-05 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
3815 | |
3816 fixed flys/issue177 | |
3817 | |
3818 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java: | |
3819 Revert rev2245. Code works fine now! :-) | |
3820 | |
3821 2011-10-05 Ingo Weinzierl <ingo@intevation.de> | |
3822 | |
3823 * src/main/java/de/intevation/flys/jfree/FLYSAnnotation.java: Stores a | |
3824 list of XYTextAnnotations instead of FLYS specific Annotations. This | |
3825 makes this class suitable for other annotation types as well. | |
3826 | |
3827 * src/main/java/de/intevation/flys/artifacts/model/MainValuesQFacet.java, | |
3828 src/main/java/de/intevation/flys/artifacts/model/MainValuesWFacet.java: | |
3829 Both facets' getData() will now return an instance of FLYSAnnotation. | |
3830 | |
3831 * src/main/java/de/intevation/flys/artifacts/model/AnnotationFacet.java: | |
3832 Create XYTextAnnotations used to instantiate an object of | |
3833 FLYSAnnotation. | |
3834 | |
3835 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java, | |
3836 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
3837 Removed the code to add annotations to the plot. This task is general | |
3838 enough to move this code to parent class. | |
3839 | |
3840 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: | |
3841 Instances of this class are now able to store - besides first and second | |
3842 axes datasets - a list of annotations. This annotations are added to the | |
3843 plot after the datasets have been added. To support LegendItems for | |
3844 those annotions, it was necessary to create a the LegendItemCollection | |
3845 by ourself. This work is done while applying the themes for each series | |
3846 in the chart. | |
3847 | |
3848 2011-10-05 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
3849 | |
3850 Removed code duplication of guessWaterIncreasing() | |
3851 | |
3852 * src/main/java/de/intevation/flys/artifacts/model/WKms.java(allKms, allWs): | |
3853 Added methods to fetch all kms and all ws. | |
3854 | |
3855 * src/main/java/de/intevation/flys/utils/DataUtil.java: Generalized to | |
3856 get WKms as arguments. | |
3857 | |
3858 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java, | |
3859 src/main/java/de/intevation/flys/artifacts/model/WKmsImpl.java, | |
3860 src/main/java/de/intevation/flys/artifacts/model/WQ.java: Implements | |
3861 the extended WKms interface. | |
3862 | |
3863 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java: | |
3864 Uses the generalized DataUtil.guessWaterIncreasing(). | |
3865 | |
3866 2011-10-05 Ingo Weinzierl <ingo@intevation.de> | |
3867 | |
3868 flys/issue347 (W-INFO / Wasserspiegellagenberechnung, Längsschnittdiagramm) | |
3869 flys/issue303 (Keine Streckenfavoriten, wenn nur Q im Längsschnittdiagram ausgewählt) | |
3870 flys/issue353 (W-INFO / Wasserspiegellagenberechnung, Diagramm) | |
3871 | |
3872 * src/main/java/de/intevation/flys/jfree/FLYSAnnotation.java: New. A | |
3873 wrapper for Annotations which allows us to provide a description for a | |
3874 set of annotations. | |
3875 | |
3876 * src/main/java/de/intevation/flys/artifacts/model/AnnotationFacet.java: | |
3877 The getData() will now return an instance of FLYSAnnotation that wraps | |
3878 the Annotations returned by the AnnotationArtifact. The lebel of | |
3879 FLYSAnnotation is the description of this Facet. | |
3880 | |
3881 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
3882 Modified the way to add Annotations. We will no longer create an empty | |
3883 series to support a LegendItem for a set of Annotations, but we will add | |
3884 a LegendItem manually to the LegendItemCollection of the plot. In | |
3885 addition, we are now able to display annotations if one of the two | |
3886 y-axes are missing. If there are no y-axes existing, we are not able to | |
3887 display annotations yet. | |
3888 | |
3889 2011-10-05 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
3890 | |
3891 * src/main/java/de/intevation/flys/artifacts/math/BackJumpCorrector.java: | |
3892 Lifted the wrong point. Now all backjump corrections look fine. :-) | |
3893 | |
3894 2011-10-05 Ingo Weinzierl <ingo@intevation.de> | |
3895 | |
3896 * src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java: | |
3897 Fixed bugs and make use of a cache for annotations now. | |
3898 | |
3899 2011-10-04 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
3900 | |
3901 Worked on flys/issue31 | |
3902 | |
3903 * src/main/java/de/intevation/flys/artifacts/math/BackJumpCorrector.java: | |
3904 Simplified the code a lot. Needs testing. Maybe flys/issue31 is gone | |
3905 | |
3906 2011-10-04 Ingo Weinzierl <ingo@intevation.de> | |
3907 | |
3908 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
3909 Fetch the WstUnit value from river - the Wst itself no longer supports a | |
3910 Unit iself. | |
3911 | |
3912 2011-10-04 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
3913 | |
3914 * src/main/java/de/intevation/flys/artifacts/math/BackJumpCorrector.java, | |
3915 src/main/java/de/intevation/flys/utils/DoubleUtil.java: Moved some generic | |
3916 double array code to DoubleUtil. | |
3917 | |
3918 2011-10-04 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
3919 | |
3920 * src/main/java/de/intevation/flys/utils/DoubleUtil.java (interpolateSorted): | |
3921 Added code to linear interpolate double values in a sorted array. | |
3922 Keys and values are given as double arrays. Keys need to be sorted. | |
3923 | |
3924 2011-10-04 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
3925 | |
3926 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java, | |
3927 src/main/java/de/intevation/flys/artifacts/states/WaterlevelPairSelectState.java: | |
3928 Removed superfluous imports. | |
3929 | |
3930 2011-10-04 Ingo Weinzierl <ingo@intevation.de> | |
3931 | |
3932 flys/issue330 (Dauerlinie kann nicht berechnet werden) | |
3933 | |
3934 * src/main/java/de/intevation/flys/artifacts/model/Calculation3.java: | |
3935 Add a problem if no data was found for duration curves. | |
3936 | |
3937 2011-10-04 Ingo Weinzierl <ingo@intevation.de> | |
3938 | |
3939 * src/main/java/de/intevation/flys/themes/Theme.java, | |
3940 src/main/java/de/intevation/flys/themes/DefaultTheme.java: Added | |
3941 getter/setter methods to provide a facet (string) and index (int). Both | |
3942 values are written as attribute to the Theme's XML representation. | |
3943 | |
3944 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
3945 Set the "facet" and "index" values of themes. | |
3946 | |
3947 2011-10-04 Ingo Weinzierl <ingo@intevation.de> | |
3948 | |
3949 flys/issue346 (W-INFO / Anzeige der Höheninformation) | |
3950 | |
3951 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
3952 Modified x and y axis title. The x axis title is now "RIVERNAME-km"; the | |
3953 y axis title is now "W[WST_UNIT]" where WST_UNIT depends on the unit of | |
3954 the WST. | |
3955 | |
3956 * src/main/resources/messages.properties, | |
3957 src/main/resources/messages_de_DE.properties, | |
3958 src/main/resources/messages_en.properties, | |
3959 src/main/resources/messages_de.properties: Modified i18n expressions for | |
3960 x and y axis of longitudinal section charts. | |
3961 | |
3962 2011-09-30 Ingo Weinzierl <ingo@intevation.de> | |
3963 | |
3964 flys/issue351 (W-INFO / Wasserspiegellagenberechnungen) | |
3965 | |
3966 * src/main/java/de/intevation/flys/utils/DoubleUtil.java: Modified the | |
3967 explode() function that returns a list of values specified by min, max | |
3968 and an interval. If the last value, determined by the interval, is | |
3969 bigger than the max value, it is not included in the result list. | |
3970 | |
3971 2011-09-30 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
3972 | |
3973 flys/issue334 (Querprofil-Diagramm: Ausgabe dieses Diagrammtyps | |
3974 möglich, obwohl WSP Berechnung keine Ergebnisse liefert) | |
3975 | |
3976 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java: | |
3977 (compute): Add Facets regarding CrossSections only if data available. | |
3978 | |
3979 2011-09-29 Ingo Weinzierl <ingo@intevation.de> | |
3980 | |
3981 flys/issue176 (Diagramm: Benennung eines Abflusses bei gewählter Höhe am Pegel) | |
3982 flys/issue349 (W-INFO / Wasserspiegellagenberechnung, Längsschnittdiagramm) | |
3983 | |
3984 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java: | |
3985 Create titles for W and Q waterlevel facets with proper fractions. | |
3986 | |
3987 2011-09-30 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
3988 | |
3989 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelPairSelectState.java: | |
3990 (createStaticData, getLabels): Create proper labels for differences. | |
3991 | |
3992 2011-09-29 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
3993 | |
3994 flys/issue244 (WINFO: Export von AT-Dateien im ersten Teil unterschiedlich) | |
3995 flys/issue332 (W-INFO / Berechnung Abflusskurve, Export, FLYS 2.5) | |
3996 | |
3997 * src/main/java/de/intevation/flys/exports/ATWriter.java: Due to a rounding | |
3998 issue the w's of the first line underun the minimal w of the curve at times. | |
3999 An extra test was introduced to suppress the output of the q's of the wrong w's. | |
4000 | |
4001 2011-09-28 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
4002 | |
4003 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java: | |
4004 Use StringUtil.wWrap , fix wrong loop, minor refac and cosmetics. | |
4005 | |
4006 2011-09-28 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
4007 | |
4008 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelSelectState.java: | |
4009 Extracted/use StringUtil.wWrap . | |
4010 | |
4011 2011-09-28 Ingo Weinzierl <ingo@intevation.de> | |
4012 | |
4013 * src/main/java/de/intevation/flys/artifacts/services/MainValuesService.java: | |
4014 Log the gauge which has been determined. | |
4015 | |
4016 2011-09-28 Ingo Weinzierl <ingo@intevation.de> | |
4017 | |
4018 flys/issue332 (W-INFO / Berechnung Abflusskurve, Export, FLYS 2.5) | |
4019 | |
4020 * src/main/java/de/intevation/flys/exports/ATExporter.java: Store the | |
4021 master Artifact which is set via setMasterArtifact(). This is required | |
4022 for meta information used while preparing the header row of AT exports. | |
4023 | |
4024 * src/main/java/de/intevation/flys/exports/ATWriter.java: Print a header | |
4025 row into the AT export for being compatible with desktop FLYS. | |
4026 | |
4027 * src/main/resources/messages.properties, | |
4028 src/main/resources/messages_de_DE.properties, | |
4029 src/main/resources/messages_en.properties, | |
4030 src/main/resources/messages_de.properties: Added header row for AT | |
4031 export files. | |
4032 | |
4033 2011-09-28 Ingo Weinzierl <ingo@intevation.de> | |
4034 | |
4035 flys/issue328 (W-INFO / ÜSK: Auswahl der Wasserspiegellage / Auswahlunterstützung) | |
4036 | |
4037 * doc/conf/meta-data.xml: Added an out 'waterlevels' that might be used to | |
4038 fetch user specific waterlevels (same as longitudinal sections, but | |
4039 without Q facet). | |
4040 In addition, the system specific datacage stuff is now fetched, when: | |
4041 a) no user-id is given | |
4042 b) a user-id is given and there is a parameter 'load-system' | |
4043 | |
4044 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelSelectState.java: | |
4045 If the label of the WQKms object specified by the waterlevel selection | |
4046 begins with a "Q", the label is wrapped into a "W()", e.g. "W(Q=1200)". | |
4047 | |
4048 2011-09-28 Ingo Weinzierl <ingo@intevation.de> | |
4049 | |
4050 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Made | |
4051 feed() able to remove existing data items from Artifact's data pool. | |
4052 Therefore, the value for the item which should be removed needs to an | |
4053 empty string. | |
4054 | |
4055 2011-09-28 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
4056 | |
4057 Extracted StringUtil.unbracket from WaterlevelSelectState.strip. | |
4058 | |
4059 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java, | |
4060 src/main/java/de/intevation/flys/artifacts/states/WaterlevelSelectState.java: | |
4061 Extract and use StringUtil.unbracket, minor doc. | |
4062 | |
4063 2011-09-27 Ingo Weinzierl <ingo@intevation.de> | |
4064 | |
4065 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java, | |
4066 src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java: | |
4067 Changed access of getCurrentState() from protected to public. | |
4068 | |
4069 * src/main/java/de/intevation/flys/artifacts/CollectionMonitor.java: We | |
4070 use the configured Outputs instead of the actuel Outputs of an Artifact | |
4071 to make recommendations, now. This has the bad side effect of giving | |
4072 recommendations for Outputs that we might _NOT_ be able to produce. But | |
4073 otherwise, we would not be able to give recommendations for states with | |
4074 long calculation times that start background threads for calculation (as | |
4075 WSPLGEN caluclations does). | |
4076 | |
4077 2011-09-27 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
4078 | |
4079 Enable "auto-scaling" axis for waterlevels in WDifference-plots. | |
4080 | |
4081 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
4082 (createSecondaryAxis, zoomY): Refactored to allow modification in | |
4083 siblings. | |
4084 | |
4085 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java: | |
4086 (createSecondaryAxisRange): Override to achieve expected behavior. | |
4087 Also adjusted label. | |
4088 | |
4089 2011-09-27 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
4090 | |
4091 In W-Difference Calculation, respect indices of selected facets. | |
4092 | |
4093 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java: | |
4094 (computeAdvance): Respect index of selected facets. | |
4095 | |
4096 2011-09-27 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
4097 | |
4098 flys/issue317: (Querprofil-Diagramm: Referenzen auf CrossSectionApp entfernen) | |
4099 | |
4100 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
4101 Removed dependency to demo app. | |
4102 | |
4103 * src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java: | |
4104 Refactored to use logic from the models. | |
4105 | |
4106 * src/main/java/de/intevation/flys/artifacts/geom/Lines.java: | |
4107 Moved some logic from the demo app to this model. | |
4108 | |
4109 2011-09-27 Ingo Weinzierl <ingo@intevation.de> | |
4110 | |
4111 * src/main/java/de/intevation/flys/wsplgen/FacetCreator.java: New. Code | |
4112 from FloodMapState moved to its own class with the intent, to use it in | |
4113 classes different from FloodMapState. | |
4114 | |
4115 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: | |
4116 Removed the inner class FacetCreator. | |
4117 | |
4118 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENJob.java: Stores | |
4119 an instance of FacetCreator. | |
4120 NOTE: Maybe we should move the WSPLGEN parameters into an own class | |
4121 which might be serializable. | |
4122 | |
4123 * src/main/java/de/intevation/flys/wsplgen/JobExecutor.java: Use the | |
4124 FacetCreator instance stored in the WSPLGENJob to create a new WSPLGEN | |
4125 facet if the calculation was successfully (without errors). Finally, the | |
4126 facets of FacetCreator are added to the Facet list of the FLYSArtifacts. | |
4127 | |
4128 2011-09-27 Ingo Weinzierl <ingo@intevation.de> | |
4129 | |
4130 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: | |
4131 Put Artifact in background mode first before starting WSPLGEN, otherwise | |
4132 a very fast errors (call CallContext.afterBackground() before Artifact is | |
4133 in Background mode) might lead to an inconsistent state. | |
4134 | |
4135 * src/main/java/de/intevation/flys/wsplgen/ProblemObserver.java: Repaired | |
4136 broken error num parsing. | |
4137 | |
4138 2011-09-27 Ingo Weinzierl <ingo@intevation.de> | |
4139 | |
4140 * src/main/java/de/intevation/flys/wsplgen/ProblemObserver.java: Track | |
4141 critical errors as well (improved regular expression for errors). | |
4142 | |
4143 2011-09-27 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
4144 | |
4145 * ChangeLog: Fixed whitespace usage. | |
4146 | |
4147 2011-09-27 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
4148 | |
4149 * src/main/java/de/intevation/flys/artifacts/services/RiverService.java, | |
4150 src/main/java/de/intevation/flys/artifacts/math/DifferenceCurveFacet.java | |
4151 src/main/java/de/intevation/flys/artifacts/model/ManagedDomFacet.java, | |
4152 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java: | |
4153 Removed superfluous imports. | |
4154 | |
4155 2011-09-27 Ingo Weinzierl <ingo@intevation.de> | |
4156 | |
4157 flys/issue68 (Diagramm: Werte an der Y-Achse benötigen i18n) | |
4158 | |
4159 * src/main/java/de/intevation/flys/exports/ChartGenerator.java: Added a | |
4160 method to retrieve the current/preferred locale specified by CallMeta. | |
4161 | |
4162 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: | |
4163 Introduced two methods localizeDomainAxis() and localizeRangeAxis(). | |
4164 Both methods of this class override the NumberFormat used to format axes | |
4165 numbers. Those methods are called by localizeAxes() - which has private | |
4166 access - for each domain and range axis of the current XYPlot. | |
4167 | |
4168 2011-09-27 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
4169 | |
4170 * doc/conf/cache.xml: Number of cached annotations was much | |
4171 to low. | |
4172 | |
4173 2011-09-27 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
4174 | |
4175 Improved w-differences diagram generation where multiple differences | |
4176 can be shown. | |
4177 | |
4178 * src/main/java/de/intevation/flys/artifacts/math/DifferenceCurveFacet.java: | |
4179 New facet type. | |
4180 | |
4181 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java: | |
4182 Employ new DifferenceCurveFacet, return CalculationResult that can | |
4183 store more than one WKms. | |
4184 | |
4185 2011-09-27 Ingo Weinzierl <ingo@intevation.de> | |
4186 | |
4187 flys/issue320 (ÃœSK:Mapserver hat Probleme beim Shapefilepath mit "../" im Pfad) | |
4188 | |
4189 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Use | |
4190 File.getCanonicalPath() to substitute "../" in shapefile directories. | |
4191 | |
4192 2011-09-26 Ingo Weinzierl <ingo@intevation.de> | |
4193 | |
4194 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: | |
4195 The extent of the WSPLGEN result layer is now specified by the extent of | |
4196 the CrossSectionTracks that matches the start and end kilometer of the | |
4197 WSPLGEN calculation. | |
4198 | |
4199 * src/main/java/de/intevation/flys/utils/GeometryUtils.java: New function | |
4200 that creates the OpenLayers bounding box based on two Geometries. | |
4201 | |
4202 2011-09-26 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
4203 | |
4204 Improved w-differences diagram generation with included "absolute" | |
4205 values. | |
4206 | |
4207 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java: | |
4208 Fixed one (of two) incorrect labels. | |
4209 (doWaterlevelOut): Survive non-found gauge, fetch kilometer and w | |
4210 instead of values for w and q. | |
4211 | |
4212 2011-09-26 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
4213 | |
4214 Add positional-conflict-awareness when merging Facets for a | |
4215 FLYSArtifactCollection. First come first serve. | |
4216 | |
4217 * src/main/java/de/intevation/flys/collections/AttributeWriter.java: | |
4218 (writeFacets): First, sort incoming facets into 2 groups: | |
4219 "genuinely new" and "already there", then for each new check | |
4220 whether the position is already taken. If so, push "up" (position++) | |
4221 until no conflict exists anymore. | |
4222 | |
4223 2011-09-26 Ingo Weinzierl <ingo@intevation.de> | |
4224 | |
4225 flys/issue296 (Karte: Bezeichnungen verbessern) | |
4226 | |
4227 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: | |
4228 I18N of the WSPLGEN and barriers facets (WMS layers). | |
4229 | |
4230 * src/main/resources/messages.properties, | |
4231 src/main/resources/messages_de_DE.properties, | |
4232 src/main/resources/messages_en.properties, | |
4233 src/main/resources/messages_de.properties: Added strings for the wsplgen | |
4234 and barriers WMS layers. | |
4235 | |
4236 2011-09-26 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
4237 | |
4238 Fix (revert) access to position in ManagedDomFacet. | |
4239 | |
4240 * src/main/java/de/intevation/flys/artifacts/model/ManagedDomFacet.java: | |
4241 (getPosition): Do not add prefix when querying position ("pos") | |
4242 attribute, add a logger for faster future debugging. | |
4243 | |
4244 2011-09-23 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
4245 | |
4246 Squash positional conflict-bug. | |
4247 | |
4248 * src/main/java/de/intevation/flys/collections/AttributeWriter.java: | |
4249 (mergeFacets): Removed, replaced in parts by pickFacet. | |
4250 (pickFacet): New, return facet to be added to document. | |
4251 Documentation added. | |
4252 | |
4253 2011-09-23 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
4254 | |
4255 Squash a bug about wrongly named "art:pos" attribute in ManagedDomFacet (was | |
4256 "pos"). Added documentation from commit message. | |
4257 | |
4258 * src/main/java/de/intevation/flys/artifacts/model/ManagedDomFacet.java: | |
4259 Added documentation (commit message with minor adjustments). | |
4260 (getPosition, setPosition): Include PREFIX in attribute name. | |
4261 | |
4262 2011-09-23 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
4263 | |
4264 Refactoring, doc. | |
4265 | |
4266 * src/main/java/de/intevation/flys/collections/AttributeWriter.java: | |
4267 (mergeFacets): Removed, replaced in parts by pickFacet. | |
4268 (pickFacet): New, return facet to be added to document. | |
4269 Documentation added. | |
4270 | |
4271 2011-09-23 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
4272 | |
4273 Cosmetics, docs. | |
4274 | |
4275 * src/main/java/de/intevation/flys/collections/AttributeWriter.java: | |
4276 Documentation added. | |
4277 | |
4278 2011-09-22 Ingo Weinzierl <ingo@intevation.de> | |
4279 | |
4280 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java: | |
4281 Subclasses the FLYSService now - this should improve the database | |
4282 connection handling. | |
4283 | |
4284 2011-09-22 Bjoern Schilberg <bjoern.schilberg@intevation.de> | |
4285 | |
4286 * doc/mapserver/mosel-mapfile.map: | |
4287 Full blown mosel wms mapfile. | |
4288 | |
4289 2011-09-22 Ingo Weinzierl <ingo@intevation.de> | |
4290 | |
4291 * src/main/java/de/intevation/flys/artifacts/services/FLYSService.java: | |
4292 New. A subclass of DefaultService which is used in FLYS to init and | |
4293 shutdown database connections. | |
4294 | |
4295 * src/main/java/de/intevation/flys/artifacts/services/MainValuesService.java, | |
4296 src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java, | |
4297 src/main/java/de/intevation/flys/artifacts/services/RiverService.java: | |
4298 Centralized the initialization and shutdown of database connections. | |
4299 These services now subclass FLYSService which handles the database stuff. | |
4300 | |
4301 * src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java: The | |
4302 current database connection is not closed here - this is done in a | |
4303 Service or in the CallContext. | |
4304 | |
4305 * src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java: It's | |
4306 not necessary to create new database connections here. We already have | |
4307 an existing connection which is initialized by CallContext. | |
4308 | |
4309 2011-09-22 Ingo Weinzierl <ingo@intevation.de> | |
4310 | |
4311 * src/main/java/de/intevation/flys/artifacts/states/DistanceOnlySelect.java: | |
4312 Override validate() of parent classes to suppress "step" validation | |
4313 which is not present in this state. | |
4314 | |
4315 * src/main/java/de/intevation/flys/artifacts/states/RangeState.java: Added | |
4316 new method validateBounds() which really just validates a boundary | |
4317 without "step" parameter. | |
4318 | |
4319 2011-09-21 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
4320 | |
4321 Added WaterlevelArtifact to accompany WINFOArtifacts in WDifferencesPlots. | |
4322 | |
4323 * src/main/java/de/intevation/flys/artifacts/WaterlevelArtifact.java: | |
4324 New WaterlevelArtifact. | |
4325 | |
4326 * doc/conf/conf.xml: | |
4327 Added configuration for WaterlevelArtifact configuration (path to state-xml) | |
4328 waterlevel-factory. | |
4329 | |
4330 * doc/conf/artifacts/waterlevel.xml: | |
4331 New, trivial state description for Waterlevelartifact. | |
4332 | |
4333 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelInfoState.java: | |
4334 New, only state for WaterlevelArtifact. | |
4335 | |
4336 2011-09-21 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
4337 | |
4338 Cosmetics, docs. | |
4339 | |
4340 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java, | |
4341 src/main/java/de/intevation/flys/collections/AttributeWriter.java, | |
4342 src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
4343 Cosmetics, documentation. | |
4344 | |
4345 2011-09-21 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
4346 | |
4347 Added WaterlevelOut-processing ability to WDifferencesCurveGenerator. | |
4348 | |
4349 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java: | |
4350 Process LONGITUDINAL_W facets. | |
4351 | |
4352 2011-09-21 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
4353 | |
4354 Improved WDifferenceState in preparation to be able to deal with multiple | |
4355 pairs for differences. | |
4356 | |
4357 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java: | |
4358 Prepare multiple-pairs-case. | |
4359 | |
4360 2011-09-21 Ingo Weinzierl <ingo@intevation.de> | |
4361 | |
4362 flys/issue315 (Überschwemmungsfläche: String bei Streckenauswahl) | |
4363 | |
4364 * doc/conf/artifacts/winfo.xml: Added a new state for floodmap's range | |
4365 input. This state will accept a km range only, there is no step width. | |
4366 | |
4367 * src/main/java/de/intevation/flys/artifacts/states/DistanceOnlySelect.java: | |
4368 New. The state which is used to enter a km range with step width. | |
4369 | |
4370 2011-09-21 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
4371 | |
4372 Cosmetics, improved debug output, doc. | |
4373 | |
4374 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java: | |
4375 Improved debug output. | |
4376 | |
4377 * src/main/java/de/intevation/flys/artifacts/model/ManagedFacet.java: | |
4378 Added documentation. | |
4379 | |
4380 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelPairSelectState.java, | |
4381 src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java: | |
4382 Removed commented code. | |
4383 | |
4384 * src/main/java/de/intevation/flys/collections/AttributeParser.java: | |
4385 Whitespace cosmetics. | |
4386 | |
4387 2011-09-21 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
4388 | |
4389 Avoid NullPointerException when drawing XYChart without data. | |
4390 | |
4391 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: | |
4392 Guard calls to dataset to avoid NullPointerException. | |
4393 | |
4394 2011-09-21 Ingo Weinzierl <ingo@intevation.de> | |
4395 | |
4396 flys/issue325 (FLYS Client: Auswahl des DGM zeigt numerischen Wert an) | |
4397 | |
4398 * src/main/java/de/intevation/flys/artifacts/states/DGMSelect.java: Write | |
4399 a better label for the selected DEM into the static DESCRIBE. Use the | |
4400 name of the DEM file as label instead of the database id. | |
4401 | |
4402 2011-09-16 Bjoern Schilberg <bjoern.schilberg@intevation.de> | |
4403 | |
4404 * doc/mapserver/fontset.txt: | |
4405 Added initial font set for km_annotation layer. | |
4406 * doc/mapserver/symbols/symbols.sym: | |
4407 Added square symbol for km and fixpoint layer. | |
4408 * doc/mapserver/saar-mapfile.map: | |
4409 Adjust styling in the flys karte-archiv way. | |
4410 | |
4411 2011-09-19 Ingo Weinzierl <ingo@intevation.de> | |
4412 | |
4413 Tagged RELEASE 2.5 | |
4414 | |
4415 * Changes: Prepared changes for release. | |
4416 | |
4417 2011-09-19 Ingo Weinzierl <ingo@intevation.de> | |
4418 | |
4419 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java, | |
4420 src/main/java/de/intevation/flys/artifacts/states/WaterlevelSelectState.java, | |
4421 src/main/java/de/intevation/flys/artifacts/states/WaterlevelPairSelectState.java, | |
4422 src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java, | |
4423 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Removed | |
4424 needless imports. | |
4425 | |
4426 2011-09-16 Ingo Weinzierl <ingo@intevation.de> | |
4427 | |
4428 * doc/conf/meta-data.xml: Improved datacage configuration for DEMs. | |
4429 | |
4430 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: | |
4431 Query DGMs by the given ID in the FLYS data pool - not by given range | |
4432 values. | |
4433 | |
4434 2011-09-16 Ingo Weinzierl <ingo@intevation.de> | |
4435 | |
4436 * doc/conf/meta-data.xml: Added a section for DEMs to the floodmap | |
4437 section. | |
4438 | |
4439 2011-09-16 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
4440 | |
4441 Fix build. | |
4442 | |
4443 * src/main/java/de/intevation/flys/artifacts/state/WDifferencesState.java: | |
4444 Fix build. | |
4445 | |
4446 2011-09-16 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
4447 | |
4448 Take a given WaterlevelPair-String, load artifact and plot the diff. | |
4449 | |
4450 * src/main/java/de/intevation/flys/artifacts/state/WDifferencesState.java: | |
4451 Load correct artifacts. | |
4452 | |
4453 2011-09-16 Bjoern Schilberg <bjoern.schilberg@intevation.de> | |
4454 | |
4455 * doc/mapserver/*: Added inital mapserver configuration files. | |
4456 | |
4457 2011-09-16 Ingo Weinzierl <ingo@intevation.de> | |
4458 | |
4459 * doc/conf/meta-data.xml: Moved the system specific configuration into a | |
4460 macro to the top of the configuration document. Call this macro at the | |
4461 end of the user specific part and in the part that should contain the | |
4462 system specific stuff only! | |
4463 | |
4464 2011-09-16 Ingo Weinzierl <ingo@intevation.de> | |
4465 | |
4466 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: | |
4467 Defined createItem() here and adapted some method signatures, because I | |
4468 need the CallContext deeper in code than expected. | |
4469 | |
4470 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelSelectState.java: | |
4471 Write the name of the selected waterlevel into the static DESCRIBE. | |
4472 | |
4473 * src/main/java/de/intevation/flys/artifacts/states/ScenarioSelect.java: | |
4474 Adapted method signatures that have been changed in DefaultState. | |
4475 | |
4476 * src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java: | |
4477 Removed method createItem() which is now defined in the upper class | |
4478 DefaultState. | |
4479 | |
4480 * src/main/resources/messages.properties, | |
4481 src/main/resources/messages_de_DE.properties, | |
4482 src/main/resources/messages_en.properties, | |
4483 src/main/resources/messages_de.properties: Added string for selected | |
4484 waterlevel that is displayed in static UI. | |
4485 | |
4486 2011-09-16 Ingo Weinzierl <ingo@intevation.de> | |
4487 | |
4488 * src/main/resources/messages.properties, | |
4489 src/main/resources/messages_de_DE.properties, | |
4490 src/main/resources/messages_en.properties, | |
4491 src/main/resources/messages_de.properties: Added state label for | |
4492 waterlevel selection. | |
4493 | |
4494 2011-09-15 Ingo Weinzierl <ingo@intevation.de> | |
4495 | |
4496 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelSelectState.java: | |
4497 Validate incoming data string and strip brackets. | |
4498 | |
4499 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: | |
4500 Fetch waterlevel data from external Artifact if existing. If no external | |
4501 Artifact is specified that provides waterlevel data, we gonna try to | |
4502 fetch it from the current Artifact. | |
4503 | |
4504 2011-09-15 Ingo Weinzierl <ingo@intevation.de> | |
4505 | |
4506 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelPairSelectState.java: | |
4507 Removed needless import which caused compile errors. | |
4508 | |
4509 2011-09-15 Ingo Weinzierl <ingo@intevation.de> | |
4510 | |
4511 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: | |
4512 Added a transform() method. This method should be used to transform | |
4513 input data in form of a string into a better data structure. This state | |
4514 provides a simple implementation which just returns a StateData object | |
4515 that contains exactly the input string. | |
4516 | |
4517 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Transform | |
4518 input strings using DefaultState.transform() before they are added to | |
4519 its data pool. | |
4520 | |
4521 2011-09-15 Ingo Weinzierl <ingo@intevation.de> | |
4522 | |
4523 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
4524 Made collection solid for the case if it has no Artifacts. | |
4525 | |
4526 2011-09-15 Ingo Weinzierl <ingo@intevation.de> | |
4527 | |
4528 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: Fetch Artifact | |
4529 from ArtifactDatabase properly. Write better error logs if that process | |
4530 fails. | |
4531 | |
4532 2011-09-14 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
4533 | |
4534 Extend WDifferences branch to have calculations in dedicated, new state. | |
4535 | |
4536 * doc/conf/artifacts/winfo.xml: Added new State and Transition in | |
4537 WDifferences-branch. | |
4538 | |
4539 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelPairSelectState.java: | |
4540 New state. | |
4541 | |
4542 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java: | |
4543 Specify to not take input, prepare getting other facets. | |
4544 | |
4545 2011-09-14 Ingo Weinzierl <ingo@intevation.de> | |
4546 | |
4547 * src/main/java/de/intevation/flys/artifacts/states/DGMSelect.java: This | |
4548 state now desires the UIProvider 'dem_datacage_panel'. | |
4549 | |
4550 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelSelectState.java: | |
4551 New. This state is used to define the desired UIProvider | |
4552 'wsp_datacage_panel'. | |
4553 | |
4554 * doc/conf/artifacts/winfo.xml: Added a new way to start a WSPLGEN | |
4555 calculation when choosing the calculation type 'floodmap'. | |
4556 | |
4557 2011-09-14 Ingo Weinzierl <ingo@intevation.de> | |
4558 | |
4559 * src/main/java/de/intevation/flys/collections/AttributeWriter.java: Merge | |
4560 facets only if their name AND their owner artifact are equal. | |
4561 | |
4562 2011-09-14 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
4563 | |
4564 Partial Fix flys/issue304 (3) (Baseline). | |
4565 | |
4566 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java: | |
4567 Show Baseline in WDifferencesPlot. | |
4568 | |
4569 2011-09-14 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
4570 | |
4571 Fix flys/issue310 (cross-section theme). | |
4572 | |
4573 * doc/conf/themes.xml: CrossSection-Themes: profile thin, water blue. | |
4574 | |
4575 2011-09-14 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
4576 | |
4577 Fix flys/issue310 (cross-section theme). | |
4578 | |
4579 * doc/conf/themes.xml: CrossSection-Themes: profile thin, water blue. | |
4580 | |
4581 2011-09-13 Ingo Weinzierl <ingo@intevation.de> | |
4582 | |
4583 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: | |
4584 Add an quick and simple error to the report if an error occured while | |
4585 WSPLGENJob creation. | |
4586 | |
4587 * src/main/resources/messages.properties, | |
4588 src/main/resources/messages_de_DE.properties, | |
4589 src/main/resources/messages_en.properties, | |
4590 src/main/resources/messages_de.properties: Added error messages for | |
4591 WSPLGEN job creation errors. | |
4592 | |
4593 2011-09-13 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
4594 | |
4595 Fix crash when drawing StickyAxisAnnotation when no range was given. | |
4596 User-directed issues remain ( flys/issue303 ). | |
4597 | |
4598 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java | |
4599 (draw): | |
4600 Guard access to domainAxis, rangeAxis and the corresponding ranges. | |
4601 Warn and exit if any was null. | |
4602 | |
4603 2011-09-13 Ingo Weinzierl <ingo@intevation.de> | |
4604 | |
4605 flys/issue290 (Karte: Eingabe von Differenzen zw. WSP und Gelände findet | |
4606 keine Ausprägung in der Karte) | |
4607 | |
4608 * doc/conf/mapserver/wsplgen_class.vm: Added styles for DIFF attribute. | |
4609 | |
4610 * doc/conf/mapserver/mapfile.vm: Set debug default to '5'. | |
4611 | |
4612 2011-09-12 Ingo Weinzierl <ingo@intevation.de> | |
4613 | |
4614 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: | |
4615 Add a first WSPLGEN status message (notifies the user about a | |
4616 queued job) after the job has been added to the Scheduler. | |
4617 | |
4618 * src/main/resources/messages.properties, | |
4619 src/main/resources/messages_de_DE.properties, | |
4620 src/main/resources/messages_en.properties, | |
4621 src/main/resources/messages_de.properties: Added english and german | |
4622 status message text. | |
4623 | |
4624 2011-09-12 Ingo Weinzierl <ingo@intevation.de> | |
4625 | |
4626 * src/main/java/de/intevation/flys/utils/GeometryUtils.java: Write | |
4627 shapefiles only if there are features for it existing. | |
4628 | |
4629 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: | |
4630 A WSPLGEN facet is only created, if the calculation was successfully | |
4631 added to the Scheduler. A barrier facet is only created if the WSPLGEN | |
4632 calculation has been added to the scheduler AND if there are digitized | |
4633 geometries existing. | |
4634 | |
4635 2011-09-12 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
4636 | |
4637 Copied and slightly modified implementation of guessWaterIncreasing from | |
4638 WQKms to (new) DataUtils. Accidentally commited usage in last commit, to | |
4639 correct orientation of diagram (invert x axis). | |
4640 | |
4641 * src/main/java/de/intevation/flys/utils/DataUtils.java: | |
4642 New file with guessWaterIncreasing implementation from WQKms, | |
4643 slightly adjusted. | |
4644 | |
4645 2011-09-12 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
4646 | |
4647 Cosmetics. | |
4648 | |
4649 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java, | |
4650 src/main/java/de/intevation/flys/artifacts/model/WKmsImpl.java: | |
4651 Cosmetics. | |
4652 | |
4653 2011-09-12 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
4654 | |
4655 Added CSV Export for W-Differences. | |
4656 | |
4657 * doc/conf/conf.xml: Added Exporter. | |
4658 | |
4659 * doc/conf/artifacts/winfo.xml: Removed transition over distances | |
4660 state, added export outputmode and facet. | |
4661 | |
4662 * src/main/java/de/intevation/flys/exports/WDifferencesExporter.java: | |
4663 New, CSV-Exporter for WDifferences. | |
4664 | |
4665 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java: | |
4666 Add export facet. | |
4667 | |
4668 2011-09-12 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
4669 | |
4670 * src/main/java/de/intevation/flys/artifacts/model/DataFacet.java: | |
4671 Cosmetics, docs. | |
4672 | |
4673 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java, | |
4674 src/main/java/de/intevation/flys/exports/AbstractExporter.java, | |
4675 src/main/java/de/intevation/flys/exports/DurationCurveExporter.java: | |
4676 Cosmetics. | |
4677 | |
4678 2011-09-12 Ingo Weinzierl <ingo@intevation.de> | |
4679 | |
4680 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: | |
4681 Sourced the code to append a concrete data item to the static DESCRIBE | |
4682 part out to an own method (appendStaticData()). | |
4683 | |
4684 * src/main/java/de/intevation/flys/artifacts/states/ScenarioSelect.java: | |
4685 Override appendStaticData() to suppress the GeoJSON string to be | |
4686 included in the static DESCRIBE. | |
4687 | |
4688 2011-09-12 Ingo Weinzierl <ingo@intevation.de> | |
4689 | |
4690 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionFactory.java, | |
4691 src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java, | |
4692 src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java, | |
4693 src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java, | |
4694 src/main/java/de/intevation/flys/artifacts/states/RiverAxisState.java, | |
4695 src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java, | |
4696 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java: | |
4697 Removed needless imports. | |
4698 | |
4699 2011-09-09 Ingo Weinzierl <ingo@intevation.de> | |
4700 | |
4701 * src/main/java/de/intevation/flys/artifacts/model/CalculationMessage.java: | |
4702 New. A subclass of Message (in the Artifacts system). It stores a | |
4703 string message and a progress (in form of step x/y). | |
4704 | |
4705 * src/main/java/de/intevation/flys/wsplgen/JobObserver.java: The observer | |
4706 now writes background messages into the artifact system using the | |
4707 CallContext.addBackgroundMessage(). We use instances of | |
4708 CalculationMessage here, that makes the WINFOArtifact able to put | |
4709 progress information into the Artifact's DESCRIBE as well. | |
4710 | |
4711 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Write | |
4712 status message and progress information into the DESCRIBE if the | |
4713 Artifact has started a background process. | |
4714 | |
4715 2011-09-09 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
4716 | |
4717 Fix flys/issue280 . | |
4718 | |
4719 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java: | |
4720 Do not draw boxes around annotations. | |
4721 | |
4722 2011-09-09 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
4723 | |
4724 Fix flys/issue279 . | |
4725 | |
4726 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
4727 Fix behaviour in various thinkable malconditions. | |
4728 | |
4729 2011-09-09 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
4730 | |
4731 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
4732 Made one case of cross section fetching more robust. | |
4733 | |
4734 2011-09-09 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
4735 | |
4736 Fix Facet name and Legend of W-Differences, also insert state to specify | |
4737 distance. | |
4738 | |
4739 * doc/conf/artifacts/winfo.xml: Add additional transitions to walk over | |
4740 distances state. | |
4741 | |
4742 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java: | |
4743 Set facets description. | |
4744 | |
4745 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java: | |
4746 Take facets description as legend. | |
4747 | |
4748 2011-09-09 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
4749 | |
4750 Added configuration to kick-in w-differences branch of winfo. | |
4751 | |
4752 * doc/conf/conf.xml: Register new (w-differences) OutputGenerators. | |
4753 | |
4754 * doc/conf/artifacts/winfo.xml: Register new state and transitions. | |
4755 | |
4756 * src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java: | |
4757 Added new (w-differences) calculation mode. | |
4758 | |
4759 * src/main/java/de/intevation/flys/exports/WDifferencesCurveInfoGenerator.java: | |
4760 New file, implementing naive approach to display w-differences | |
4761 (accidentially omitted in last commit). | |
4762 | |
4763 2011-09-09 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
4764 | |
4765 Added very stubby WDifferences State/OutGenerator for WINFOArtifact. | |
4766 | |
4767 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: | |
4768 Added w_differences facet type. | |
4769 | |
4770 * src/main/java/de/intevation/flys/artifacts/states/WDifferencesState.java: | |
4771 New file, implements naive approach to calculate w-differences (of | |
4772 calculations identified by hardcoded uuids!) and register respective facet. | |
4773 | |
4774 * src/main/java/de/intevation/flys/exports/WDifferencesCurveGenerator.java: | |
4775 New file, implementing naive approach to display w-differences. | |
4776 | |
4777 2011-09-09 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
4778 | |
4779 Implement getArtifact(uuid,context) in FLYSUtils. | |
4780 | |
4781 * src/main/java/de/intevation/flys/utils/FLYSUtils.java (getArtifact): | |
4782 Added implementation, partially resolving a TODO. Added logger instance. | |
4783 | |
4784 2011-09-08 Ingo Weinzierl <ingo@intevation.de> | |
4785 | |
4786 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENCalculation.java: | |
4787 New. This sublcass of Calculation saves warnings and errors that occur | |
4788 while WSPLGEN is running. | |
4789 Note, that the interface of this class doesn't exactly apply the interface | |
4790 of Calculation. Maybe, we should generalize this interface! | |
4791 | |
4792 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENJob.java: Stores | |
4793 an instance of WSPLGENCalculation now. We use this instance to save | |
4794 warnings and errors. | |
4795 | |
4796 * src/main/java/de/intevation/flys/wsplgen/ProblemObserver.java: Use the | |
4797 WSPLGENCalculation to save errors and warnings. | |
4798 | |
4799 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENReportFacet.java: | |
4800 New. This facet is used for WSPLGEN reports. It stores an instance of | |
4801 WSPLGENCalculation which saves ERRORS and WARNINGS that occur while | |
4802 WSPLGEN execution. | |
4803 | |
4804 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: | |
4805 Create a WSPLGENReportFacet for WSPLGEN reports. | |
4806 | |
4807 * doc/conf/conf.xml: Added an OutputGenerator 'report' for WSPLGEN | |
4808 reports. | |
4809 | |
4810 * doc/conf/artifacts/winfo.xml: Added an output 'report' for WSPLGEN | |
4811 reports. | |
4812 | |
4813 2011-09-08 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
4814 | |
4815 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java, | |
4816 src/main/java/de/intevation/flys/artifacts/math/WKmsOperation.java, | |
4817 src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java: | |
4818 Cosmetics, docs. | |
4819 | |
4820 2011-09-08 Ingo Weinzierl <ingo@intevation.de> | |
4821 | |
4822 * src/main/java/de/intevation/flys/wsplgen/JobObserver.java: Small | |
4823 adjustments that makes it easier to subclass this observer. | |
4824 | |
4825 * src/main/java/de/intevation/flys/wsplgen/ProblemObserver.java: New. A | |
4826 sublcass of JobObserver which analyses the WSPLGEN output for errors and | |
4827 warnings. | |
4828 | |
4829 * src/main/java/de/intevation/flys/wsplgen/JobExecutor.java: Use | |
4830 JobObserver and ProblemObserver to track the whole WSPLGEN output and | |
4831 print number of errors/warnings to log output. | |
4832 | |
4833 2011-09-08 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
4834 | |
4835 Added translation of w_differences. | |
4836 | |
4837 * src/main/resources/messages_de_DE.properties, | |
4838 src/main/resources/messages_de.properties, | |
4839 src/main/resources/messages_en.properties, | |
4840 src/main/resources/messages.properties: | |
4841 Added "w_differnces" translation. | |
4842 | |
4843 2011-09-07 Ingo Weinzierl <ingo@intevation.de> | |
4844 | |
4845 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Appended | |
4846 a new attribute 'background-processing' to the DESCRIBE of this | |
4847 Artifact. Its value is 'true' if this Artifact has started a background | |
4848 thread which has not finished yet - otherwise it is 'false. | |
4849 | |
4850 2011-09-07 Ingo Weinzierl <ingo@intevation.de> | |
4851 | |
4852 * src/main/java/de/intevation/flys/artifacts/states/RiverAxisState.java, | |
4853 src/main/java/de/intevation/flys/utils/GeometryUtils.java: Moved the | |
4854 code to determine the extent of a river based on its axis to | |
4855 GeometryUtils. | |
4856 | |
4857 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: | |
4858 Determine the extent of the selected river and set the WMSLayerFacet's | |
4859 extent attribute. | |
4860 | |
4861 2011-09-07 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
4862 | |
4863 Added Themeing support for CrossSection Diagrams. | |
4864 | |
4865 * doc/conf/themes.xml: | |
4866 Added new themes and mappings, slightly modified longitudinalsection | |
4867 theme. | |
4868 | |
4869 2011-09-07 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
4870 | |
4871 In CrossSection Diagram fix subtitle to display the km of which the data is | |
4872 actually displayed (maybe contrasting users wish). | |
4873 | |
4874 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
4875 (getCrossSectionSnapKm): New method to fetch the actual km of crosssection. | |
4876 | |
4877 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java: | |
4878 Add correct km to charts subtitle. | |
4879 | |
4880 2011-09-07 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
4881 | |
4882 Fix various display-issues like i18n in cross-section diagram. | |
4883 | |
4884 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java: | |
4885 Set description of facets to expected values. | |
4886 | |
4887 * src/main/java/de/intevation/flys/artifacts/exports/CrossSectionGenerator.java: | |
4888 Fix i18n of chart title. Set subtitle to expected value, pass facets | |
4889 description to StyledSeries to see expected legend. | |
4890 | |
4891 2011-09-07 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
4892 | |
4893 Cosmetics, resolved refactoring todo. | |
4894 | |
4895 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java | |
4896 (compute, computeAdvance, computeFeed): Refactored, extracted method, | |
4897 resolving duplicate code and TODO. | |
4898 | |
4899 2011-09-07 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
4900 | |
4901 Fix waterline "calculation" at given km. Chosen approach is | |
4902 "head-through-wall". | |
4903 | |
4904 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
4905 Some refactoring to do the same calculation twice easier and be able | |
4906 to "cross" waterline against correct profile data. | |
4907 | |
4908 | |
4909 2011-09-07 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
4910 | |
4911 Fix setting of kilometer for profile (not yet waterlevel) of cross section | |
4912 diagram. | |
4913 | |
4914 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
4915 (getCrossSectionData): Respect corss_section.km data; do naive linear | |
4916 search for profile data for this km. | |
4917 | |
4918 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionFacet.java: | |
4919 Declare a ComputeType. | |
4920 | |
4921 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java: | |
4922 Implement computeFeed. | |
4923 | |
4924 2011-09-07 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
4925 | |
4926 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java, | |
4927 src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
4928 Minor cosmetics. | |
4929 | |
4930 2011-09-07 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
4931 | |
4932 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java, | |
4933 src/main/java/de/intevation/flys/artifacts/model/DataFacet.java, | |
4934 src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java, | |
4935 src/main/java/de/intevation/flys/artifacts/state/DefaultState.java: | |
4936 Cosmetics, docs. | |
4937 | |
4938 2011-09-06 Ingo Weinzierl <ingo@intevation.de> | |
4939 | |
4940 * doc/conf/mapserver/barrier_polygons_class.vm, | |
4941 doc/conf/mapserver/barrier_lines_class.vm, | |
4942 doc/conf/mapserver/wsplgen_class.vm: Default Mapserver styles for | |
4943 barriers and WSPLGEN results. Those styles are only used as long as we | |
4944 don't have map specific themes (as already used in charts). | |
4945 | |
4946 * doc/conf/mapserver/layer.vm: Implements a fallback mechanism for styling | |
4947 barrier lines/polygons and WSPLGEN results. | |
4948 | |
4949 * src/main/java/de/intevation/flys/artifacts/model/LayerInfo.java: Added a | |
4950 getStyle() method that currently returns "null". This method needs to be | |
4951 implemented when map themes are introduced. | |
4952 | |
4953 2011-09-06 Ingo Weinzierl <ingo@intevation.de> | |
4954 | |
4955 * src/main/java/de/intevation/flys/artifacts/model/LayerInfo.java: Renamed | |
4956 some attributes to make their job in the mapfile more obvious. | |
4957 | |
4958 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added | |
4959 new facet type for barriers. | |
4960 | |
4961 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: Add | |
4962 a facet for the barriers layer. | |
4963 | |
4964 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java: Parse | |
4965 barriers (lines and polygons) and create two new layers for each type - | |
4966 those layers are grouped. | |
4967 | |
4968 * doc/conf/mapserver/layer.vm: Renamed attribute based on changes in | |
4969 LayerInfo and added support for Group-Layers. | |
4970 | |
4971 2011-09-06 Raimund Renkert <raimund.renkert@intevation.de> | |
4972 | |
4973 * doc/conf/conf.xml: | |
4974 Added driver to database configuration for use with postgresql. | |
4975 | |
4976 2011-09-06 Ingo Weinzierl <ingo@intevation.de> | |
4977 | |
4978 * doc/conf/mapserver/mapfile.vm: Removed FONTSET attribute and set quotes | |
4979 for SHAPEPATH. | |
4980 | |
4981 2011-09-05 Ingo Weinzierl <ingo@intevation.de> | |
4982 | |
4983 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENFacet.java: | |
4984 Removed. We gonna use the WMSLayerFacet until now. | |
4985 | |
4986 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: | |
4987 Add a WMSLayerFacet after we triggered the Scheduler to start a WSPLGEN | |
4988 calculation. | |
4989 | |
4990 2011-09-05 Ingo Weinzierl <ingo@intevation.de> | |
4991 | |
4992 * doc/conf/mapserver/layer.vm, | |
4993 doc/conf/mapserver/mapfile.vm: Small bugfixes and style improvements. | |
4994 | |
4995 * src/main/java/de/intevation/flys/wsplgen/JobExecutor.java: Trigger the | |
4996 MapfileGenerator after a WSPLGEN job has finished regardless if it has | |
4997 been finished successfully or not. | |
4998 | |
4999 2011-09-05 Ingo Weinzierl <ingo@intevation.de> | |
5000 | |
5001 * pom.xml: Added Apache Velocity 1.7 for templating support. | |
5002 | |
5003 * doc/conf/conf.xml: Added config options for mapserver/template relevant | |
5004 stuff. | |
5005 | |
5006 * doc/conf/mapserver/mapfile.vm, | |
5007 doc/conf/mapserver/layer.vm: New. A default mapfile template and a | |
5008 template used for layers. | |
5009 | |
5010 * src/main/java/de/intevation/flys/artifacts/model/LayerInfo.java: New. | |
5011 This class is used while reading WMS layer relevant information from | |
5012 filesystem. | |
5013 | |
5014 * src/main/java/de/intevation/flys/utils/MapfileGenerator.java: New. This | |
5015 thread is used for creating mapfiles for Mapserver. The MapfileGenerator | |
5016 runs in daemon mode (own thread) and creates mapfiles based on WMS | |
5017 layer relevant information read from filesystem. | |
5018 | |
5019 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java, | |
5020 src/main/java/de/intevation/flys/utils/FLYSUtils.java: Moved shapefile | |
5021 specific XPath expressions from FloodMapState to FLYSUtils which is a | |
5022 better place to use it in other classes (as MapfileGenerator). | |
5023 | |
5024 2011-09-05 Ingo Weinzierl <ingo@intevation.de> | |
5025 | |
5026 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENJob.java: | |
5027 Bugfixed broken attribute assignment. | |
5028 | |
5029 * src/main/java/de/intevation/flys/wsplgen/JobExecutor.java: Call | |
5030 CallContext.afterBackground() after a WSPLGEN job has finished to remove | |
5031 the background lock from Artifact. | |
5032 | |
5033 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: | |
5034 Call CallContext.afterCall(BACKGROUND) to lock the Artifact for | |
5035 background processing. | |
5036 | |
5037 2011-09-02 Ingo Weinzierl <ingo@intevation.de> | |
5038 | |
5039 * src/main/java/de/intevation/flys/wsplgen/JobExecutor.java: New. This | |
5040 class is used to start WSPLGEN for a specific WSPLGENJob. The System | |
5041 property "wsplgen.bin.path" tells the JobExecutor where the WSPLGEN | |
5042 binary is placed (which means in general, the property points to the | |
5043 'wsplgen.exe'). | |
5044 | |
5045 * src/main/java/de/intevation/flys/wsplgen/Scheduler.java: New. This | |
5046 scheduler currently allows to start just a single WSPLGEN Thread. All | |
5047 WSPLGEN calculations should be started using Scheduler.addJob(). | |
5048 | |
5049 * src/main/java/de/intevation/flys/wsplgen/JobObserver.java: New. This | |
5050 thread reads log messages from WSPLGEN and listens for specific | |
5051 messages. It should be used to update status messages of the WSPLGEN | |
5052 calculation that is currently running. | |
5053 There is a System property that tells the JobObserver to log all WSPLGEN | |
5054 output to log4j: enable WSPLGEN output with "-Dwsplgen.log.output=true". | |
5055 | |
5056 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENJob.java: Added | |
5057 the FLYSArtifact, the current working directory and the CallContext. | |
5058 | |
5059 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: | |
5060 Use the Scheduler to start new WSPLGEN calculations. | |
5061 | |
5062 2011-09-02 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
5063 | |
5064 Add CrossSectionInfoGenerator. | |
5065 | |
5066 * src/main/java/de/intevation/flys/exports/CrossSectionInfoGenerator.java: | |
5067 New, trivial implementation of CrossSectionInfoGenerator. | |
5068 | |
5069 * doc/conf/conf.xml: | |
5070 Register CrossSectionInfoGenerator. | |
5071 | |
5072 2011-09-01 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
5073 | |
5074 Cleanups of CrossSection*. | |
5075 | |
5076 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
5077 New methods to retrieve name of utilized CrossSection. | |
5078 | |
5079 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java: | |
5080 Cleanup, get rid of copied unused method, documentation and more sensible | |
5081 translations. | |
5082 | |
5083 * src/main/resources/messages_de_DE.properties, | |
5084 src/main/resources/messages_de.properties, | |
5085 src/main/resources/messages_en.properties, | |
5086 src/main/resources/messages.properties: | |
5087 Added cross_section* translations, also cleanups. | |
5088 | |
5089 2011-09-01 Ingo Weinzierl <ingo@intevation.de> | |
5090 | |
5091 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: | |
5092 Set the "typ" attribute of lines and polygons in barrier shapefiles. | |
5093 | |
5094 2011-09-01 Ingo Weinzierl <ingo@intevation.de> | |
5095 | |
5096 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: | |
5097 Set the Z values of line and polygon barrier geometries. Both barrier | |
5098 shapefiles will contain 3D geometries now. | |
5099 | |
5100 2011-09-01 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
5101 | |
5102 Get real data to display in CrossSection (although ignorant of | |
5103 parameterization), making use of the showcase code of the CrossSectionApp- | |
5104 Standalone application. | |
5105 | |
5106 * doc/conf/artifacts/winfo.xml: Add new facet (~waterline) to state/out. | |
5107 | |
5108 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
5109 New methods to get relevant data. So far just takes the first value of | |
5110 everything and assuming a waterlevel at 130m. | |
5111 | |
5112 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java: | |
5113 New Facet responsible of water level in cross section. | |
5114 | |
5115 * src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java: | |
5116 Made some functionality publicly and statically available. | |
5117 | |
5118 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionFacet.java: | |
5119 Update call. | |
5120 | |
5121 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added new | |
5122 Facet type. | |
5123 | |
5124 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java: | |
5125 Added new Facet to out. | |
5126 | |
5127 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java: | |
5128 Respect new facet and facets data. | |
5129 | |
5130 2011-09-01 Ingo Weinzierl <ingo@intevation.de> | |
5131 | |
5132 * src/main/java/de/intevation/flys/utils/GeometryUtils.java: Close an open | |
5133 shapefile transaction and catch exceptions which are thrown while | |
5134 shapefile creation here. If there occured an error, this functions | |
5135 returns FALSE, otherwise TRUE. | |
5136 | |
5137 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: | |
5138 Removed exception handling while shapefile creation - this is done in | |
5139 GeometryUtils now. | |
5140 | |
5141 2011-09-01 Ingo Weinzierl <ingo@intevation.de> | |
5142 | |
5143 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: | |
5144 Renamed the file for WSPLGEN required waterlevels to "waterlevels.wst". | |
5145 WSPLGEN did not work with the former "waterlevels.txt" file. | |
5146 | |
5147 2011-09-01 Ingo Weinzierl <ingo@intevation.de> | |
5148 | |
5149 * src/main/java/de/intevation/flys/utils/GeometryUtils.java: New static | |
5150 function that builds new SimpleFeatureTypes with additional attributes. | |
5151 | |
5152 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: | |
5153 Write attributes "ELEVATION" and "KILOMETER" into the crosssection | |
5154 tracks shapefiles. | |
5155 | |
5156 2011-08-31 Ingo Weinzierl <ingo@intevation.de> | |
5157 | |
5158 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: Added a method | |
5159 stub that should return a FLYSArtifact based on a given UUID. | |
5160 | |
5161 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: | |
5162 Write the selected WST file for WSPLGEN. Note, that this is the WST file | |
5163 of the current WINFO artifact. Furthermore, there is currently no way | |
5164 for the user to select a column from WST file, so we currently use the | |
5165 column that is written to WST file at first. | |
5166 | |
5167 2011-08-31 Ingo Weinzierl <ingo@intevation.de> | |
5168 | |
5169 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Changed | |
5170 the parameter order of a compute(...) method. This makes me able to call | |
5171 this without a hash value. | |
5172 | |
5173 * src/main/java/de/intevation/flys/artifacts/model/DataFacet.java, | |
5174 src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java, | |
5175 src/main/java/de/intevation/flys/artifacts/model/ReportFacet.java: | |
5176 Adapted the parameter order of the compute() call (see above). | |
5177 | |
5178 2011-08-31 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
5179 | |
5180 More bones to CrossSection sceleton. | |
5181 | |
5182 * src/main/java/de/intevation/flys/artifacts/model/CrossSectionFactory.java, | |
5183 src/main/java/de/intevation/flys/artifacts/model/CrossSectionFacet.java: | |
5184 New, yet trivial implementations of Factory and Facet for CrossSections. | |
5185 | |
5186 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java: | |
5187 Add new CrossSection- (instead of Default-)Facet. | |
5188 | |
5189 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java, | |
5190 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java: | |
5191 Adjusted to use (touch) new Factory and Facet. | |
5192 | |
5193 2011-08-31 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
5194 | |
5195 Cosmetics. | |
5196 | |
5197 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
5198 Cosmetics. | |
5199 | |
5200 2011-08-31 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
5201 | |
5202 Cosmetics. | |
5203 | |
5204 * src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java, | |
5205 src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java, | |
5206 src/main/java/de/intevation/flys/artifacts/model/MainValuesQFacet.java, | |
5207 src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java: | |
5208 Removed obselete imports. | |
5209 | |
5210 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java: | |
5211 Removed obselete imports, whitespaces. | |
5212 | |
5213 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java: | |
5214 Whitespaces, docs. | |
5215 | |
5216 2011-08-31 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
5217 | |
5218 Fix translations of Main Values Facets. | |
5219 | |
5220 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java: | |
5221 Do acrobatics to keep state transient but get translated title. | |
5222 | |
5223 * src/main/java/de/intevation/flys/artifacts/MainValuesQFacet.java, | |
5224 src/main/java/de/intevation/flys/artifacts/MainValuesWFacet.java: | |
5225 Changed constructor to get description (which is then already be translated) | |
5226 dynamically, adjust deepCopy. | |
5227 | |
5228 * src/main/java/de/intevation/flys/states/StaticState.java: | |
5229 Adjust constructor accordingly. | |
5230 | |
5231 2011-08-31 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
5232 | |
5233 Add sceleton for CrossSection outs. | |
5234 | |
5235 * doc/conf/artifacts/winfo.xml: | |
5236 Added new output mode to respective state of winfo artifact configuration. | |
5237 | |
5238 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java: | |
5239 Add new Dummy-Facet in state. | |
5240 | |
5241 * doc/conf/conf.xml: | |
5242 Registered new OutputGenerator. | |
5243 | |
5244 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: | |
5245 Added new CROSS_SECTION type. | |
5246 | |
5247 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java: | |
5248 New, stubby skeleton for an CrossSectionGenerator. | |
5249 | |
5250 * src/main/resources/messages_de_DE.properties, | |
5251 src/main/resources/messages_de.properties, | |
5252 src/main/resources/messages_en.properties, | |
5253 src/main/resources/messages.properties: | |
5254 Added cross_section translation, also cleanups (e.g. main values). | |
5255 | |
5256 2011-08-31 Ingo Weinzierl <ingo@intevation.de> | |
5257 | |
5258 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENJob.java: Marked | |
5259 required parameters with a comment. | |
5260 | |
5261 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: | |
5262 Export floodplains (german 'Talaue') to shapefile and write its file | |
5263 path into the WSPLGEN job. | |
5264 | |
5265 2011-08-31 Ingo Weinzierl <ingo@intevation.de> | |
5266 | |
5267 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: | |
5268 Search for a DGM that fits to the current river and km range and write | |
5269 its file path into the WSPLGEN job. | |
5270 | |
5271 2011-08-30 Ingo Weinzierl <ingo@intevation.de> | |
5272 | |
5273 * src/main/java/de/intevation/flys/utils/GeometryUtils.java: Improved | |
5274 exception handling: exceptions are catched in GeometryUtils now. | |
5275 | |
5276 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: | |
5277 Write river axis and crosssections to shapefiles and save shapefile | |
5278 pathes in WSPLGENJob. | |
5279 | |
5280 2011-08-30 Ingo Weinzierl <ingo@intevation.de> | |
5281 | |
5282 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: | |
5283 Use the coorect SRID for reading GeoJSON and writing line/polygon | |
5284 shapefiles. | |
5285 | |
5286 * src/main/java/de/intevation/flys/utils/GeometryUtils.java: Use a | |
5287 concrete coordinate system while feature type creation. | |
5288 | |
5289 2011-08-30 Ingo Weinzierl <ingo@intevation.de> | |
5290 | |
5291 * pom.xml: Added GeoTools 2.7.2 dependencies for Shapefile, GeoJSON and | |
5292 EPSG support. | |
5293 | |
5294 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENJob.java: Store | |
5295 'LIN' parameter in a list now. A WSPLGEN parameter might contain many | |
5296 LINs. | |
5297 | |
5298 * src/main/java/de/intevation/flys/utils/GeometryUtils.java: New functions | |
5299 to create FeatureTypes and to write shapefiles. | |
5300 | |
5301 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: | |
5302 Write user specified barriers into a shapefile placed in the artifact | |
5303 directory. | |
5304 | |
5305 2011-08-30 Ingo Weinzierl <ingo@intevation.de> | |
5306 | |
5307 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: Added a function | |
5308 that extracts the SRID defined in the global configuration file for a | |
5309 given river. | |
5310 | |
5311 * src/main/java/de/intevation/flys/artifacts/states/RiverAxisState.java: | |
5312 Removed the code that extracts the river SRID - use FLYSUtils instead. | |
5313 | |
5314 2011-08-29 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
5315 | |
5316 Use FLYSUtils.getRiver instead of WINFOArtifact.getRiver. | |
5317 | |
5318 * src/main/java/de/intevation/flys/exports/ChartGenerator.java: | |
5319 Use FLYSUtils.getRiver instead of WINFOArtifact.getRiver. | |
5320 | |
5321 2011-08-29 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
5322 | |
5323 Use FLYSUtils.getRiver instead of WINFOArtifact.getRiver. | |
5324 | |
5325 * src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java, | |
5326 src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java, | |
5327 src/main/java/de/intevation/flys/artifacts/states/WQSelect.java, | |
5328 src/main/java/de/intevation/flys/artifacts/states/DurationCurveState.java, | |
5329 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java: | |
5330 Use FLYSUtils.getRiver instead of WINFOArtifact.getRiver. | |
5331 | |
5332 2011-08-29 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
5333 | |
5334 Commit accidentally omitted result of refactoring (WINFO/FLYSUtils/getRiver). | |
5335 | |
5336 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
5337 Removed implementations of getRiver, update calls to use FLYSUtils. | |
5338 | |
5339 2011-08-29 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
5340 | |
5341 Interpolate Q main values, generate interpolated W main values on the fly from | |
5342 Q main values. | |
5343 | |
5344 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java: | |
5345 (getGaugeDatum): removed, obsolete | |
5346 (getLocation): new, gets location | |
5347 Use WstValueTable to look up interpolated Qs of MainValues. In absence of | |
5348 the same functionality for Ws, generate W Main Values from Q Main Values. | |
5349 | |
5350 2011-08-29 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
5351 | |
5352 Use new helper class FLYSUtils, minor refactorization. | |
5353 | |
5354 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java: | |
5355 Use new functionality of helper class, convenience of FLYSArtifact. | |
5356 | |
5357 2011-08-29 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
5358 | |
5359 Refactored to use new Helper class FLYSUtils, moved getRiver-functionality | |
5360 in there. | |
5361 | |
5362 * src/main/java/de/intevation/flys/utils/FLYSUtils.java (getRiver): | |
5363 New function to retrieve river of an artifact, slightly modified from | |
5364 WINFOArtifact. | |
5365 | |
5366 * src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java: | |
5367 Removed implementations of getRiver, update calls to use FLYSUtils. | |
5368 | |
5369 2011-08-29 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
5370 | |
5371 Minor cosmetics. | |
5372 | |
5373 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java: | |
5374 Resolved a TODO. | |
5375 | |
5376 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
5377 Added some documentation. | |
5378 | |
5379 * src/main/java/de/intevation/flys/artifacts/model/WMSLayerFacet.java: | |
5380 Minor cosmetic. | |
5381 | |
5382 2011-08-26 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5383 | |
5384 * doc/conf/meta-data.xml: Made it Oracle compatible. | |
5385 | |
5386 * src/main/java/de/intevation/flys/artifacts/datacage/templating/CompiledStatement.java: | |
5387 If running in debug mode log executed statements. | |
5388 Helps debugging Oracle connections. | |
5389 | |
5390 2011-08-26 Ingo Weinzierl <ingo@intevation.de> | |
5391 | |
5392 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: | |
5393 Set some WSPLGENJob parameters which are stored at FLYSArtifact. | |
5394 | |
5395 2011-08-26 Ingo Weinzierl <ingo@intevation.de> | |
5396 | |
5397 * src/main/java/de/intevation/flys/utils/FLYSUtils.java: New. This helper | |
5398 class should provide some basic FLYS stuff. Currently, there are functions | |
5399 that return the km range/location. | |
5400 | |
5401 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Removed | |
5402 the methods that return the km range/locations. This is implemented in | |
5403 FLYSUtils now. | |
5404 | |
5405 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java, | |
5406 src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java, | |
5407 src/main/java/de/intevation/flys/exports/ChartGenerator.java: Adapted | |
5408 the WINFO method calls to retrieve the km range/locations - call | |
5409 FLYSUtils now. | |
5410 | |
5411 2011-08-26 Ingo Weinzierl <ingo@intevation.de> | |
5412 | |
5413 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: New method | |
5414 to destroy a single state. | |
5415 | |
5416 2011-08-26 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
5417 | |
5418 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java: | |
5419 Cosmetic, remove debug output and comments, minor style adjustments. | |
5420 | |
5421 2011-08-26 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
5422 | |
5423 Added limited themeing-support for MainValues. | |
5424 | |
5425 * doc/conf/themes.xml: | |
5426 Added Q/W-MainValues themes. | |
5427 | |
5428 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java: | |
5429 Added limited theming support, add legend entry for main values. | |
5430 | |
5431 2011-08-26 Ingo Weinzierl <ingo@intevation.de> | |
5432 | |
5433 * doc/conf/conf.xml: Added a configuration node that points to the directory | |
5434 where shapefiles should be stored in. | |
5435 | |
5436 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENJob.java: New. | |
5437 This class is used to save/write the parameter for a WSPLGEN calculation. | |
5438 WSPLGEN's *.par files are written using the toFile() method. | |
5439 | |
5440 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: | |
5441 A directory for all WSPLGEN stuff is created in computeAdvance() - those | |
5442 directory and all its contained files are removed in endOfLife(). | |
5443 | |
5444 2011-08-26 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
5445 | |
5446 * src/main/java/de/intevation/flys/utils/ThemeUtil.java: | |
5447 New Util to work with theme-related stuff. | |
5448 | |
5449 2011-08-26 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
5450 | |
5451 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java: | |
5452 Use NamedDoubles instead of MainValues, try to adjust scale of Ws. | |
5453 | |
5454 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java: | |
5455 Use NamedDoubles instead of MainValues, generalize annotation handling, to | |
5456 allow easier reusability and themeing. | |
5457 | |
5458 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java: | |
5459 Added convenience constructor, exemplary switch on bordered text. | |
5460 | |
5461 2011-08-26 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
5462 | |
5463 * doc/conf/meta-data.xml: | |
5464 Recommend MainValues for Computed discharge curves. | |
5465 | |
5466 2011-08-26 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
5467 | |
5468 New NamedDouble class which implements a <String,double>-pair. | |
5469 | |
5470 * src/main/java/de/intevation/flys/artifacts/model/NamedDouble.java: | |
5471 New, implementation of a double with a string or vice versa. | |
5472 | |
5473 2011-08-26 Ingo Weinzierl <ingo@intevation.de> | |
5474 | |
5475 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Call | |
5476 State.endOfLife() for all States when endOfLife() of the Artifact is | |
5477 called. | |
5478 | |
5479 2011-08-26 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
5480 | |
5481 Also plot "W"-MainValues (on vertical axis), take correct parameters, but | |
5482 do not convert to correct scale (cm vs NN+m). | |
5483 | |
5484 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java: | |
5485 Naive attempt at allowing the vertical axis to be sticked at. | |
5486 | |
5487 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java: | |
5488 Store Q and W MainValues separately, add them to plot as annotations. | |
5489 | |
5490 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java: | |
5491 Serve the MainValues, parameterized on river and location, Q and W. | |
5492 Removed Facet-implementation. | |
5493 | |
5494 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: | |
5495 Updated Facet Types. | |
5496 | |
5497 * src/main/java/de/intevation/flys/artifacts/model/MainValuesQFacet.java: | |
5498 src/main/java/de/intevation/flys/artifacts/model/MainValuesWFacet.java: | |
5499 New, trivial facets, extracted from MainValuesArtifact. | |
5500 | |
5501 2011-08-26 Ingo Weinzierl <ingo@intevation.de> | |
5502 | |
5503 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Call | |
5504 State.endOfLife() of each State that is no longer in the queue of the | |
5505 artifact when this artifact steps back to a previous state. | |
5506 | |
5507 2011-08-25 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
5508 | |
5509 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java: | |
5510 Plot MainValues delivered by MainValuesFacet in much the same ways than | |
5511 Annotations in LongitudinalSection plots. | |
5512 | |
5513 2011-08-25 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
5514 | |
5515 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java: | |
5516 Prepare further differentiation between Annotations that stick to X or Y- | |
5517 Axis, copied some positioning logic into StickyAxisAnnotation | |
5518 implementation. | |
5519 | |
5520 2011-08-25 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
5521 | |
5522 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java: | |
5523 Minor cosmetics. | |
5524 | |
5525 2011-08-25 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
5526 | |
5527 Added MainValue-Fetching-Capabilities to MainValuesArtifact. | |
5528 | |
5529 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java | |
5530 (initialize, getMinValues): | |
5531 Let MainValuesArtifact return "real" MainValues, although ignorant of all | |
5532 parameterization. | |
5533 | |
5534 2011-08-25 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
5535 | |
5536 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java | |
5537 (MainValueFacet): | |
5538 Improved and straightened implementation, added code-Annotations and Todos. | |
5539 | |
5540 2011-08-25 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
5541 | |
5542 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java | |
5543 (MainValueFacet): | |
5544 Improved and straightened implementation, added code-Annotations and Todos. | |
5545 | |
5546 2011-08-25 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
5547 | |
5548 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java | |
5549 (getState): | |
5550 Resolved multiple creation of state (yet not very clean). | |
5551 | |
5552 2011-08-25 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
5553 | |
5554 * src/main/java/de/intevation/flys/artifacts/model/AnnotationFacet.java, | |
5555 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
5556 Cosmetics, docs. | |
5557 | |
5558 * src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java: | |
5559 Cosmetics. | |
5560 | |
5561 2011-08-25 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
5562 | |
5563 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: | |
5564 Added new (MainValues) Facet-Type. | |
5565 | |
5566 2011-08-24 Ingo Weinzierl <ingo@intevation.de> | |
5567 | |
5568 * src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java: | |
5569 Added a method that returns a River object based on its database id. | |
5570 | |
5571 * src/main/java/de/intevation/flys/artifacts/RiverAxisArtifact.java: The | |
5572 data that is required for this artifact is fetched from database instead | |
5573 from a Master-Artifact. The creation of static artifacts should use | |
5574 database ids instead of cloning a Master-Artifact. | |
5575 | |
5576 2011-08-24 Ingo Weinzierl <ingo@intevation.de> | |
5577 | |
5578 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java: | |
5579 Removed needless imports. | |
5580 | |
5581 2011-08-24 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
5582 | |
5583 Added configuration for factory and rule for MainValueArtifacts. | |
5584 | |
5585 * doc/conf.xml: | |
5586 Add a mainvalue factory to serve MainValueArtifacts. | |
5587 | |
5588 * doc/conf/meta-data.xml: | |
5589 Recomment mainvalue artifact when computed_discharge_curve can be put out. | |
5590 | |
5591 2011-08-24 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
5592 | |
5593 Let MainValuesArtifact have a state, outputmode and facet. | |
5594 | |
5595 * src/main/java/de/intevation/flys/artifacts/states/StaticState.java: | |
5596 New, a non-abstract DefaultState. | |
5597 | |
5598 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java: | |
5599 Progressed with implementation, use StaticState to hook output modes and | |
5600 facet in; use (Static)FLYSArtifact implementation. | |
5601 | |
5602 2011-08-24 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
5603 | |
5604 Smaller cosmetics. | |
5605 | |
5606 * src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java, | |
5607 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java: | |
5608 Cosmetics in comments. | |
5609 | |
5610 * src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java: | |
5611 Added @Override annotations. | |
5612 | |
5613 * src/main/java/de/intevation/flys/artifacts/model/DataFacet.java: | |
5614 Use brackets to improve readability of ternary operator. | |
5615 | |
5616 2011-08-24 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5617 | |
5618 * doc/conf/meta-data.xml: Use "ids" in user specific part, too. | |
5619 | |
5620 2011-08-24 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5621 | |
5622 * doc/conf/meta-data.xml: s/db-ids/ids/g to unify system and user specific | |
5623 loading. | |
5624 | |
5625 2011-08-24 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
5626 | |
5627 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
5628 Extracted access to state and states in order to have fewer places to | |
5629 modify when going for single/trivial state- artifacts. | |
5630 | |
5631 2011-08-24 Ingo Weinzierl <ingo@intevation.de> | |
5632 | |
5633 * src/main/java/de/intevation/flys/artifacts/states/WMSBackgroundState.java: | |
5634 Append the river's srid to the WMSLayerFacet. | |
5635 | |
5636 2011-08-24 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
5637 | |
5638 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java: | |
5639 Minor fixes, ressurect Facet implementation as inner class. | |
5640 | |
5641 2011-08-24 Ingo Weinzierl <ingo@intevation.de> | |
5642 | |
5643 * doc/conf/artifacts/winfo.xml: Moved the input of barriers one state | |
5644 earlier where the scenario is selected as well. | |
5645 | |
5646 * src/main/java/de/intevation/flys/artifacts/states/ScenarioSelect.java: | |
5647 This state now desires the "map_digitize" UI provider and returns both | |
5648 items "scenario" and "uesk.barriers" in the dynamic describe part. | |
5649 | |
5650 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: | |
5651 Removed the UI provider and the computeFeed() which is no longer needed, | |
5652 because there is no more user input in this state. | |
5653 | |
5654 2011-08-24 Ingo Weinzierl <ingo@intevation.de> | |
5655 | |
5656 * src/main/java/de/intevation/flys/artifacts/states/WMSBackgroundState.java, | |
5657 src/main/java/de/intevation/flys/artifacts/states/RiverAxisState.java: | |
5658 Repaired broken xpath expressions (the config changed in one of the last | |
5659 commits) and make use of the variable support in xpath expressions to | |
5660 replace the rivername. | |
5661 | |
5662 * src/main/java/de/intevation/flys/artifacts/WMSBackgroundArtifact.java: | |
5663 Save the rivername while initializing this artifact. This is now | |
5664 necessary, because each river can have its own background wms | |
5665 configured. | |
5666 | |
5667 2011-08-23 Ingo Weinzierl <ingo@intevation.de> | |
5668 | |
5669 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java: | |
5670 Repaired broken river-wms initialization. | |
5671 | |
5672 2011-08-23 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5673 | |
5674 * src/main/java/de/intevation/flys/artifacts/model/WMSLayerFacet.java, | |
5675 src/main/java/de/intevation/flys/artifacts/model/DataFacet.java, | |
5676 src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java, | |
5677 src/main/java/de/intevation/flys/artifacts/model/ReportFacet.java, | |
5678 src/main/java/de/intevation/flys/artifacts/model/DurationCurveFacet.java, | |
5679 src/main/java/de/intevation/flys/artifacts/model/ManagedFacet.java, | |
5680 src/main/java/de/intevation/flys/artifacts/model/ManagedFacetAdapter.java, | |
5681 src/main/java/de/intevation/flys/artifacts/model/AnnotationFacet.java, | |
5682 src/main/java/de/intevation/flys/artifacts/model/WSPLGENFacet.java: | |
5683 Made facets cloneable with the right type. | |
5684 | |
5685 * src/main/java/de/intevation/flys/artifacts/services/MapInfoService.java, | |
5686 src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java: | |
5687 Removed superfluous imports. | |
5688 | |
5689 2011-08-23 Ingo Weinzierl <ingo@intevation.de> | |
5690 | |
5691 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
5692 Declare the first artifact of an output as master artifact (artifacts | |
5693 are ordered by their creation time). | |
5694 | |
5695 2011-08-23 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5696 | |
5697 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java: | |
5698 Removed facet interface. | |
5699 | |
5700 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
5701 Make artifacts cloneable. TODO: Override deepCopy() in subclassed | |
5702 states and facets. | |
5703 | |
5704 2011-08-23 Ingo Weinzierl <ingo@intevation.de> | |
5705 | |
5706 * doc/conf/conf.xml: Added the MapInfoService and adapted the floodmap | |
5707 configuration. Now, each river can have its own background wms layer | |
5708 defined. | |
5709 | |
5710 * src/main/java/de/intevation/flys/artifacts/services/MapInfoService.java: | |
5711 New. This service returns some basic information used to create maps for | |
5712 a specific river. The name of the desired river needs to be defined at | |
5713 "/mapinfo/river/text()". | |
5714 | |
5715 * src/main/java/de/intevation/flys/artifacts/states/RiverAxisState.java: | |
5716 Adapted an xpath expression that points to the srid of a river in the | |
5717 floodmap configuration (which changed). | |
5718 | |
5719 2011-08-22 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5720 | |
5721 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
5722 Build out/facet filter from XML document passed at creation time. | |
5723 | |
5724 2011-08-22 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5725 | |
5726 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
5727 Added some code to filter outs/facets by an optional positive list. | |
5728 This is needed to only expose parts of the facets. This | |
5729 is needed for artifacts which are loaded into a collection. | |
5730 TODO: create the filter from the XML document passed at creation | |
5731 time. | |
5732 | |
5733 2011-08-22 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5734 | |
5735 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Moved all | |
5736 WINFO specific code to WINFOArtifact. FLYSArtifact is now only revolving | |
5737 about state affairs. | |
5738 | |
5739 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Re-inserted | |
5740 the specific stuff here. | |
5741 | |
5742 * src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java, | |
5743 src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java, | |
5744 src/main/java/de/intevation/flys/artifacts/states/WQSelect.java, | |
5745 src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java, | |
5746 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java, | |
5747 src/main/java/de/intevation/flys/exports/ChartGenerator.java: | |
5748 Adjusted the casts. | |
5749 | |
5750 2011-08-22 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5751 | |
5752 * doc/conf/meta-data.xml: Filter by outs in user template part. | |
5753 | |
5754 2011-08-22 Ingo Weinzierl <ingo@intevation.de> | |
5755 | |
5756 * doc/conf/artifacts/winfo.xml: Defined an input value for the GeoJSON | |
5757 string to save user defined barriers in the map. | |
5758 | |
5759 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: | |
5760 Added a computeFeed() method. In addition, this state now prefers the | |
5761 "noinput" UI provider. | |
5762 | |
5763 2011-08-19 Ingo Weinzierl <ingo@intevation.de> | |
5764 | |
5765 * doc/conf/conf.xml: Each river requires a SRID definition. This | |
5766 definition is used to transform the river's geometries into the desired | |
5767 projection. | |
5768 | |
5769 * src/main/java/de/intevation/flys/artifacts/model/WMSLayerFacet.java: | |
5770 This facets are able to save a SRID. | |
5771 | |
5772 * src/main/java/de/intevation/flys/artifacts/states/RiverAxisState.java: | |
5773 The extent that is written into the WMSLayerFacet is determined by the | |
5774 boundary of the geometry. | |
5775 | |
5776 * src/main/java/de/intevation/flys/utils/GeometryUtils.java: New. A | |
5777 utility class that provides helper functions for geometries. Currently, | |
5778 one function is defined, that creates a boundary string for OpenLayers. | |
5779 | |
5780 2011-08-19 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5781 | |
5782 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java, | |
5783 src/main/java/de/intevation/flys/artifacts/states/DGMSelect.java, | |
5784 src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java, | |
5785 src/main/java/de/intevation/flys/artifacts/states/ProfileDistanceSelect.java, | |
5786 src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java, | |
5787 src/main/java/de/intevation/flys/artifacts/states/RangeState.java: | |
5788 Removed superfluous imports. | |
5789 | |
5790 2011-08-19 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5791 | |
5792 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: | |
5793 Removed CallContext from state validation. It is not needed and hindered | |
5794 the extraction of all out of an artifact if you don't have a | |
5795 call context (like initial scan of datacage database). | |
5796 | |
5797 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java: | |
5798 Extract all outs now. | |
5799 | |
5800 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java, | |
5801 src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java, | |
5802 src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java, | |
5803 src/main/java/de/intevation/flys/artifacts/states/FloodplainChoice.java, | |
5804 src/main/java/de/intevation/flys/artifacts/states/ScenarioSelect.java, | |
5805 src/main/java/de/intevation/flys/artifacts/states/DGMSelect.java, | |
5806 src/main/java/de/intevation/flys/artifacts/states/LocationSelect.java, | |
5807 src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java, | |
5808 src/main/java/de/intevation/flys/artifacts/states/ProfileDistanceSelect.java, | |
5809 src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java, | |
5810 src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java, | |
5811 src/main/java/de/intevation/flys/artifacts/states/DefaultState.java, | |
5812 src/main/java/de/intevation/flys/artifacts/states/WQSelect.java, | |
5813 src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java, | |
5814 src/main/java/de/intevation/flys/artifacts/states/RangeState.java, | |
5815 src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java, | |
5816 src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java, | |
5817 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
5818 Adjusted calls. | |
5819 | |
5820 2011-08-19 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
5821 | |
5822 * src/main/resources/messages.properties, | |
5823 src/main/resources/messages_de_DE.properties, | |
5824 src/main/resources/messages_en.properties, | |
5825 src/main/resources/messages_de.properties: | |
5826 Added lacalization of "Streckenfavoriten". | |
5827 | |
5828 2011-08-19 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
5829 | |
5830 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: | |
5831 Picky white-space cosmetics. | |
5832 | |
5833 2011-08-19 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
5834 | |
5835 Added stub implementation of new MainValuesArtifact. | |
5836 | |
5837 * src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java: | |
5838 New. Stub implementation for new MainValuesArtifact. | |
5839 | |
5840 2011-08-19 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5841 | |
5842 Fixed flys/issue262 | |
5843 | |
5844 * src/main/java/de/intevation/flys/artifacts/datacage/Recommendations.java: | |
5845 Unified user and system tempate. | |
5846 Looks for "/artifact-database/metadata/template/text()" | |
5847 in conf.xml. Defaults to "${artifacts.config.dir}/meta-data.xml". If user id is | |
5848 given its the default connection for contexts. | |
5849 | |
5850 * doc/conf/conf.xml: Adjusted | |
5851 * doc/conf/meta-data-system.xml, doc/conf/meta-data-user.xml: Deleted. | |
5852 * doc/conf/meta-data.xml: Unified version of user and system template. | |
5853 | |
5854 * src/main/java/de/intevation/flys/artifacts/datacage/templating/App.java: | |
5855 Adjusted the test program. | |
5856 | |
5857 2011-08-18 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5858 | |
5859 Fixed flys/issue260 | |
5860 | |
5861 * doc/conf/meta-data-user.xml: Uses master_artifacts view now. | |
5862 | |
5863 2011-08-18 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5864 | |
5865 * doc/conf/datacage.sql: Added view master_artifacts to select | |
5866 the master artifacts of the collections more easily. | |
5867 To upgrade existing database: | |
5868 | |
5869 CREATE VIEW master_artifacts AS | |
5870 SELECT a2.id AS id, | |
5871 a2.gid AS gid, | |
5872 a2.state AS state, | |
5873 a2.creation AS creation, | |
5874 ci2.collection_id AS collection_id | |
5875 FROM collection_items ci2 | |
5876 JOIN artifacts a2 | |
5877 ON ci2.artifact_id = a2.id | |
5878 JOIN (SELECT ci.collection_id AS c_id, | |
5879 MIN(a.creation) AS oldest_a | |
5880 FROM collection_items ci | |
5881 JOIN artifacts a | |
5882 ON ci.artifact_id = a.id | |
5883 GROUP BY ci.collection_id) o | |
5884 ON o.c_id = ci2.collection_id | |
5885 WHERE a2.creation = o.oldest_a; | |
5886 | |
5887 TODO: Use the view in the templates. | |
5888 | |
5889 2011-08-18 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5890 | |
5891 * doc/conf/meta-data-user.xml: Removed state filter because it was broken. | |
5892 Simplified by joining two contexts. | |
5893 | |
5894 2011-08-18 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
5895 | |
5896 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java: | |
5897 Fix issues with lines of annotation when zoomed (wrong scale used). | |
5898 | |
5899 2011-08-18 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
5900 | |
5901 Added legend for annotations to LongitudinalSectionDiagram. | |
5902 | |
5903 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
5904 Added a pseudo-dataseries/collection to employ existing infrastructure for | |
5905 displaying localized label for Annotations (yet unthemed). | |
5906 | |
5907 * src/main/resources/messages.properties, | |
5908 src/main/resources/messages_de_DE.properties, | |
5909 src/main/resources/messages_en.properties, | |
5910 src/main/resources/messages_de.properties: | |
5911 Made label-string available for localization. | |
5912 | |
5913 2011-08-17 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
5914 | |
5915 Moved StickyAxisAnnotation into new package de.intevation.flys.jfree . | |
5916 | |
5917 * src/main/java/de/intevation/flys/exports/StickyAxisAnnotation.java: | |
5918 Deleted/moved to src/main/java/de/intevation/flys/jfree/ . | |
5919 | |
5920 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java: | |
5921 New/moved from src/main/java/de/intevation/flys/export/ , adjusted | |
5922 package statement, made class public. | |
5923 | |
5924 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
5925 Added import statement for de.intevation.flys.jfree.StickyAxisAnnotation . | |
5926 | |
5927 2011-08-17 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
5928 | |
5929 Extracted and renamed CustomAnnotation to StickyAxisAnnotation. Also removed | |
5930 needless imports. | |
5931 | |
5932 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java, | |
5933 src/main/java/de/intevation/flys/exports/StickyAxisAnnotation.java: | |
5934 Extracted class implementation CustomAnnotation and renamed to | |
5935 StickyAxisAnnotation. | |
5936 | |
5937 2011-08-17 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
5938 | |
5939 Improved CustomAnnotations and rendering thereof, now including an | |
5940 "axis mark" (little line at axis), also prepared possibility to put | |
5941 annotations on Y-axis. | |
5942 | |
5943 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
5944 Improved CustomAnnotation to include marks on the axis and better spacing | |
5945 from it. | |
5946 | |
5947 2011-08-17 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
5948 | |
5949 Implemented proof-of-concept collision-detection when drawing | |
5950 CustomAnnotations (text only). | |
5951 | |
5952 * src/main/java/de/intevation/flys/exports/ChartExportHelper.java: | |
5953 Pass a fresh ChartRenderingInfo-Object to createBufferedImage, such that | |
5954 information can be collected while rendering. | |
5955 | |
5956 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
5957 Exploit the fact that XYTextAnnotation already registers drawn shape in the | |
5958 ChartRenderingInfo if it exists and either an URL or tooltip is set. | |
5959 Before drawing, calculate own shape and compare against already registered | |
5960 shapes. | |
5961 | |
5962 2011-08-16 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
5963 | |
5964 Implemented (yet dummy) custom Annotation class. | |
5965 | |
5966 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
5967 Added implementation of yet dummy CustomAnnotation class. | |
5968 | |
5969 2011-08-16 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
5970 | |
5971 Slightly improved rendering of annotations. | |
5972 | |
5973 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
5974 Slightly improved rendering of annotations. Still no valid collision | |
5975 detection. Annotations are drawn every 2 km; first come first serve. | |
5976 | |
5977 2011-08-15 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
5978 | |
5979 Fix for flys/issue191 | |
5980 | |
5981 * src/main/java/de/intevation/flys/artifacts/model/WQ.java(longestIncreasingWRangeIndices): | |
5982 Added a method to find the longest index range with increasing w values. | |
5983 | |
5984 * src/main/java/de/intevation/flys/exports/ATWriter.java: Export the longest | |
5985 range of monotone increasing w values instead of the first one. | |
5986 TODO: The first line of the export is still broken. | |
5987 | |
5988 * src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java: | |
5989 Removed superfluous import. | |
5990 | |
5991 2011-08-12 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
5992 | |
5993 * src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java: | |
5994 Resolved two TODOs: get Annotations of selected River, get "point" | |
5995 Annotations only. | |
5996 | |
5997 2011-08-12 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
5998 | |
5999 Added functionality to query range and point-annotations only to | |
6000 AnnotationFactory. | |
6001 | |
6002 * src/main/java/de/intevation/flys/artifacts/model/AnnotationsFactory.java | |
6003 (getPointAnnotations, getAnnotationsBreadth): | |
6004 New functions to query breadth and point-only annotations. | |
6005 | |
6006 2011-08-11 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6007 | |
6008 * src/main/java/de/intevation/flys/artifacts/datacage/Recommendations.java: | |
6009 Added a development mode for recommendations. Enabled with | |
6010 stetting system property 'flys.datacage.recommendations.development' to true. | |
6011 When set the XML template are re-read if the timestamps of the | |
6012 files have changed so you do not have to restart the server again and again. | |
6013 | |
6014 * doc/conf/meta-data-user.xml: Sort collections by creation time in descending order. | |
6015 | |
6016 2011-08-11 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
6017 | |
6018 Rather picky cosmetics only. | |
6019 | |
6020 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java, | |
6021 src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java, | |
6022 src/main/java/de/intevation/flys/artifacts/datacage/templating/Builder.java, | |
6023 src/main/java/de/intevation/flys/artifacts/datacage/Recommendations.java, | |
6024 src/main/java/de/intevation/flys/artifacts/model/WQKms.java, | |
6025 src/main/java/de/intevation/flys/artifacts/states/DefaultState.java, | |
6026 src/main/java/de/intevation/flys/artifacts/states/DurationCurveState.java, | |
6027 src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
6028 End comments on a full stop, separate from closing '*/' by whitespace, | |
6029 adjusted javadoc comments. | |
6030 | |
6031 2011-08-11 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
6032 | |
6033 Made Annotations visible in LongitudinalSection diagrams. | |
6034 | |
6035 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java, | |
6036 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
6037 Register new Facet Type, let LongitudinalSectionGenerator include | |
6038 Annotations in diagram (yet unfiltered and independent of river). | |
6039 | |
6040 2011-08-11 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
6041 | |
6042 * doc/conf/conf.xml, | |
6043 doc/conf/artifacts/annotation.xml, | |
6044 doc/conf/meta-data-system.xml: | |
6045 Added configuration for AnnotationArtifacts. | |
6046 | |
6047 2011-08-11 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
6048 | |
6049 Added demo- implementation of a AnnotationArtifact and its Facet. | |
6050 | |
6051 * src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java, | |
6052 src/main/java/de/intevation/flys/artifacts/model/AnnotationFacet.java, | |
6053 src/main/java/de/intevation/flys/artifacts/states/AnnotationRiverState.java: | |
6054 New. Initial version of an AnnotationArtifact and its State and Facet. | |
6055 | |
6056 2011-08-10 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6057 | |
6058 * doc/conf/datacage.sql: Extended schema for artifacts and collections | |
6059 to have creation times, too. | |
6060 | |
6061 To update existing databases: | |
6062 | |
6063 ALTER TABLE artifacts ADD COLUMN creation TIMESTAMP NOT NULL DEFAULT current_timestamp; | |
6064 ALTER TABLE collections ADD COLUMN creation TIMESTAMP NOT NULL DEFAULT current_timestamp; | |
6065 | |
6066 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java: | |
6067 Store creation times for artifacts and collections, too. | |
6068 | |
6069 * src/main/resources/datacage-sql/org-h2-driver.properties, | |
6070 src/main/resources/datacage-sql/org-postgresql-driver.properties: | |
6071 Adjusted SQL statements. | |
6072 | |
6073 2011-08-10 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6074 | |
6075 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java: | |
6076 Make it compilable again (BackendListener interface changed). | |
6077 | |
6078 2011-08-10 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6079 | |
6080 * doc/conf/meta-data-user.xml: Added grouping element around w/q of each | |
6081 longitudinal section artifact. | |
6082 | |
6083 * src/main/java/de/intevation/flys/artifacts/datacage/templating/CompiledStatement.java, | |
6084 src/main/java/de/intevation/flys/artifacts/datacage/templating/StackFrames.java: | |
6085 Added some debugging capabilities. | |
6086 | |
6087 * src/main/java/de/intevation/flys/artifacts/datacage/templating/ResultData.java: | |
6088 Added isEmpty() method. | |
6089 | |
6090 * src/main/java/de/intevation/flys/artifacts/datacage/templating/Builder.java: | |
6091 Now it is possible to nest <dc:elements> into other elements in the <dc:context> | |
6092 body. This is useful and needed for grouping and repeating results. | |
6093 | |
6094 2011-08-10 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6095 | |
6096 * src/main/java/de/intevation/flys/artifacts/datacage/Recommendations.java: | |
6097 User connection was cached, system was not. Lead to incorrect results. | |
6098 | |
6099 2011-08-09 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6100 | |
6101 * doc/conf/meta-data-user.xml: Added <old_calculations> element | |
6102 around old calculations. | |
6103 | |
6104 2011-08-09 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6105 | |
6106 * src/main/java/de/intevation/flys/artifacts/model/QRangeTree.java: | |
6107 Cosmetic: Replaced usage of legacy java.util.Stack with java.util.Deque. | |
6108 | |
6109 2011-08-04 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6110 | |
6111 * doc/conf/meta-data-user.xml: Use 'CAST(x AS uuid)' instead of 'x::uuid' | |
6112 to be more compatible. | |
6113 | |
6114 2011-08-04 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6115 | |
6116 * src/main/java/de/intevation/flys/artifacts/datacage/Recommendations.java: | |
6117 If given an artifact place its identifier into parameters passed to template. | |
6118 Fixed swapped user/system connections if using the user template. | |
6119 | |
6120 * doc/conf/meta-data-user.xml: Recommend w/q facet from old calculations | |
6121 if an artifact was given that represents a longitudinal section | |
6122 "Laengsschnitt". | |
6123 | |
6124 TODO I: The template uses PostgreSQL specific UUID casts. | |
6125 TODO II: We need to find a way only to recommend the master artifacts. | |
6126 | |
6127 2011-08-04 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6128 | |
6129 * src/main/java/de/intevation/flys/artifacts/datacage/templating/Builder.java: | |
6130 Added a <dc:comment> tag to place comments in the meta data templates. | |
6131 <!-- ... --> comments are copied through. | |
6132 | |
6133 * doc/conf/meta-data-user.xml: Added a simple test. | |
6134 | |
6135 2011-08-04 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6136 | |
6137 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java: | |
6138 Be a bit more tolerant about empty strings for UUIDs of artifact and user. | |
6139 | |
6140 2011-08-03 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6141 | |
6142 Bring user specific meta data service to life. | |
6143 | |
6144 * doc/conf/conf.xml: There are now two templates to configure: | |
6145 The system template (only the data from the backend) and the | |
6146 user template (the datcage db and the backend db), | |
6147 | |
6148 * doc/conf/meta-data-template.xml: Deleted. | |
6149 * doc/conf/meta-data-user.xml: New. The user specific template. TODO: Write it! | |
6150 * doc/conf/meta-data-system.xml: New. The system template. | |
6151 | |
6152 * src/main/java/de/intevation/flys/artifacts/datacage/templating/NoneUserSpecific.java: | |
6153 Deleted. | |
6154 * src/main/java/de/intevation/flys/artifacts/datacage/Recommendations.java: | |
6155 New. The logic to fill the templates. | |
6156 | |
6157 * src/main/java/de/intevation/flys/artifacts/CollectionMonitor.java: | |
6158 Adjusted to follow the new call signatures. | |
6159 | |
6160 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java: | |
6161 Refactored. Removed the old code and only leave the new service. Following | |
6162 XPaths are evaluated on the incomming document: | |
6163 | |
6164 "/art:meta/art:artifact-id/@value" The UUID of the artifact. Optional. | |
6165 Used to fill the template enviroment. | |
6166 "/art:meta/art:user-id/@value" The UUID of the user. Optional. | |
6167 If given the user specific template is filled. | |
6168 "/art:meta/art:outs/@value" The list of outs used to recommend for the | |
6169 various outputs. | |
6170 "/art:meta/art:parameters/@value" A list of key/value pairs to inject more | |
6171 filters to the templating. | |
6172 | |
6173 * src/main/java/de/intevation/flys/artifacts/datacage/templating/App.java: | |
6174 Change to follow the new recommendations semantics. | |
6175 | |
6176 * src/main/java/de/intevation/flys/artifacts/datacage/templating/Builder.java: | |
6177 Added symbolic constants to distinguish "user" and "system" db connections. | |
6178 | |
6179 2011-08-03 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
6180 | |
6181 * doc/conf/conf.xml: | |
6182 Cosmetics, let comments start with a capital and end on a full stop, | |
6183 removed incorrect comment. | |
6184 | |
6185 2011-08-03 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
6186 | |
6187 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
6188 Cosmetics, let comments start with a capital and end on a full stop. | |
6189 | |
6190 2011-08-03 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6191 | |
6192 * src/main/java/de/intevation/flys/artifacts/CollectionMonitor.java(extractOutputNames): | |
6193 Fixed potential NPE. | |
6194 | |
6195 2011-08-03 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6196 | |
6197 Added support for more than one db connection in datacage templating. | |
6198 | |
6199 * src/main/java/de/intevation/flys/artifacts/datacage/templating/Builder.java: | |
6200 Now you can pass a list of named db connections to the build process. | |
6201 The purpose is to mix more then one database (e.g. the backend db and | |
6202 the user specific one). | |
6203 | |
6204 To use this feature you can add an "connection" attribute | |
6205 to <dc:context> with the name of the connection to use. | |
6206 If no connection name is given the last used is used again. | |
6207 Initially the first connection in the given list is used. | |
6208 If the context is left the connection that was active before | |
6209 will be active again in a stacking manner. | |
6210 | |
6211 When creating NamedConnection objects you can set a boolean flag | |
6212 if the results coming from the connection should be cached. This | |
6213 is useful e.g. for the user specific database which runs in-memory | |
6214 so caching would introduce some superfluous overhead. | |
6215 | |
6216 * src/main/java/de/intevation/flys/artifacts/datacage/templating/CompiledStatement.java: | |
6217 When executing the queries explicitly pass if caching should be used. | |
6218 | |
6219 2011-08-02 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6220 | |
6221 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java: | |
6222 Forgot to fetch dialect dependent SQL statement for deleting | |
6223 artifacts by uuid. | |
6224 | |
6225 2011-08-02 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6226 | |
6227 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java: | |
6228 Set the name of the collections at initial scan, too. | |
6229 | |
6230 2011-08-02 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6231 | |
6232 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java: | |
6233 Fixed wrong SQL references. | |
6234 | |
6235 2011-08-02 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6236 | |
6237 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java: | |
6238 Fixed two NPEs. | |
6239 | |
6240 2011-08-02 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6241 | |
6242 * src/main/java/de/intevation/flys/artifacts/datacage/DatacageBackendListener.java, | |
6243 src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java: | |
6244 Forwarded kill collections and artifacts events to datacage. | |
6245 | |
6246 * src/main/resources/datacage-sql/org-h2-driver.properties, | |
6247 src/main/resources/datacage-sql/org-postgresql-driver.properties: | |
6248 Added statement to delete artifact by uuid. | |
6249 | |
6250 2011-08-02 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6251 | |
6252 * src/main/java/de/intevation/flys/artifacts/datacage/DatacageBackendListener.java: | |
6253 Made it compilable again. The signature of BackendListener has changed. | |
6254 | |
6255 2011-08-01 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6256 | |
6257 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java: | |
6258 Completed the backend listener stuff. | |
6259 | |
6260 TODO I: Added some cleanup for orphaned artifacts. | |
6261 TODO II: Figure out a way to delete collections/artifacts | |
6262 which are delete from backend without the | |
6263 backend API. | |
6264 | |
6265 * src/main/resources/datacage-sql/org-h2-driver.properties, | |
6266 src/main/resources/datacage-sql/org-postgresql-driver.properties: | |
6267 Added needed statements. | |
6268 | |
6269 2011-08-01 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6270 | |
6271 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java: | |
6272 Update collection names on change. Remove artifacts from collections. | |
6273 | |
6274 * src/main/resources/datacage-sql/org-h2-driver.properties, | |
6275 src/main/resources/datacage-sql/org-postgresql-driver.properties: | |
6276 Added needed statements. | |
6277 | |
6278 2011-08-01 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6279 | |
6280 * src/main/java/de/intevation/flys/artifacts/datacage/DatacageBackendListener.java: | |
6281 Call datacage with the global context. This is needed to access the state engine. | |
6282 | |
6283 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java: Changed | |
6284 signatures to take the global context, too. Create artifacts via backend listener | |
6285 interface. | |
6286 | |
6287 2011-08-01 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6288 | |
6289 * src/main/java/de/intevation/flys/artifacts/datacage/DatacageBackendListener.java: | |
6290 Fixed recursion bug. | |
6291 | |
6292 2011-08-01 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6293 | |
6294 * src/main/java/de/intevation/flys/artifacts/datacage/DatacageBackendListener.java: | |
6295 Added debug output. | |
6296 | |
6297 2011-08-01 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6298 | |
6299 * doc/conf/conf.xml: Added backend listener for datacage. | |
6300 | |
6301 * src/main/java/de/intevation/flys/artifacts/datacage/DatacageBackendListener.java: | |
6302 New. Proxies backend listener calls to datacage. | |
6303 | |
6304 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java: | |
6305 Implements backend listener. TODO: Update the datacage database | |
6306 according the change calls. | |
6307 | |
6308 2011-08-01 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6309 | |
6310 * src/main/java/de/intevation/flys/artifacts/services/meta, | |
6311 src/main/java/de/intevation/flys/artifacts/datacage/templating: | |
6312 Moved/renamed package to better fit the common semantics. | |
6313 DataCage.java is now call NoneUserSpecific.java to reflect the | |
6314 fact that it is the template for the user independent db | |
6315 analysis. | |
6316 | |
6317 * src/main/java/de/intevation/flys/artifacts/CollectionMonitor.java, | |
6318 src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java: | |
6319 Ajusted imports and calls. | |
6320 | |
6321 2011-08-01 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6322 | |
6323 * doc/conf/conf.xml: For documentation purposes added a out-commented | |
6324 section with the default configuration of the datacage. | |
6325 | |
6326 2011-07-31 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6327 | |
6328 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java: | |
6329 Delete the artifacts at before initial scan, too. They are independent | |
6330 from users. Fixed problem when writing state data content. | |
6331 | |
6332 * src/main/resources/datacage-sql/org-h2-driver.properties: Added | |
6333 statement to delete the artifacts at initial scan, too. | |
6334 | |
6335 * src/main/resources/datacage-sql/org-postgresql-driver.properties: | |
6336 New. PostgreSQL version of the statements. The database scheme | |
6337 is the same as H2. Very useful for debugging. | |
6338 | |
6339 2011-07-31 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6340 | |
6341 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java: | |
6342 Added kludge for the types of artifact data. They seem to be null | |
6343 in some circumstances. Needs to be debugged! | |
6344 | |
6345 2011-07-31 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6346 | |
6347 * src/main/java/de/intevation/flys/artifacts/datacage/DBConfig.java: | |
6348 Fixed default connection URL to use a namend in-mermory database. | |
6349 | |
6350 2011-07-31 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6351 | |
6352 * doc/conf/datacage.sql: Fixed constraint. | |
6353 | |
6354 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java: | |
6355 Added some debug output. | |
6356 | |
6357 2011-07-29 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6358 | |
6359 * doc/conf/datacage.sql: Removed artifact_id from facet because there | |
6360 is a link via out_id -> outs.id: artifact_id -> artifacts to | |
6361 find the corresponding artifact. | |
6362 | |
6363 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java, | |
6364 src/main/resources/datacage-sql/org-h2-driver.properties: Store | |
6365 facets of outs into datacage db at initial scan. | |
6366 | |
6367 2011-07-29 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6368 | |
6369 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java, | |
6370 src/main/resources/datacage-sql/org-h2-driver.properties: | |
6371 Store outs of artifacts into datacage db at initial scan. | |
6372 TODO: store facets. | |
6373 | |
6374 2011-07-29 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6375 | |
6376 * doc/conf/datacage.sql: Added 'type' column in artifacts data. | |
6377 Maybe useful for filtering. | |
6378 | |
6379 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java, | |
6380 src/main/resources/datacage-sql/org-h2-driver.properties: | |
6381 Store artifact data into db at initial scan. | |
6382 TODO: store outs and facets. | |
6383 | |
6384 2011-07-29 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6385 | |
6386 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java, | |
6387 src/main/resources/datacage-sql/org-h2-driver.properties: | |
6388 Add artifacts into datacage db at initial scan. | |
6389 TODO: Store data, outs and facets. | |
6390 | |
6391 2011-07-28 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6392 | |
6393 * doc/conf/datacage.sql: Fixed spelling in sequence name. | |
6394 | |
6395 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java, | |
6396 src/main/resources/datacage-sql/org-h2-driver.properties: Simply add | |
6397 collection item at initial scan if artifact was stored before. | |
6398 TODO: Store new artifacts. | |
6399 | |
6400 2011-07-28 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6401 | |
6402 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java, | |
6403 src/main/resources/datacage-sql/org-h2-driver.properties: Add | |
6404 collections at initial scan. | |
6405 | |
6406 2011-07-28 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6407 | |
6408 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java, | |
6409 src/main/resources/datacage-sql/org-h2-driver.properties: Add users | |
6410 at initial scan. | |
6411 | |
6412 2011-07-28 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6413 | |
6414 * doc/conf/datacage.sql: Using sequences for id generation now | |
6415 to make schema more compatible. | |
6416 | |
6417 2011-07-28 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6418 | |
6419 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java, | |
6420 src/main/resources/datacage-sql/org-h2-driver.properties: Clear database | |
6421 before initial scan. | |
6422 | |
6423 2011-07-28 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6424 | |
6425 * src/main/java/de/intevation/flys/artifacts/datacage/DBConnection.java: | |
6426 Deleted. This stuff comes from the artifact database now. | |
6427 | |
6428 * src/main/java/de/intevation/flys/artifacts/datacage/DBConfig.java: | |
6429 New. The db config of the datacage database. | |
6430 | |
6431 * src/main/resources/datacage-sql/org-h2-driver.properties: New. | |
6432 The SQL statements needed for the datacage. | |
6433 | |
6434 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java: | |
6435 Make use of the db config. | |
6436 | |
6437 2011-07-27 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6438 | |
6439 * src/main/java/de/intevation/flys/artifacts/datacage/Datacage.java: | |
6440 New. A artifact database lifetime listener to build the initial | |
6441 index of the artifacts in database. | |
6442 | |
6443 * doc/conf/conf.xml: Added the datacage to the list of lifetime | |
6444 listeners. | |
6445 | |
6446 2011-07-27 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6447 | |
6448 * doc/conf/datacage.sql: Added an explicit table for the outs | |
6449 of an artifact. | |
6450 | |
6451 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
6452 Make the current outs of an artifact accessible only with | |
6453 the global context. | |
6454 | |
6455 2011-07-27 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6456 | |
6457 * doc/conf/datacage.sql: Added ON DELETE CASCADE constraints. | |
6458 Added state in facet. | |
6459 | |
6460 2011-07-26 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6461 | |
6462 * doc/conf/datacage.sql: New. H2 Schema for the datacage database. | |
6463 Uses special features like IDENTITY (autoincrement) typed columns. | |
6464 | |
6465 * src/main/java/de/intevation/flys/artifacts/datacage/DBConnection.java: | |
6466 Pooled connection. | |
6467 | |
6468 * pom.xml: Added dependencies to H2 and Apache DBCP. | |
6469 | |
6470 2011-07-26 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6471 | |
6472 * src/test/java/de/intevation/flys/artifacts/AppTest.java, | |
6473 src/main/java/de/intevation/flys/artifacts/App.java: Removed. | |
6474 This the stupid "Hello, World!" app initially created by the | |
6475 maven archetype. It was never used. | |
6476 | |
6477 2011-07-25 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6478 | |
6479 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java: | |
6480 Argh! Usage the DOM was not thread safe (discovered with ab). | |
6481 | |
6482 2011-07-25 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6483 | |
6484 * doc/conf/meta-data-template.xml: '$recommended' lead to XPath | |
6485 errors. Using "dc:contains($parameters, 'recommended')" helps. | |
6486 | |
6487 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java, | |
6488 src/main/java/de/intevation/flys/artifacts/services/meta/FunctionResolver.java: | |
6489 Added some debugging. | |
6490 | |
6491 * src/main/java/de/intevation/flys/artifacts/services/meta/DataCage.java: | |
6492 Added parameters as 'parameters' to parameters. Usefull to check | |
6493 for containment of variables. | |
6494 | |
6495 2011-07-25 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6496 | |
6497 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java: | |
6498 Added 'if log.isDebugEnabled() {}'. | |
6499 | |
6500 2011-07-25 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6501 | |
6502 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java: | |
6503 Made Artifact UUID optional and accept extra parameters, too. This enables | |
6504 the service to be used without an arttifact and test all filters. | |
6505 | |
6506 <art:meta xmlns:art="http://www.intevation.de/2009/artifacts"> | |
6507 <art:outs value="computed_discharge_curve,floodmap"/> | |
6508 <art:parameters value="river:Elbe"/> | |
6509 <art:filters value="recommended"/> | |
6510 </art:meta> | |
6511 | |
6512 * src/main/java/de/intevation/flys/artifacts/services/meta/FunctionResolver.java: | |
6513 'contain' accept Maps and collection, too. | |
6514 | |
6515 * src/main/java/de/intevation/flys/artifacts/services/meta/DataCage.java: | |
6516 Made artifact option (= null) in recommendations. | |
6517 | |
6518 2011-07-21 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6519 | |
6520 * src/main/java/de/intevation/flys/artifacts/services/meta/CompiledStatement.java: | |
6521 Moved connection specific into inner class. The enables the reuse of the | |
6522 compiled statement. | |
6523 | |
6524 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java: The | |
6525 SQL statements are now only compiled once at creation time of the builder. | |
6526 Each connection now reuses them. | |
6527 | |
6528 2011-07-21 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6529 | |
6530 * doc/conf/cache.xml: Added configuration for static datacage db access. | |
6531 | |
6532 * src/main/java/de/intevation/flys/artifacts/services/meta/App.java: Using | |
6533 caches seems to need an explicit System.exit(). | |
6534 | |
6535 * src/main/java/de/intevation/flys/artifacts/services/meta/CompiledStatement.java: | |
6536 Added support for caching the SQL statements and there results. | |
6537 | |
6538 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java: Some | |
6539 clean up. Reordered code for performance. Strip SQL statements more | |
6540 aggressively. | |
6541 | |
6542 * src/main/java/de/intevation/flys/artifacts/services/meta/ResultData.java: | |
6543 Made it Serializable. | |
6544 | |
6545 * src/main/java/de/intevation/flys/artifacts/cache/CacheFactory.java: | |
6546 Introduced system property 'flys.artifacts.cache.config.file' to make | |
6547 the caching configurable without pulling up the whole stack. | |
6548 | |
6549 2011-07-22 Ingo Weinzierl <ingo@intevation.de> | |
6550 | |
6551 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
6552 Prepared the FLYSArtifactCollection to support the storage of already | |
6553 loaded recommendations in its attribute document. | |
6554 | |
6555 2011-07-21 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6556 | |
6557 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java: | |
6558 Adjusted to use the DataCage recommendations. The incomming document | |
6559 can pass the artifacts UUID by '/art:outs/@value' the outs as a | |
6560 comma separated list in '/art:outs/@value' and optional a set of | |
6561 filters comma separated in '/art:filters/@value'. | |
6562 | |
6563 If UUID and OUTS are not given the old service is used. This | |
6564 should be removed as soon as the client uses the new service. | |
6565 | |
6566 2011-07-21 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6567 | |
6568 * src/main/java/de/intevation/flys/artifacts/services/meta/CompiledStatement.java: | |
6569 Allow '-' in variable names. | |
6570 | |
6571 2011-07-21 Ingo Weinzierl <ingo@intevation.de> | |
6572 | |
6573 * doc/conf/meta-data-template.xml: Now, the river-id is really added to | |
6574 the factory node of the wmsbackground layer. | |
6575 | |
6576 2011-07-21 Ingo Weinzierl <ingo@intevation.de> | |
6577 | |
6578 * doc/conf/meta-data-template.xml: Added the river-id to the factory node | |
6579 of the riveraxis and wmsbackground layer. | |
6580 | |
6581 2011-07-21 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6582 | |
6583 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java, | |
6584 src/main/java/de/intevation/flys/artifacts/services/MainValuesService.java, | |
6585 src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java, | |
6586 src/main/java/de/intevation/flys/artifacts/services/RiverService.java: | |
6587 Adjusted to implement changed Service interface. | |
6588 | |
6589 2011-07-21 Ingo Weinzierl <ingo@intevation.de> | |
6590 | |
6591 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Refactored | |
6592 the method that retrieves the Outputs for the Artifact. Now, we are able | |
6593 to query the Outputs for the current state, and all outputs separately. | |
6594 | |
6595 * src/main/java/de/intevation/flys/artifacts/CollectionMonitor.java: The | |
6596 recommendations provided by this monitor will take the Outputs of the | |
6597 current state only into account. | |
6598 | |
6599 2011-07-21 Ingo Weinzierl <ingo@intevation.de> | |
6600 | |
6601 * doc/conf/meta-data-template.xml: Added conditions for each output type. | |
6602 Splitted the "floodmap" output into two parts: a recommended one and a | |
6603 complete one. The recommended part will only build the document tree for | |
6604 the recommended artifacts; the complete part will build the whole document | |
6605 tree that is available for a floodmap. | |
6606 | |
6607 * src/main/java/de/intevation/flys/artifacts/CollectionMonitor.java: | |
6608 This Hook now uses the DataCage to generate the recommended artifacts. | |
6609 The output-defaults configurtion is needless now. | |
6610 | |
6611 * doc/conf/output-defaults.xml: Removed. The configuration of recommended | |
6612 artifacts takes place in meta-data-template.xml. | |
6613 | |
6614 * src/main/java/de/intevation/flys/artifacts/services/meta/DataCage.java: | |
6615 Bugfix: the DataCage didn't start working if its builder was NOT null, | |
6616 but it shouldn't start if the builder IS null. | |
6617 | |
6618 2011-07-21 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6619 | |
6620 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java: | |
6621 Now it is possible to directly pass a Node as a root to the builder. | |
6622 The owning document if fetch by Node.getOwnerDocument(). This is | |
6623 useful if you want to generate the recommendation directly into | |
6624 an already existing document under a given node. | |
6625 | |
6626 * src/main/java/de/intevation/flys/artifacts/services/meta/DataCage.java: | |
6627 Changed the signature of recommend() to accept a node where to | |
6628 append the recommendations. | |
6629 | |
6630 2011-07-20 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6631 | |
6632 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java: | |
6633 Added a macro mechanism: | |
6634 | |
6635 <dc:macro name="keine-fuenf"> | |
6636 <dc:text>'5' ist nicht in der Liste der Outs.</dc:text> | |
6637 </dc:macro> | |
6638 <dc:call-macro name="keine-fuenf"/> | |
6639 <dc:call-macro name="keine-fuenf"/> | |
6640 <dc:call-macro name="keine-fuenf"/> | |
6641 | |
6642 Macros can be defined everywhere in the template | |
6643 with 'macro'. There bodies can contain all valid elements | |
6644 including other 'macro's and 'call-macro's. They are | |
6645 called with their 'name' with 'call-macro'. The control flow | |
6646 is continued inside the body of the called macro and | |
6647 will continue right after the calling 'call-macro' when | |
6648 the macro body is finished. | |
6649 | |
6650 2011-07-20 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6651 | |
6652 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java: | |
6653 Added a new 'if' construct similiar to XSLT: | |
6654 | |
6655 <dc:if test="not(dc:contains($outs, '5'))"> | |
6656 <dc:text>'5' ist nicht in der Liste der Outs.</dc:text> | |
6657 </dc:if> | |
6658 | |
6659 The control flow is continued inside the 'if' if the 'test' attribute | |
6660 as an XPath expression on an empty document evalutes to true. | |
6661 Else the inside is skipped. There is no 'else'. Use 'choose'/'otherwise' | |
6662 if you need this. | |
6663 | |
6664 2011-07-20 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6665 | |
6666 * src/main/java/de/intevation/flys/artifacts/services/meta/DataCage.java: | |
6667 Added a recommend() method to generate recommendations for | |
6668 a given artifact, outs and extra parameters. | |
6669 | |
6670 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Added | |
6671 method to extract all data at once. | |
6672 | |
6673 2011-07-20 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6674 | |
6675 * src/main/java/de/intevation/flys/artifacts/services/meta/FunctionResolver.java: | |
6676 New. Custom XPath function provider. Provides | |
6677 'dc:contains(Object [] haystack, Object needle)' by now. Should be | |
6678 useful to check containments in 'out' lists later. | |
6679 | |
6680 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java: | |
6681 Register the FunctionResolver to the evaluated XPaths. | |
6682 | |
6683 * src/main/java/de/intevation/flys/artifacts/services/meta/App.java: | |
6684 Added code to parse | |
6685 "param:a,b,c" to "param" -> new String [] { "a", "b", "c" } to | |
6686 help testing the 'dc:contains' XPath function. | |
6687 | |
6688 2011-07-20 Ingo Weinzierl <ingo@intevation.de> | |
6689 | |
6690 * doc/conf/conf.xml: Added wms configurations for Saar, Mosel and Elbe. | |
6691 Each river supported by FLYS requires such a WMS configuration. A WMS | |
6692 should contain layers for the river axis, buildings, kilometer labels | |
6693 and maybe a background layer as well. | |
6694 | |
6695 * src/main/java/de/intevation/flys/artifacts/context/FLYSContext.java: | |
6696 Added key that is used to store a map of WMS URLs - for each river a | |
6697 WMS URL. | |
6698 | |
6699 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java: | |
6700 Parse the river WMS from global configuration. | |
6701 | |
6702 * src/main/java/de/intevation/flys/artifacts/states/RiverAxisState.java: | |
6703 Create WMSLayerFacets with URLs based on the river and the river wms | |
6704 configuration stored in the FLYSContext. | |
6705 | |
6706 * src/main/java/de/intevation/flys/artifacts/WMSBackgroundArtifact.java, | |
6707 src/main/java/de/intevation/flys/artifacts/RiverAxisArtifact.java: | |
6708 Adapted the initialize() signature and the method call of computeInit() | |
6709 which requires a FLYSContext to retrieve the river WMS configurations. | |
6710 | |
6711 * src/main/java/de/intevation/flys/artifacts/states/WMSBackgroundState.java, | |
6712 src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: | |
6713 Added the context object parameter to the computeInit() method. | |
6714 | |
6715 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Call | |
6716 initialize() with the context object - which is a FLYSContext or a | |
6717 CallContext. | |
6718 | |
6719 2011-07-20 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6720 | |
6721 * src/main/java/de/intevation/flys/artifacts/services/meta/App.java: | |
6722 Check if builder was created properly before using it. | |
6723 | |
6724 * src/main/java/de/intevation/flys/artifacts/services/meta/StackFrames.java: | |
6725 Implements now variable provider for XPath expressions. | |
6726 | |
6727 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java: | |
6728 Added new choose/when/otherwise construct similiar to XSLT | |
6729 | |
6730 <dc:choose> | |
6731 <dc:when test="$river = 'Mosel'"> | |
6732 <dc:text>Es ist die Mosel.</dc:text> | |
6733 </dc:when> | |
6734 <dc:when test="$river = 'Saar'"> | |
6735 <dc:text>Es ist die Saar.</dc:text> | |
6736 </dc:when> | |
6737 <dc:otherwise> | |
6738 <dc:text>Es ist weder Mosel noch Saar.</dc:text> | |
6739 </dc:otherwise> | |
6740 </dc:choose> | |
6741 | |
6742 A 'choose' block can contain a list of 'when's and an optional | |
6743 'otherwise'. For each 'when' the test attribute is evaluated | |
6744 as an XPath expression on an empty document. The result of | |
6745 the evaluation is taken as a boolean value. If its value is | |
6746 true the control flow is continued inside the corresponding | |
6747 'when' and the other choose elements are not tested. | |
6748 If the value is values the testing continues with the next | |
6749 'when'. If no 'test' expression is evaluated to true, the | |
6750 control flow continues inside the 'otherwise'. If no 'otherwise' | |
6751 is given nothing happens at all. | |
6752 | |
6753 2011-07-20 Ingo Weinzierl <ingo@intevation.de> | |
6754 | |
6755 * doc/conf/conf.xml: Added a config section for floodmaps. Currently, the | |
6756 background layer's url and layername is defined here. | |
6757 | |
6758 * src/main/java/de/intevation/flys/artifacts/states/WMSBackgroundState.java: | |
6759 Read the background layer configuration from conf.xml. Those values are | |
6760 used to create the WMSLayerFacet. | |
6761 | |
6762 2011-07-20 Ingo Weinzierl <ingo@intevation.de> | |
6763 | |
6764 * src/main/java/de/intevation/flys/artifacts/states/WMSBackgroundState.java: | |
6765 The background layer facet will no longer have an extent set. | |
6766 | |
6767 2011-07-20 Ingo Weinzierl <ingo@intevation.de> | |
6768 | |
6769 * src/main/java/de/intevation/flys/artifacts/states/WMSBackgroundState.java, | |
6770 src/main/java/de/intevation/flys/artifacts/states/RiverAxisState.java: | |
6771 Set the extent of the created WMSLayerFacets and i18n its descriptions. | |
6772 | |
6773 * src/main/resources/messages.properties, | |
6774 src/main/resources/messages_de_DE.properties, | |
6775 src/main/resources/messages_en.properties, | |
6776 src/main/resources/messages_de.properties: Added I18N strings for the | |
6777 background an river axis layer. | |
6778 | |
6779 2011-07-20 Ingo Weinzierl <ingo@intevation.de> | |
6780 | |
6781 * src/main/java/de/intevation/flys/artifacts/model/WMSLayerFacet.java: | |
6782 This facet type has a method to set the extent of a WMS layer. The | |
6783 extent is written to the facets XML node in toXML() as well. | |
6784 | |
6785 2011-07-20 Ingo Weinzierl <ingo@intevation.de> | |
6786 | |
6787 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Adapted | |
6788 the signature of setup() which requires a CallMeta parameter now. | |
6789 | |
6790 * src/main/java/de/intevation/flys/artifacts/WMSBackgroundArtifact.java, | |
6791 src/main/java/de/intevation/flys/artifacts/RiverAxisArtifact.java: Use | |
6792 the CallMeta object retrieved in setup() to call initialize(). It is now | |
6793 able to i18n things. | |
6794 | |
6795 2011-07-20 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6796 | |
6797 * src/main/java/de/intevation/flys/artifacts/services/meta/App.java: New. | |
6798 Standalone app to debug the datacage template. To use in a maven environment: | |
6799 | |
6800 -Dmeta.data.template=PATH_TO_META_DATA-TEMPLATE.XML \ | |
6801 -Dmeta.data.parameters=river:Mosel \ | |
6802 -Dmeta.data.output=OUTPUT.XML \ | |
6803 -Dflys.backend.user=DB_USER \ | |
6804 -Dflys.backend.password=DB_PASSWORD \ | |
6805 -Dflys.backend.url=DB_CONNECTION_URL \ | |
6806 -Dexec.mainClass=de.intevation.flys.artifacts.services.meta.App | |
6807 | |
6808 2011-07-20 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6809 | |
6810 * src/main/java/de/intevation/flys/artifacts/services/meta/DataCage.java: | |
6811 New. First step to factor out the "Datenkorb" logic into a service independent | |
6812 singleton. | |
6813 | |
6814 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java: | |
6815 Uses the "Datenkorb" singleton now. | |
6816 | |
6817 2011-07-20 Ingo Weinzierl <ingo@intevation.de> | |
6818 | |
6819 * src/main/java/de/intevation/flys/artifacts/model/ManagedFacet.java: | |
6820 Removed "index" property, because it is already existing in parent | |
6821 class. | |
6822 | |
6823 2011-07-19 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6824 | |
6825 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java: | |
6826 Improved error handling. | |
6827 | |
6828 2011-07-19 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6829 | |
6830 * src/main/resources/metadata/template.xml: Deleted. | |
6831 | |
6832 * doc/conf/meta-data-template.xml: New. Was template.xml | |
6833 | |
6834 * doc/conf/conf.xml: Made meta data template configurable. | |
6835 | |
6836 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java: | |
6837 Load template from configuration not from resources. | |
6838 | |
6839 2011-07-19 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6840 | |
6841 * src/main/resources/metadata/template.xml: s/[a-z]+-id/db-id/ | |
6842 Make database ids identifiable with unique name "db-id". | |
6843 | |
6844 2011-07-19 Ingo Weinzierl <ingo@intevation.de> | |
6845 | |
6846 * src/main/java/de/intevation/flys/artifacts/model/ManagedFacet.java: | |
6847 Override the toXML() method. Subclasses can now write their own XML | |
6848 representation. | |
6849 | |
6850 * src/main/java/de/intevation/flys/artifacts/model/ManagedDomFacet.java: | |
6851 New. This ManagedFacet uses an Element (DOM) to store the information | |
6852 about a facet. The intent of this facet type is to represent a facet | |
6853 stored in an Collection attribute. Different facets can have different | |
6854 attributes that we need to parse, but the only thing ManagedFacets need | |
6855 to do, is to adjust the attributes "active" and "position". So, those | |
6856 values are set directly on the Element, the other attributes aren't | |
6857 touched. | |
6858 | |
6859 * src/main/java/de/intevation/flys/artifacts/model/ManagedFacetAdapter.java: | |
6860 New. This facet is a wrapper for another facet. This subclass of a | |
6861 ManagedFacet overrides the toXML() method. The XML representation is | |
6862 defined by the inner facet that is stored as member variable. The | |
6863 ManagedFacet specific attributes "artifact", "facet", "pos" and "active" | |
6864 are added manually. | |
6865 | |
6866 * src/main/java/de/intevation/flys/collections/AttributeWriter.java: Uses | |
6867 the toXML() method to write a facet node into the attribute document. | |
6868 | |
6869 * src/main/java/de/intevation/flys/collections/AttributeParser.java: Uses | |
6870 the ManagedDomFacet to save the information of a facet which is | |
6871 contained in the attribute part of a Collection's DESCRIBE document. | |
6872 | |
6873 * src/main/java/de/intevation/flys/collections/OutputParser.java: Uses the | |
6874 ManagedFacetAdapter to save a facet, because we want to keep the | |
6875 specific facet to be able to write its specific XML representation into | |
6876 the Collection's DESCRIBE document. | |
6877 | |
6878 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
6879 Adapted the XPath of facets stored in the attribute part of the | |
6880 DESCRIBE. | |
6881 | |
6882 2011-07-18 Ingo Weinzierl <ingo@intevation.de> | |
6883 | |
6884 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Added a | |
6885 method that returns the Outputs for the Artifact. | |
6886 | |
6887 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
6888 Adapeted the call of OutputParser. | |
6889 | |
6890 * src/main/java/de/intevation/flys/collections/OutputParser.java: | |
6891 Simplified the code to read the Outputs of Artifacts. This parser will | |
6892 now longer parse the DESCRIBE documents of the Artifacts, but query the | |
6893 Outputs via FLYSArtifact.getOutputs() directly. | |
6894 | |
6895 2011-07-18 Ingo Weinzierl <ingo@intevation.de> | |
6896 | |
6897 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java, | |
6898 src/main/java/de/intevation/flys/artifacts/StaticFLYSArtifact.java: | |
6899 Adapted the function call of ProtocolUtils.appendOutputModes(). | |
6900 | |
6901 * src/main/java/de/intevation/flys/artifacts/model/WMSLayerFacet.java: | |
6902 Override toXML() to add the URL and layernames to the XML representation | |
6903 of this facet. | |
6904 | |
6905 2011-07-18 Ingo Weinzierl <ingo@intevation.de> | |
6906 | |
6907 * doc/conf/artifacts/wmsbackground.xml, | |
6908 doc/conf/artifacts/riveraxis.xml: New configurations for an Artifact | |
6909 that is used as background layer in floodmaps, and an artifact that is | |
6910 used as layer showing the river axis in a floodmap. | |
6911 | |
6912 * doc/conf/output-defaults.xml: New file to configure default artifacts | |
6913 for specific output states. E.g. the floodmap state recommends a | |
6914 background layer and a layer displaying the river axis. In suche case, | |
6915 the floodmap state recommends two artifacts for the two layers. | |
6916 | |
6917 * doc/conf/conf.xml: Added new artifacts/artifact-factories and a Hook to | |
6918 monitor artifacts (-> CollectionMonitor.java). | |
6919 | |
6920 * src/main/java/de/intevation/flys/artifacts/model/WMSLayerFacet.java: | |
6921 New. This facet is used to represent a layer in a map. So, this facet | |
6922 stores information about a WMS URL and the layer names provided by this | |
6923 WMS. | |
6924 | |
6925 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added | |
6926 facet types for the wmsbackground and riveraxis. | |
6927 | |
6928 * src/main/java/de/intevation/flys/artifacts/states/WMSBackgroundState.java, | |
6929 src/main/java/de/intevation/flys/artifacts/WMSBackgroundArtifact.java: | |
6930 New. An artifact and its default state. The intent of these classes is | |
6931 to generate WMSLayerFacets which represent background layers in maps. | |
6932 | |
6933 * src/main/java/de/intevation/flys/artifacts/states/RiverAxisState.java, | |
6934 src/main/java/de/intevation/flys/artifacts/RiverAxisArtifact.java: New. | |
6935 An artifact and its default state. The intent of these classes is to | |
6936 generate WMSLayerFacets which represent layers that display a river | |
6937 axis. | |
6938 | |
6939 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: | |
6940 Added the INIT ComputeType. | |
6941 | |
6942 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Added a | |
6943 case for the INIT ComputeType while computing data. | |
6944 | |
6945 2011-07-18 Ingo Weinzierl <ingo@intevation.de> | |
6946 | |
6947 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: | |
6948 Added a method computeInit() which is called to initialize data/facets | |
6949 after an artifact has been created. | |
6950 | |
6951 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Repaired | |
6952 broken XPath. | |
6953 | |
6954 2011-07-14 Ingo Weinzierl <ingo@intevation.de> | |
6955 | |
6956 * src/main/java/de/intevation/flys/artifacts/CollectionMonitor.java: | |
6957 Removed the code to generate new artifacts. Instead of creating new | |
6958 artifacts automatically, we decided to suggest creating new artifacts | |
6959 from specific types. Therefore, the DESCRIBE document of the artifacts | |
6960 is extended with a node that contains recommended artifact types. | |
6961 | |
6962 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
6963 FLYSArtifacts might be setup with the identifier of an other | |
6964 FLYSArtifact. Subclasses are able to override a method called | |
6965 initialize(Artifact, GlobalContext). This might be helpful to extract | |
6966 required values or clone artifacts. | |
6967 | |
6968 2011-07-14 Ingo Weinzierl <ingo@intevation.de> | |
6969 | |
6970 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java: | |
6971 Adapted the signature of createArtifactContext() - it returns an | |
6972 instance of GlobalContext now. | |
6973 | |
6974 2011-07-14 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
6975 | |
6976 * src/main/java/de/intevation/flys/artifacts/geom/Lines.java: | |
6977 Debugged the water fill algorithm. Added a lot of logging. | |
6978 | |
6979 * src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java: | |
6980 Added a text field to give a water level to fill in. | |
6981 | |
6982 2011-07-14 Ingo Weinzierl <ingo@intevation.de> | |
6983 | |
6984 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java, | |
6985 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Moved code | |
6986 to create the output modes based on the given facets to FLYSArtifact. In | |
6987 addition, FLYSArtifact got a new method that returns a specific input | |
6988 value as string. | |
6989 | |
6990 * src/main/java/de/intevation/flys/artifacts/CollectionMonitor.java: New. | |
6991 This hook monitors the "post-feed" and "post-advance". If the monitored | |
6992 Artifact's state has configured recommended artifacts, this hook will | |
6993 create new Artifacts. | |
6994 | |
6995 TODO: We have to add the UUIDs of the new Artifacts to the DESCRIBE | |
6996 document of the artifact to let the client know, that there are new | |
6997 recommended Artifacts. | |
6998 | |
6999 * src/main/java/de/intevation/flys/artifacts/StaticFLYSArtifact.java: New. | |
7000 This Artifact is the base class for Artifacts, that represent static | |
7001 data. E.g. this could be a decoration theme in a chart or a background | |
7002 layer in the map. | |
7003 | |
7004 * src/main/java/de/intevation/flys/artifacts/states/OutputState.java: New. | |
7005 This state might be used as base class for states, that doesn't require | |
7006 any user input, but only provide static Facets added by a computeFeed() | |
7007 operation. So, subclasses need to implement computeFeed() only. | |
7008 | |
7009 2011-07-13 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
7010 | |
7011 * src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java: | |
7012 New. Standalone Swing-App to test cross sections from database without the | |
7013 hassles of our complete software stack. Runnable from a maven environment: | |
7014 | |
7015 $ mvn -e \ | |
7016 -Dflys.backend.user=DB_USER \ | |
7017 -Dflys.backend.password=DB_PASSWD \ | |
7018 -Dflys.backend.url=DB_CONNECTION_URL \ | |
7019 -Dexec.mainClass=de.intevation.flys.artifacts.charts.CrossSectionApp \ | |
7020 exec:java | |
7021 | |
7022 You can set the river to be used with the system property 'river'. | |
7023 Defaults to 'Mosel'. | |
7024 | |
7025 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENFacet.java: | |
7026 Removed superfluous imports. | |
7027 | |
7028 2011-07-13 Ingo Weinzierl <ingo@intevation.de> | |
7029 | |
7030 * doc/conf/artifacts/winfo.xml: The FloodMapState has a new Outputmode | |
7031 called "floodmap" now. | |
7032 | |
7033 * src/main/java/de/intevation/flys/artifacts/model/WSPLGENFacet.java: New. | |
7034 This facet is used to generate WSPLGEN results. | |
7035 | |
7036 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Added | |
7037 the WSPLGENFacet. | |
7038 | |
7039 * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: | |
7040 This state will now generate WSPLGENFacets. | |
7041 | |
7042 2011-07-12 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
7043 | |
7044 * src/main/java/de/intevation/flys/artifacts/geom/Lines.java: | |
7045 Fixed corner case. | |
7046 | |
7047 2011-07-11 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
7048 | |
7049 * src/main/java/de/intevation/flys/artifacts/geom/Lines.java: New. | |
7050 fillWater() generates a list of wet lines for a given profile and a | |
7051 given water level. | |
7052 | |
7053 2011-07-08 Ingo Weinzierl <ingo@intevation.de> | |
7054 | |
7055 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: The | |
7056 Outputs created while generating the DESCRIBE document will now have the | |
7057 'type' member set. | |
7058 | |
7059 * src/main/java/de/intevation/flys/collections/OutputParser.java: Read the | |
7060 'type' member from DESCRIBE document. | |
7061 | |
7062 2011-07-06 Ingo Weinzierl <ingo@intevation.de> | |
7063 | |
7064 * doc/conf/artifacts/winfo.xml: Removed a typo. | |
7065 | |
7066 2011-07-06 Ingo Weinzierl <ingo@intevation.de> | |
7067 | |
7068 * src/main/java/de/intevation/flys/artifacts/model/DataFacet.java: | |
7069 DataFacet are now able to store the ID of the state which has created | |
7070 this Facet. | |
7071 | |
7072 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java: | |
7073 Initialize DataFacets with the ID of this state. This is necessary to | |
7074 renew the waterlevel data if it is no longer existing in the cache. | |
7075 | |
7076 2011-07-06 Ingo Weinzierl <ingo@intevation.de> | |
7077 | |
7078 * src/main/java/de/intevation/flys/artifacts/model/ReportFacet.java: A | |
7079 report facet can now store the state's id and the artifact's hash value | |
7080 when it has been created. | |
7081 | |
7082 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java: | |
7083 Initialize the ReportFacet and WaterlevelFacet with state id and hash | |
7084 information. This has been necessary to retrieve reports and waterlevels | |
7085 in states after this one - in states that we need to enter for floodmap | |
7086 parameterization. | |
7087 | |
7088 2011-07-05 Ingo Weinzierl <ingo@intevation.de> | |
7089 | |
7090 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelGroundDifferences.java: | |
7091 Changed the desired UI provider. | |
7092 | |
7093 2011-07-05 Ingo Weinzierl <ingo@intevation.de> | |
7094 | |
7095 * doc/conf/artifacts/winfo.xml: Added the option to continue the | |
7096 waterlevel parameterization with the intent to create flood maps. | |
7097 | |
7098 * src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java: | |
7099 This state is no longer a final state. The user has the option to | |
7100 continue with the parameterization for flood maps based on the current | |
7101 waterlevel. Therefore, this states desires the "continue" UI provider. | |
7102 Clients should recognice this to just step to the next state or display | |
7103 a button that lets the user step to the next state manually. | |
7104 | |
7105 * src/main/java/de/intevation/flys/artifacts/states/FloodplainChoice.java, | |
7106 src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java, | |
7107 src/main/java/de/intevation/flys/artifacts/states/ScenarioSelect.java, | |
7108 src/main/java/de/intevation/flys/artifacts/states/DGMSelect.java, | |
7109 src/main/java/de/intevation/flys/artifacts/states/ProfileDistanceSelect.java, | |
7110 src/main/java/de/intevation/flys/artifacts/states/WaterlevelGroundDifferences.java: | |
7111 New. These states are used to parameterize a further calculation type: | |
7112 flood map. | |
7113 | |
7114 * src/main/resources/messages.properties, | |
7115 src/main/resources/messages_de_DE.properties, | |
7116 src/main/resources/messages_en.properties, | |
7117 src/main/resources/messages_de.properties: Required strings for the | |
7118 flood maps states. | |
7119 | |
7120 2011-07-04 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
7121 | |
7122 Fix(?) for flys/issue114 | |
7123 | |
7124 * src/main/java/de/intevation/flys/artifacts/model/WQ.java: | |
7125 Make guessing a bit more robust. | |
7126 | |
7127 2011-07-03 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
7128 | |
7129 Added the math needed to calculate "W-Differenzen" in "Laengsschnitten". | |
7130 Needs testing! | |
7131 | |
7132 * src/main/java/de/intevation/flys/artifacts/model/NamedObject.java: | |
7133 Made it an interface to be usable in more than one inheritance chain. | |
7134 | |
7135 * src/main/java/de/intevation/flys/artifacts/model/NamedObjectImpl.java: | |
7136 Implements the NamedObject interface and is the new base class of | |
7137 WQ and WKmsImpl. | |
7138 | |
7139 * src/main/java/de/intevation/flys/artifacts/model/WKms.java: | |
7140 New. Interface to associate kms with ws. | |
7141 | |
7142 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java: | |
7143 Changed the base class to NamedObjectImpl. Renamed getKms(int) | |
7144 to getKm(int) to make clear it return a single scalar value | |
7145 and fullfil the WKms interface. | |
7146 | |
7147 * src/main/java/de/intevation/flys/artifacts/model/WKmsImpl.java: | |
7148 New. Implements the WKms interface. Intended to be a lightweight | |
7149 datastore for "zusaetzliche Laengsschnitte" and as results | |
7150 of the WKmsOperations. | |
7151 | |
7152 * src/main/java/de/intevation/flys/artifacts/model/WQ.java: | |
7153 Changed base class to NamedObjectImpl. | |
7154 | |
7155 * src/main/java/de/intevation/flys/artifacts/math/WKmsOperation.java: | |
7156 New. Operations on WKms data. | |
7157 Currently only the SUBTRACTION operation is implemented. This | |
7158 one is needed to calculate the "W-Differenzen". The operation | |
7159 is insensitive about the km directions of the datasets. Missing | |
7160 values are interpolated linear. | |
7161 | |
7162 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java, | |
7163 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
7164 Adjusted to satisfy the signature change of WQKMs. | |
7165 | |
7166 2011-07-01 Ingo Weinzierl <ingo@intevation.de> | |
7167 | |
7168 * src/main/java/de/intevation/flys/exports/StyledXYSeries.java: New. This | |
7169 XYSeries stores the style information that should be used to render this | |
7170 series. These information are stored as raw XML documents. A public | |
7171 method can be used to apply those style information to a | |
7172 XYLineAndShapeRenderer. | |
7173 | |
7174 Note: The only two attributes currently supported by StyledXYSeries | |
7175 items are "linesize" and "linecolor". | |
7176 | |
7177 * doc/conf/themes.xml: Added some more basic themes for the four | |
7178 calculation methods. | |
7179 | |
7180 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: This | |
7181 generator now tries to apply themes for all series contained in the | |
7182 chart. If a series is no instance of StyledXYSeries, the default | |
7183 renderer is used. | |
7184 | |
7185 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java, | |
7186 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java, | |
7187 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java, | |
7188 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java, | |
7189 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
7190 Removed the code that had been introduced to adapt renderers statically. | |
7191 Now, each of these concrete ChartGenerators instantiates StyledXYSeries | |
7192 items to put the curves into the chart. Those items contain style | |
7193 information now! | |
7194 | |
7195 2011-07-01 Ingo Weinzierl <ingo@intevation.de> | |
7196 | |
7197 flys/issue135 (Diagramm: Trotz abgeschalteter Themen bleiben Beschriftungen bestehen) | |
7198 | |
7199 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: The way | |
7200 to store datasets has changed. Until this revision, the concrete | |
7201 generators managed their own datasets. E.g. the | |
7202 DischargeLongitudinalSectionGenerator had three datasets: w, q and | |
7203 corrected w. Now, there are just two datasets, managed by this base | |
7204 generator - one dataset for the first Y axis and one dataset for the | |
7205 second Y axis. This makes it easier to remove axes, that have no data to | |
7206 be displayed. All concrete chart generators have to add their XYSeries | |
7207 using two methods: addFirstAxisSeries() and addSecondAxisSeries(). | |
7208 | |
7209 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java, | |
7210 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java, | |
7211 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java, | |
7212 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java, | |
7213 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
7214 Those concrete chart generators no longer manage datasets themself but | |
7215 they use the two methods described above, to plot the data to the first | |
7216 or second Y axis. | |
7217 | |
7218 2011-07-01 Ingo Weinzierl <ingo@intevation.de> | |
7219 | |
7220 * src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java: | |
7221 Added the option to use a filter to reduce the number of items returned | |
7222 by this service. | |
7223 | |
7224 2011-06-30 Ingo Weinzierl <ingo@intevation.de> | |
7225 | |
7226 flys/issue159 (WINFO: Radiobutton - Ortsauswahl bei "W für ungleichwertigen Abflusslängsschnitt" entfernen) | |
7227 | |
7228 * doc/conf/artifacts/winfo.xml: Changed the kilometer range input for | |
7229 calculation 4. This calculation type requires a kilometer range. So, | |
7230 after choosing the calculation 4, the transition model leads to a state | |
7231 that just allows the input of a kilometer range with no option to | |
7232 enter locations. | |
7233 | |
7234 * src/main/java/de/intevation/flys/artifacts/states/ComputationRangeState.java: | |
7235 New. A base state for the kilometer selection for calculations. The | |
7236 target of this state is to provide facets for the duration curves. | |
7237 | |
7238 * src/main/java/de/intevation/flys/artifacts/states/DistanceSelect.java: | |
7239 New. This state is used to enter a kilometer range. The difference to | |
7240 the LocationDistanceSelect state is, that there is no option to enter | |
7241 locations. | |
7242 | |
7243 * src/main/java/de/intevation/flys/artifacts/states/RangeState.java: | |
7244 Improved this state to be the base state for calculation ranges. | |
7245 | |
7246 * src/main/java/de/intevation/flys/artifacts/states/LocationSelect.java | |
7247 src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java | |
7248 | |
7249 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java: This | |
7250 state no longer inherits from RangeState which now is used as base | |
7251 state for kilometer ranges. | |
7252 | |
7253 * src/main/resources/messages.properties, | |
7254 src/main/resources/messages_de_DE.properties, | |
7255 src/main/resources/messages_en.properties, | |
7256 src/main/resources/messages_de.properties: Added new i18n strings for | |
7257 the DistanceSelect state. | |
7258 | |
7259 2011-06-28 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
7260 | |
7261 * pom.xml: Downgraded Trove to 1.1-beta-5, because the new | |
7262 later ones are removed from the maven repos. | |
7263 | |
7264 The functionality we need is in 1.1 so this downgrade should | |
7265 cause no problems. | |
7266 | |
7267 Would be nice if we would support the maintainers of trove to | |
7268 bring there new versions back into the main maven repos. | |
7269 | |
7270 2011-06-28 Ingo Weinzierl <ingo@intevation.de> | |
7271 | |
7272 * pom.xml: Repaired the JBoss repository which place has changed. | |
7273 | |
7274 2011-06-28 Ingo Weinzierl <ingo@intevation.de> | |
7275 | |
7276 Tagged RELEASE 2.4 | |
7277 | |
7278 2011-06-27 Ingo Weinzierl <ingo@intevation.de> | |
7279 | |
7280 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java, | |
7281 src/main/java/de/intevation/flys/exports/WstWriter.java: | |
7282 Append the corrected W column (if existing) to the WST export. | |
7283 | |
7284 2011-06-27 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
7285 | |
7286 * src/main/java/de/intevation/flys/artifacts/model/WQ.java: | |
7287 Guessing increaing w is not based on direct neighbors any more. | |
7288 The second to be compared with is choosen by random of | |
7289 the values before the first one. This makes the guessing | |
7290 more robust against 'plateaus' of equal w values. | |
7291 | |
7292 2011-06-27 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
7293 | |
7294 * src/main/java/de/intevation/flys/exports/ATWriter.java: Array | |
7295 for constructing the spline was too large leading to non-increasing | |
7296 values. | |
7297 | |
7298 2011-06-27 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
7299 | |
7300 Fix for flys/issue150 | |
7301 | |
7302 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java, | |
7303 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
7304 Invert the x axis if its guessed that water is increasing. | |
7305 | |
7306 2011-06-27 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
7307 | |
7308 * src/main/java/de/intevation/flys/artifacts/model/WQ.java(guessWaterIncreasing): | |
7309 Added a method to guess based on a given factor of the size (default 0.05) | |
7310 if the water levels are increasing. Needed to determine in which direction | |
7311 the water level curve should be orientated. Based on random to avoid | |
7312 running over large dataset each time a diagram is generated. | |
7313 | |
7314 2011-06-27 Ingo Weinzierl <ingo@intevation.de> | |
7315 | |
7316 flys/issue177 (WINFO: Abflusskurven am Pegel verursachen ein Hängen des Servers) | |
7317 | |
7318 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java: | |
7319 Commented out code to generate time ranges for series names. There | |
7320 seems to be a problem while loading the discharge tables of a gauge or | |
7321 while determining the start and/or end time of such discharge tables. | |
7322 | |
7323 2011-06-26 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
7324 | |
7325 * src/main/java/de/intevation/flys/**/*.java: Removed trailing whitespace. | |
7326 | |
7327 2011-06-26 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
7328 | |
7329 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
7330 Removed dead code. | |
7331 | |
7332 2011-06-26 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
7333 | |
7334 Fix for flys/issue173 | |
7335 | |
7336 * src/main/java/de/intevation/flys/artifacts/model/Calculation4.java: | |
7337 Fixed the way the gauge was found for a given interval. | |
7338 The old way does not work because it was just tested if | |
7339 the station point was inside the segments which is not | |
7340 necessarily true. The obvious solution to simply check | |
7341 the overlapping intervals does not work either because | |
7342 the gauge ranges touch each other and so more than | |
7343 one gauge are returned in these cases. The River.maxOverlap() | |
7344 is now used to find the gauge with the max overlapping | |
7345 range. | |
7346 | |
7347 2011-06-26 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
7348 | |
7349 Fix for flys/issue147 | |
7350 | |
7351 * src/main/java/de/intevation/flys/artifacts/model/Calculation1.java: | |
7352 Removed the 'kmUp' flag. It was an left over from former | |
7353 WSP calculations (w/o ref km) leading to wrong results now. | |
7354 | |
7355 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
7356 Don't pass the kmUp flag to the calculation. | |
7357 | |
7358 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
7359 Added debug output to see the value of 'wq_free'. | |
7360 | |
7361 2011-06-26 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
7362 | |
7363 Fix for flys/issue86 | |
7364 | |
7365 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
7366 The reference gauge for calculations "am Pegel" was determined | |
7367 wrong. | |
7368 | |
7369 2011-06-25 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
7370 | |
7371 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java: | |
7372 Conversion w->q was broken. This should fix a number of issues | |
7373 around "W am Pegel" calculations. | |
7374 | |
7375 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
7376 Issue an error report if a w->q conversion fails. | |
7377 | |
7378 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
7379 The gauge to convert w->q with its discharge table was determined wrong. | |
7380 | |
7381 2011-06-24 Ingo Weinzierl <ingo@intevation.de> | |
7382 | |
7383 flys/issue174 (Diagramm: Q-Linie wird bei initialem Laden des Diagramms | |
7384 anders dargestellt als bei Ansicht auf gesamten Wertebereich) | |
7385 | |
7386 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
7387 The chart will now have upper margins again. | |
7388 | |
7389 2011-06-24 Ingo Weinzierl <ingo@intevation.de> | |
7390 | |
7391 flys/issue172 (Diagramm: Ursprung der Diagramme bei Dauerzahlen) | |
7392 | |
7393 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java: | |
7394 Charts of this type will have the lower X value set to "0". | |
7395 | |
7396 2011-06-23 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
7397 | |
7398 * src/main/java/de/intevation/flys/exports/ATWriter.java: | |
7399 Results are now in cm. Made it more robust against corner cases. | |
7400 | |
7401 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java: | |
7402 Removed superfluous import. | |
7403 | |
7404 2011-06-23 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
7405 | |
7406 * doc/conf/artifacts/winfo.xml, doc/conf/conf.xml: | |
7407 Added facet config for AT exports. | |
7408 | |
7409 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: | |
7410 Added 'at' facet type. | |
7411 | |
7412 * src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java: | |
7413 Generate AT facets. | |
7414 | |
7415 2011-06-23 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
7416 | |
7417 * src/main/java/de/intevation/flys/exports/ATExporter.java: New. | |
7418 Exporter for AT facets. Needs testing. | |
7419 | |
7420 2011-06-23 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
7421 | |
7422 * src/main/java/de/intevation/flys/exports/ATWriter.java: New. | |
7423 Writer for AT files. New code because our data model differs | |
7424 from Desktop-FLYS. Needs testing. | |
7425 | |
7426 2011-06-23 Ingo Weinzierl <ingo@intevation.de> | |
7427 | |
7428 flys/issue157 (Diagramm: Ursprung berechnete Abflusskurve) | |
7429 | |
7430 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java, | |
7431 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java: | |
7432 Moved the method that adjusts the X-axis to include the "0" value from | |
7433 ComputedDischargeCurveGenerator to DischargeCurveGenerator. Now, both | |
7434 charts will include the "0" on the X-axis. | |
7435 | |
7436 2011-06-23 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
7437 | |
7438 * src/main/java/de/intevation/flys/artifacts/model/WQDay.java: | |
7439 Based on WQ now to make it exportable as AT. | |
7440 | |
7441 2011-06-23 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
7442 | |
7443 * src/main/java/de/intevation/flys/artifacts/model/WQ.java: | |
7444 New. Base class for WQKms. | |
7445 | |
7446 TODO 1: make it a base class for WQDay, too, | |
7447 TODO 2: Generate instances of WQ instead of WQKms in "Abflusskurven" | |
7448 calculations. This will save memory. | |
7449 | |
7450 AT exporter will get instances of this class as data model | |
7451 | |
7452 * src/main/java/de/intevation/flys/artifacts/model/NamedObject.java: | |
7453 Add default constructor to ease inheritance. | |
7454 | |
7455 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java: | |
7456 Based on WQ now. Removed code allready defined in base class. | |
7457 | |
7458 2011-06-23 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
7459 | |
7460 * doc/conf/artifacts/winfo.xml: Add TODOs for error reports | |
7461 of "Abflusskurven am Pegel". Maybe we don't need them? | |
7462 | |
7463 * doc/conf/conf.xml: Configure report for each calculated output type. | |
7464 | |
7465 2011-06-22 Ingo Weinzierl <ingo@intevation.de> | |
7466 | |
7467 flys/issue164 (Berechnung 4: Umgekehrtes Berechnungsintervall führt zur) | |
7468 | |
7469 * src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java: | |
7470 Create the items with range information for W and Q which allows the | |
7471 client to validate the user inserted values. | |
7472 | |
7473 2011-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
7474 | |
7475 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
7476 Arguments in filling datastructure were flip. Now | |
7477 the "Abflusskurve am Pegel" looks correct again. | |
7478 | |
7479 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java: | |
7480 Removed superfluous imports. | |
7481 | |
7482 2011-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
7483 | |
7484 Improved situtation on rendering "Abflusskurve am Pegel". Not | |
7485 fully working, yet. | |
7486 | |
7487 * doc/conf/artifacts/winfo.xml: Generate facets for the location path, too. | |
7488 | |
7489 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: Misspelled | |
7490 the facet which prevented the facets from being to the outputs. | |
7491 | |
7492 * src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java: | |
7493 Extended to store the hash and the state id of the producing artifact/state | |
7494 else it results in NPEs because the data is calculated on later (wrong) states. | |
7495 | |
7496 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java: | |
7497 Store the state id and the hash in the facet, too. | |
7498 | |
7499 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Add two | |
7500 method to do calculations for a state the artifact is currently not in | |
7501 and fetching the current state id. | |
7502 | |
7503 2011-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
7504 | |
7505 * doc/conf/artifacts/winfo.xml: Generate facets for "Abflusskurven am Pegel" | |
7506 Not working by now. :-/ | |
7507 | |
7508 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: New facet type | |
7509 for "Abflusskurven am Pegel" | |
7510 | |
7511 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Do calculation | |
7512 in the artifact not in the output generator. | |
7513 | |
7514 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java: | |
7515 Generate the new facets. | |
7516 | |
7517 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java: | |
7518 Fetch data from facet. | |
7519 | |
7520 2011-06-22 Ingo Weinzierl <ingo@intevation.de> | |
7521 | |
7522 flys/issue161 (Diagramm: Q-Achse in W-Längsschnitten immer bei Q=0) | |
7523 | |
7524 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
7525 The Q axis (which is the second y axis) initially contains the 0 value. | |
7526 After a zoom action has taken place, this behaviour is no longer | |
7527 supported. | |
7528 | |
7529 2011-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
7530 | |
7531 Draw correction curve again. | |
7532 | |
7533 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java: | |
7534 Use correction curve to map plot to axes. Not doing so prevented | |
7535 the correction curve from being drawn! | |
7536 Smaller code cleanups and simplifications. | |
7537 | |
7538 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java, | |
7539 src/main/java/de/intevation/flys/artifacts/model/WQCKms.java: | |
7540 Added methods to directly access the components w, q and c | |
7541 at a given index. | |
7542 | |
7543 * src/main/java/de/intevation/flys/exports/ChartGenerator.java: | |
7544 Attribute access via DOM instead of XPath. | |
7545 | |
7546 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
7547 Code simplification. | |
7548 | |
7549 2011-06-21 Ingo Weinzierl <ingo@intevation.de> | |
7550 | |
7551 flys/issue157 (Diagramm: Ursprung berechnete Abflusskurve) | |
7552 | |
7553 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Splitted | |
7554 up zooming for x and y axes to be able to override specific axis | |
7555 zoom behaviour. | |
7556 | |
7557 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java: | |
7558 The lower bound of the x axis (which is the Q axis in such chart) is | |
7559 always 0. | |
7560 | |
7561 2011-06-21 Ingo Weinzierl <ingo@intevation.de> | |
7562 | |
7563 flys/issue90 (Diagramm: Trennung derDiagrammfläche und Achsenaufheben) | |
7564 | |
7565 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: | |
7566 Added a margin between chart data and chart axes. | |
7567 | |
7568 2011-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
7569 | |
7570 Fix for flys/issue158 | |
7571 | |
7572 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionExporter.java: | |
7573 Checks for right class now. | |
7574 | |
7575 2011-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
7576 | |
7577 Fix for flys/issue154 | |
7578 | |
7579 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java: | |
7580 Checks for right class now. | |
7581 | |
7582 2011-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
7583 | |
7584 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
7585 Only generate 'outs' if they have facets. | |
7586 | |
7587 * src/main/java/de/intevation/flys/exports/ChartExportHelper.java: | |
7588 'boolean ? true : false' <=> 'boolean' | |
7589 | |
7590 2011-06-21 Ingo Weinzierl <ingo@intevation.de> | |
7591 | |
7592 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
7593 Added the time-to-live to the DESCRIBE document. | |
7594 | |
7595 2011-06-20 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
7596 | |
7597 * doc/conf/artifacts/winfo.xml: Configured states to generate report facets. | |
7598 | |
7599 2011-06-20 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
7600 | |
7601 * src/main/java/de/intevation/flys/artifacts/model/ReportFacet.java: | |
7602 Return the report. | |
7603 | |
7604 * src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java, | |
7605 src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java, | |
7606 src/main/java/de/intevation/flys/artifacts/states/DurationCurveState.java, | |
7607 src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java: | |
7608 Generate report facets if there are problems with the calculations. | |
7609 TODO: Adjust winfo.xml to configure the facets. | |
7610 | |
7611 2011-06-20 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
7612 | |
7613 * src/main/java/de/intevation/flys/exports/ReportGenerator.java: | |
7614 New. Generator for calculation reports. | |
7615 | |
7616 * doc/conf/conf.xml: Added ReportGenerator. | |
7617 | |
7618 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: | |
7619 Added type 'report'. | |
7620 | |
7621 * src/main/java/de/intevation/flys/artifacts/model/ReportFacet.java: | |
7622 Specialized facet for serving reports. TODO: Added them to the | |
7623 calculation states. | |
7624 | |
7625 * src/main/java/de/intevation/flys/artifacts/model/Calculation.java: | |
7626 Looped through CallMeta for i18n purposes. TODO: do i18n | |
7627 | |
7628 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
7629 Removed superfluous import. | |
7630 | |
7631 * src/main/java/de/intevation/flys/exports/AbstractExporter.java: | |
7632 Added some override annotations. | |
7633 | |
7634 2011-06-20 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
7635 | |
7636 * src/main/java/de/intevation/flys/artifacts/model/CalculationResult.java: | |
7637 New. Used to transport the data and the error report. | |
7638 | |
7639 * src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java, | |
7640 src/main/java/de/intevation/flys/artifacts/model/Calculation1.java, | |
7641 src/main/java/de/intevation/flys/artifacts/model/Calculation2.java, | |
7642 src/main/java/de/intevation/flys/artifacts/model/Calculation3.java, | |
7643 src/main/java/de/intevation/flys/artifacts/model/Calculation4.java, | |
7644 src/main/java/de/intevation/flys/artifacts/model/DurationCurveFacet.java, | |
7645 src/main/java/de/intevation/flys/artifacts/model/Calculation.java, | |
7646 src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java, | |
7647 src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java, | |
7648 src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java, | |
7649 src/main/java/de/intevation/flys/artifacts/states/DurationCurveState.java, | |
7650 src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java, | |
7651 src/main/java/de/intevation/flys/exports/WaterlevelExporter.java, | |
7652 src/main/java/de/intevation/flys/exports/DurationCurveExporter.java: | |
7653 Use the CalculationResult now. | |
7654 | |
7655 2011-06-18 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
7656 | |
7657 * src/main/java/de/intevation/flys/artifacts/model/Calculation1.java: | |
7658 Allow an explicit reference km to enable calculation "am Pegel". | |
7659 | |
7660 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
7661 If a calculation "am Pegel" is done, take start km of the | |
7662 calculation range and find the gauge in which range it is located. | |
7663 Take the station of the gauge as the reference km. If no gauge | |
7664 is found the calcualtion falls back to calculation "auf freier Strecke". | |
7665 | |
7666 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
7667 Replaced another inefficient attribute extraction via XPath | |
7668 with direct DOM access. | |
7669 | |
7670 2011-06-18 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
7671 | |
7672 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java, | |
7673 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java, | |
7674 src/main/java/de/intevation/flys/exports/WaterlevelExporter.java, | |
7675 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
7676 Removed dead code. | |
7677 | |
7678 2011-06-18 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
7679 | |
7680 * src/main/java/de/intevation/flys/artifacts/model/DataFacet.java | |
7681 src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java, | |
7682 src/main/java/de/intevation/flys/artifacts/model/DurationCurveFacet.java, | |
7683 src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java, | |
7684 src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java, | |
7685 src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java, | |
7686 src/main/java/de/intevation/flys/artifacts/states/DurationCurveState.java, | |
7687 src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java, | |
7688 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
7689 Only generate facets when needed. | |
7690 | |
7691 * src/main/java/de/intevation/flys/collections/OutputParser.java: | |
7692 Removed more XPath for simply accessing attributes of an element. | |
7693 | |
7694 * doc/conf/cache.xml: 200 elements in memory for "computed.values" are enough, | |
7695 LRU as eviction strategy is sufficent. | |
7696 | |
7697 * src/main/java/de/intevation/flys/collections/AttributeWriter.java, | |
7698 src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Use | |
7699 more 'standard' Java naming conventions. | |
7700 | |
7701 2011-06-17 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
7702 | |
7703 Merged in the facet-slt branch to bring in the 'facet' feature. | |
7704 | |
7705 * doc/conf/artifacts/winfo.xml: Fixed some facets. | |
7706 | |
7707 * doc/conf/cache.xml: Added a "computed.values" cache to store the | |
7708 results of the WINFO calculations. | |
7709 | |
7710 * src/main/java/de/intevation/flys/artifacts/model/ManagedFacet.java: | |
7711 Add support for index per facet to make them unique and identifiable. | |
7712 | |
7713 * src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java: | |
7714 New. Inteface to be used to access the facet names of the configuration. | |
7715 | |
7716 * src/main/java/de/intevation/flys/artifacts/model/DataFacet.java: New. | |
7717 A facet to be used to have raw access to the computed data of an artifact. | |
7718 Useful to export things like CSV and WST. | |
7719 | |
7720 * src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java: New. | |
7721 Specialized facet to access the water level data stored in WQKms arrays. | |
7722 | |
7723 * src/main/java/de/intevation/flys/artifacts/model/DurationCurveFacet.java: New. | |
7724 Specialized facet to access the duration data stored in WQDay data structures. | |
7725 | |
7726 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Facets are | |
7727 now generated dynamically from the current available ones stored with | |
7728 the artifact. | |
7729 | |
7730 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: Added | |
7731 methods computeAdvance() and computeFeed() called if artifact is fed or | |
7732 adance. This overwritten in subclasses to do the state depending calculations. | |
7733 | |
7734 * src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java, | |
7735 src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java, | |
7736 src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java, | |
7737 src/main/java/de/intevation/flys/artifacts/states/DurationCurveState.java, | |
7738 src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java: These | |
7739 states overwrites the computeAdvance() and computeFeed() methods to do | |
7740 the corresponding WINFO calculations. | |
7741 | |
7742 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Calls | |
7743 computeAdvance() and computeFeed() if artifact is fed or advanced. Centralized | |
7744 the caching mechanism. | |
7745 | |
7746 * src/main/java/de/intevation/flys/exports/AbstractExporter.java, | |
7747 src/main/java/de/intevation/flys/collections/AttributeParser.java, | |
7748 src/main/java/de/intevation/flys/collections/OutputParser.java, | |
7749 src/main/java/de/intevation/flys/collections/AttributeWriter.java, | |
7750 src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
7751 Adjusted the code to cope with the indices of the facets. Used | |
7752 DOM to access the attributes instead of XPath. Removed smaller bugs | |
7753 concerning position generation. | |
7754 | |
7755 * src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java, | |
7756 src/main/java/de/intevation/flys/exports/ChartGenerator.java, | |
7757 src/main/java/de/intevation/flys/exports/OutGenerator.java: | |
7758 Forwarded facet references. | |
7759 | |
7760 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java, | |
7761 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java, | |
7762 src/main/java/de/intevation/flys/exports/DurationCurveExporter.java, | |
7763 src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionExporter.java, | |
7764 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java, | |
7765 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java, | |
7766 src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java, | |
7767 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java, | |
7768 src/main/java/de/intevation/flys/exports/WaterlevelExporter.java: | |
7769 Uses facets to fetch data and generate output now. | |
7770 | |
7771 2011-06-17 Ingo Weinzierl <ingo@intevation.de> | |
7772 | |
7773 * doc/conf/artifacts/winfo.xml: Added a new parameter "wq_free" that | |
7774 determines the mode of calculation 1. If it is "false" (default), | |
7775 the calculation should be bound to a gauge. | |
7776 | |
7777 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Added a | |
7778 method to retrieve the information about the "wq_free" parameter. | |
7779 | |
7780 2011-06-17 Ingo Weinzierl <ingo@intevation.de> | |
7781 | |
7782 * doc/conf/artifacts/winfo.xml: Added a facet for corrected W in | |
7783 computation 4. | |
7784 | |
7785 2011-06-14 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
7786 | |
7787 * src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java: | |
7788 Got rid of namespace in result document. | |
7789 | |
7790 2011-06-14 Ingo Weinzierl <ingo@intevation.de> | |
7791 | |
7792 flys/issue77 (Diagramm: Beschriftung der Kurven bei Dauerlinien) | |
7793 | |
7794 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java: | |
7795 Give the curves in the chart names. | |
7796 | |
7797 * src/main/resources/messages.properties, | |
7798 src/main/resources/messages_de_DE.properties, | |
7799 src/main/resources/messages_en.properties, | |
7800 src/main/resources/messages_de.properties: Added titles for duration | |
7801 chart curves. | |
7802 | |
7803 2011-06-14 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
7804 | |
7805 * src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java: | |
7806 Write top 'Oberkante' and bottom 'Unterkante' to out going XML | |
7807 if they exist. | |
7808 | |
7809 2011-06-14 Ingo Weinzierl <ingo@intevation.de> | |
7810 | |
7811 * src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java: | |
7812 Write the min/max W/Q ranges as art:range elements into the DESCRIBE. | |
7813 | |
7814 2011-06-14 Ingo Weinzierl <ingo@intevation.de> | |
7815 | |
7816 * src/main/java/de/intevation/flys/artifacts/states/LocationSelect.java: | |
7817 This state that is used to retrieve locations will now write the | |
7818 kilometer range of the selected river into the DESCRIBE document. | |
7819 | |
7820 2011-06-10 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
7821 | |
7822 * src/main/java/de/intevation/flys/artifacts/model/Calculation1.java: | |
7823 New. Factored out version of "Wasserspiegellage" calculation. | |
7824 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java: | |
7825 | |
7826 Removed some dead code. | |
7827 | |
7828 * src/main/java/de/intevation/flys/artifacts/model/WQCKms.java: | |
7829 Added Override annotation and used quick access method. | |
7830 | |
7831 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
7832 Looped through error reporting use by interpolate. | |
7833 | |
7834 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
7835 Used factored out version of calculation 1. Removed dead code. | |
7836 | |
7837 2011-06-10 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
7838 | |
7839 * src/main/java/de/intevation/flys/artifacts/model/Calculation2.java: | |
7840 New. Factored out version of "Abflusskurve". | |
7841 | |
7842 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
7843 Loop errors through w/q at km interpolation. | |
7844 | |
7845 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
7846 Use factored out version of calculation 2. | |
7847 | |
7848 2011-06-10 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
7849 | |
7850 * src/main/java/de/intevation/flys/artifacts/model/Calculation3.java: | |
7851 New. Factored out version of "Dauerzahlen". | |
7852 | |
7853 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
7854 Loop errors through for q->w interpolations. | |
7855 | |
7856 * src/main/java/de/intevation/flys/artifacts/model/WQDay.java: | |
7857 Added constructor to directly create with calculated results. | |
7858 | |
7859 * src/main/java/de/intevation/flys/artifacts/model/Calculation.java: | |
7860 Added method to return the number of problems. | |
7861 | |
7862 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
7863 Use factored out version of calculation 3. | |
7864 | |
7865 2011-06-10 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
7866 | |
7867 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java, | |
7868 src/main/java/de/intevation/flys/artifacts/model/WQCKms.java, | |
7869 src/main/java/de/intevation/flys/artifacts/model/WQDay.java: | |
7870 Added methods to remove NaN values. | |
7871 | |
7872 2011-06-10 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
7873 | |
7874 * src/main/java/de/intevation/flys/artifacts/model/Calculation.java: | |
7875 New. Base class for calculations. Used to collect problems occuring | |
7876 during calculation. | |
7877 | |
7878 * src/main/java/de/intevation/flys/artifacts/model/Calculation4.java: | |
7879 Extends Calculation now. Looped through the problem reports to | |
7880 base class. | |
7881 | |
7882 * src/main/java/de/intevation/flys/artifacts/math/BackJumpCorrector.java: | |
7883 Looped through the problem reports. | |
7884 | |
7885 2011-06-09 Ingo Weinzierl <ingo@intevation.de> | |
7886 | |
7887 * src/main/java/de/intevation/flys/exports/InfoGeneratorHelper.java: | |
7888 Append the min/max range and a transformation matrix for each axis. | |
7889 | |
7890 * src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java: | |
7891 Instantiate the InfoGeneratorHelper with a XYChartGenerator instance. | |
7892 | |
7893 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: | |
7894 Changed the zoom operation. The zoom values defined in the chart request | |
7895 document are no longer absolute values for a specific axis. Those values | |
7896 represent percental values for the start and end point of x and y axes. | |
7897 E.g. a chart has three axes with the following ranges: | |
7898 - x axis : 0 - 10 | |
7899 - y axis 1: 20 - 40 | |
7900 - y axis 2: 40 - 90 | |
7901 - zoom values for x: 0.1 - 0.9 (10% - 90%) | |
7902 - zoom values for y: 0.2 - 0.8 (20% - 80%) | |
7903 The produced chart will have the following ranges: | |
7904 - x axis : 1 - 9 | |
7905 - y axis 1: 24 - 36 | |
7906 y axis 2: 50 - 80 | |
7907 | |
7908 2011-06-09 Ingo Weinzierl <ingo@intevation.de> | |
7909 | |
7910 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java, | |
7911 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java: | |
7912 Map datasets to axes correctly. | |
7913 | |
7914 2011-06-08 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
7915 | |
7916 * src/main/java/de/intevation/flys/artifacts/model/Calculation4.java: | |
7917 Determine the gauges by their station positions. This hopfully | |
7918 fixes the problem with wrong assigned gauges and invalid segments. | |
7919 | |
7920 2011-06-08 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
7921 | |
7922 * src/main/java/de/intevation/flys/artifacts/model/Segment.java, | |
7923 src/main/java/de/intevation/flys/artifacts/model/Calculation4.java: | |
7924 Added more debug output. | |
7925 | |
7926 2011-06-08 Ingo Weinzierl <ingo@intevation.de> | |
7927 | |
7928 flys/issue103 PART 1 (WINFO: Wasserspiegellagenberechnung / Layout-Inkonsistenz) | |
7929 | |
7930 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: | |
7931 Selected values are formatted with the current locale. The static part | |
7932 of the DESCRIBE document will now contain i18n formatted numbers. | |
7933 | |
7934 2011-06-08 Ingo Weinzierl <ingo@intevation.de> | |
7935 | |
7936 flys/issue93 (WINFO: Benennung der Berechnungsart korrigieren) | |
7937 | |
7938 * src/main/resources/messages_de_DE.properties, | |
7939 src/main/resources/messages_de.properties: Changed the name of | |
7940 calculation 4. | |
7941 | |
7942 2011-06-08 Ingo Weinzierl <ingo@intevation.de> | |
7943 | |
7944 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: | |
7945 Made the range determination more robust against NaN values. | |
7946 | |
7947 2011-06-08 Ingo Weinzierl <ingo@intevation.de> | |
7948 | |
7949 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
7950 The second y axis is set to position "1". It was set to "2" before, but | |
7951 in that case, there was no position "1". | |
7952 | |
7953 2011-06-08 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
7954 | |
7955 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java, | |
7956 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java, | |
7957 src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionExporter.java, | |
7958 src/main/java/de/intevation/flys/exports/DurationCurveExporter.java, | |
7959 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java, | |
7960 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java, | |
7961 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java: | |
7962 s@m³/s@m\\u00b3/s@ | |
7963 | |
7964 2011-06-08 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
7965 | |
7966 * src/main/java/de/intevation/flys/exports/InfoGeneratorHelper.java: | |
7967 Only generate an axis element if a axis really exists. | |
7968 | |
7969 2011-06-07 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
7970 | |
7971 * src/main/java/de/intevation/flys/artifacts/math/BackJumpCorrector.java: | |
7972 Simpified array swapping. | |
7973 | |
7974 2011-06-07 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
7975 | |
7976 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java, | |
7977 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
7978 Use java.util.List instead of java.util.Vector | |
7979 | |
7980 * src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java, | |
7981 src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java, | |
7982 src/main/java/de/intevation/flys/artifacts/states/DurationCurveState.java, | |
7983 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
7984 Removed superfluous imports. | |
7985 | |
7986 2011-06-07 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
7987 | |
7988 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: | |
7989 createItem() is not abstract any longer to avoid code repetitionin sub classes. | |
7990 | |
7991 * src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java, | |
7992 src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java, | |
7993 src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java, | |
7994 src/main/java/de/intevation/flys/artifacts/states/WQSelect.java, | |
7995 src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java, | |
7996 src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java, | |
7997 src/main/java/de/intevation/flys/artifacts/states/DurationCurveState.java, | |
7998 src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java: | |
7999 Removed duplicated code, inserted default constructors and Override annotations. | |
8000 | |
8001 2011-06-07 Ingo Weinzierl <ingo@intevation.de> | |
8002 | |
8003 * src/main/java/de/intevation/flys/exports/InfoGeneratorHelper.java: | |
8004 Append axes range information to the info document. | |
8005 | |
8006 2011-06-07 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
8007 | |
8008 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
8009 If feed() fails do not store invalid values in database. | |
8010 | |
8011 2011-06-06 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
8012 | |
8013 * src/main/java/de/intevation/flys/exports/InfoGeneratorHelper.java: | |
8014 Removed asymmetrical "- 1" from width calculation. | |
8015 | |
8016 2011-06-05 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
8017 | |
8018 * src/main/java/de/intevation/flys/artifacts/model/Calculation4.java: | |
8019 Fixed problem when more than one value per segment are given. | |
8020 | |
8021 2011-06-05 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
8022 | |
8023 Refactored version of "Berechnung 4" | |
8024 | |
8025 * src/main/java/de/intevation/flys/artifacts/model/Segment.java: | |
8026 Added instance fields for a reference point (= location of gauge) | |
8027 and backup of values (needed for naming). | |
8028 | |
8029 * src/main/java/de/intevation/flys/artifacts/model/WQCKms.java: | |
8030 Added a constructor to be created from a WQKms. This is helpful | |
8031 if a WQKms is replaced by a back jump correction. | |
8032 | |
8033 * src/main/java/de/intevation/flys/artifacts/model/Calculation4.java: | |
8034 New. Outfactored version of "W bei ungleichmaessigen Abflusslaengsschnitt". | |
8035 Much cleaner now and it should have a better handling of the corner | |
8036 cases. | |
8037 | |
8038 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
8039 Removed the linear interpolation stuff. It is now in Linear. Removed | |
8040 the LinearRemap interpolation method because it is not needed any | |
8041 longer. Added a method to interpolate a given km with a given | |
8042 function. | |
8043 | |
8044 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
8045 Removed the old calc 4 and used the new one. | |
8046 | |
8047 * src/main/java/de/intevation/flys/artifacts/math/LinearRemap.java: | |
8048 Deleted. Not needed any longer. | |
8049 | |
8050 * src/main/java/de/intevation/flys/artifacts/math/Function.java: | |
8051 New. Interface for a uni-variate real function. | |
8052 | |
8053 * src/main/java/de/intevation/flys/artifacts/math/Identity.java: | |
8054 New. Implements Function with f(x) = x | |
8055 | |
8056 * src/main/java/de/intevation/flys/artifacts/math/Linear.java: | |
8057 New. Implements Function with f(x) = m*x + b | |
8058 | |
8059 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
8060 Factored some stuff out to DoubleUtil. Removed some dead code. | |
8061 Does some rounding correct. | |
8062 | |
8063 * src/main/java/de/intevation/flys/utils/DoubleUtil.java: New. | |
8064 Centralized utils surrounding common double operations. | |
8065 | |
8066 * src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java: | |
8067 Removed superfluous imports. | |
8068 | |
8069 2011-06-03 Ingo Weinzierl <ingo@intevation.de> | |
8070 | |
8071 flys/issue90(Diagramm: Trennung der Diagrammfläche und Achsen aufheben) | |
8072 | |
8073 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: | |
8074 Determine the ranges of x and y axes. If no zoom ranges are given, we | |
8075 will determine the min and max xy values in the dataset manually, | |
8076 because JFreeCharts adds a margin to the left and right of the data | |
8077 area automatically.. | |
8078 | |
8079 2011-06-03 Ingo Weinzierl <ingo@intevation.de> | |
8080 | |
8081 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Moved | |
8082 the chart creation into an own public method. This lets the | |
8083 ChartInfoGenerator create charts without duplicating code. | |
8084 | |
8085 * src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java: | |
8086 Limited the possible class for generators to XYChartGenerator. This | |
8087 enables the ChartInfoGenerator class to do the whole chart creation | |
8088 stuff itself without outsourcing the code to concrete subclasses. | |
8089 | |
8090 * src/main/java/de/intevation/flys/exports/LongitudinalSectionInfoGenerator.java, | |
8091 src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionInfoGenerator.java, | |
8092 src/main/java/de/intevation/flys/exports/DurationCurveInfoGenerator.java, | |
8093 src/main/java/de/intevation/flys/exports/DischargeCurveInfoGenerator.java, | |
8094 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveInfoGenerator.java: | |
8095 Removed the code to generate charts - this is done in ChartInfoGenerator | |
8096 now. | |
8097 | |
8098 2011-06-03 Ingo Weinzierl <ingo@intevation.de> | |
8099 | |
8100 * src/main/java/de/intevation/flys/exports/ChartGenerator.java: Added new | |
8101 methods to extract the x and y ranges from request document. | |
8102 | |
8103 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Added a | |
8104 method that zooms the chart to the specified x and y ranges. | |
8105 | |
8106 2011-06-02 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
8107 | |
8108 * doc/conf/conf.xml: Set collection ttl to 6 hours. | |
8109 | |
8110 2011-06-01 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
8111 | |
8112 * src/main/java/de/intevation/flys/artifacts/model/Segment.java: | |
8113 New. Parse segments only once. | |
8114 | |
8115 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
8116 Expose new parser to artifacts. TODO: Use it. | |
8117 | |
8118 2011-06-01 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
8119 | |
8120 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
8121 Changed interpolation methods to interpolate to an arbitrary position | |
8122 in a given double result array as a preparation for segment independent | |
8123 calculation. | |
8124 | |
8125 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
8126 Removed superfluous import. | |
8127 | |
8128 * src/main/java/de/intevation/flys/artifacts/math/BackJumpCorrector.java: | |
8129 Fixed cause for crashing: Run back too far in some siutations. | |
8130 | |
8131 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
8132 Refactored range code a bit. Needs more work. | |
8133 | |
8134 2011-06-01 Ingo Weinzierl <ingo@intevation.de> | |
8135 | |
8136 * src/main/java/de/intevation/flys/exports/InfoGeneratorHelper.java: | |
8137 Interchange the lower and upper x value of the chart if the x-axis is | |
8138 inverted before the matrix values are computed. Now, the matrix is able | |
8139 to work with charts that have an inverted x-axis. | |
8140 | |
8141 2011-06-01 Ingo Weinzierl <ingo@intevation.de> | |
8142 | |
8143 * src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java: New. A | |
8144 chart info generator generates a document that contains meta information | |
8145 for a specific chart. Concrete instances of this abstract class need to | |
8146 instantiate concrete ChartGenerators and dispatch nearly all methods of | |
8147 an OutGenerator (init(), doOut(), setMaster()) to this instance. The | |
8148 generate() method is implemented in the ChartInfoGenerator itself. It | |
8149 creates a chart with help of the ChartGenerator instance and builds a | |
8150 document that contains meta information of this chart. | |
8151 | |
8152 * src/main/java/de/intevation/flys/exports/InfoGeneratorHelper.java: New. | |
8153 This helper is used to create the chart info document. At the moment, | |
8154 the only information that is included in this document is a | |
8155 transformation matrix to transform image coordinates into chart | |
8156 coordinates. | |
8157 | |
8158 NOTE: The transformation matrix creation needs some work to support | |
8159 charts with inverted X axis. | |
8160 | |
8161 * src/main/java/de/intevation/flys/exports/LongitudinalSectionInfoGenerator.java, | |
8162 src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionInfoGenerator.java, | |
8163 src/main/java/de/intevation/flys/exports/DurationCurveInfoGenerator.java, | |
8164 src/main/java/de/intevation/flys/exports/DischargeCurveInfoGenerator.java, | |
8165 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveInfoGenerator.java: | |
8166 Concrete instances of ChartInfoGenerator that create the chart info for | |
8167 the currently supported chart types. | |
8168 | |
8169 * doc/conf/conf.xml: Registered new OutGenerators. | |
8170 | |
8171 2011-05-31 Ingo Weinzierl <ingo@intevation.de> | |
8172 | |
8173 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
8174 Added support for the 'type' paramter of the collection's out() | |
8175 operation. | |
8176 | |
8177 2011-05-31 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
8178 | |
8179 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java, | |
8180 src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
8181 Use an explicit reference km for interpolation now. | |
8182 | |
8183 2011-05-30 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
8184 | |
8185 * doc/conf/cache.xml: Introduced cache to store the distance info per river. | |
8186 This boosts performance in following ab setup from 3.61 to 39.91 requests/secs. | |
8187 | |
8188 $ ab -c 20 -n 1000 -p distances.xml http://127.0.0.1:8181/service/distanceinfo | |
8189 | |
8190 $ cat distances.xml | |
8191 <?xml version="1.0" encoding="UTF-8"?> | |
8192 <art:river xmlns:art="http://www.intevation.de/2009/artifacts">Elbe</art:river> | |
8193 | |
8194 * src/main/java/de/intevation/flys/artifacts/model/AnnotationsFactory.java: Added | |
8195 an iterator result to avoid construction expensive interim lists. | |
8196 | |
8197 * src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java: Use | |
8198 the cache if configured. | |
8199 | |
8200 2011-05-30 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
8201 | |
8202 flys/issue82 | |
8203 | |
8204 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
8205 Only successful interpolations are named. | |
8206 | |
8207 2011-05-27 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
8208 | |
8209 * src/main/java/de/intevation/flys/artifacts/math/BackJumpCorrector.java: | |
8210 Make it work independent of river flow direction. | |
8211 | |
8212 * src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java: | |
8213 Fixed bug in ordering segments | |
8214 | |
8215 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Re-enabled | |
8216 calculation of the back jump correction. Fixed more flow direction issues. | |
8217 | |
8218 2011-05-27 Ingo Weinzierl <ingo@intevation.de> | |
8219 | |
8220 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
8221 Removed call of XMLDebug class which is not in the version control. | |
8222 | |
8223 2011-05-27 Ingo Weinzierl <ingo@intevation.de> | |
8224 | |
8225 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
8226 Moved the code part that skips themes right after the part that sets the | |
8227 master artifact for the OutGenerator. We need this master artifact to | |
8228 display empty charts - master artifact is used to create titles and | |
8229 axes. | |
8230 | |
8231 2011-05-27 Ingo Weinzierl <ingo@intevation.de> | |
8232 | |
8233 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
8234 Deactivated themes are not put into the chart. | |
8235 | |
8236 2011-05-27 Ingo Weinzierl <ingo@intevation.de> | |
8237 | |
8238 * src/main/java/de/intevation/flys/collections/AttributeParser.java: | |
8239 Repaired broken XPath expressions to find the output modes in an | |
8240 attribute document of a collection. | |
8241 | |
8242 * src/main/java/de/intevation/flys/collections/AttributeWriter.java: This | |
8243 writer will now create a document that has a root node art:attribute. | |
8244 Before these changes, the document's root node was art:outputs which is | |
8245 part of the attribute document but not the right root node. | |
8246 | |
8247 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
8248 Adapted some XPath expressions and corrected the the process to create | |
8249 attribute documents. | |
8250 | |
8251 2011-05-26 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
8252 | |
8253 * src/main/java/de/intevation/flys/artifacts/math/LinearRemap.java: | |
8254 Made it work independent of from/to order. | |
8255 | |
8256 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
8257 Added method to extract the ranges correctly from data. | |
8258 | |
8259 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
8260 Use the correct ranges. Comment out backjump detection temporarily. | |
8261 | |
8262 2011-05-26 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
8263 | |
8264 * src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java: | |
8265 Generate fields for w/q input depend on flow direction. | |
8266 | |
8267 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
8268 Moved km up question out of loop. | |
8269 2011-05-26 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
8270 | |
8271 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
8272 Take the flow direction into account. | |
8273 | |
8274 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: | |
8275 Prevent NPE. | |
8276 | |
8277 * src/main/java/de/intevation/flys/artifacts/states/RangeState.java: | |
8278 Allow to be 'from' greater than 'to' in ranges. | |
8279 | |
8280 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Negate | |
8281 step if 'from' is greater than 'to'. | |
8282 | |
8283 2011-05-26 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
8284 | |
8285 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
8286 Round exploded values to a precision of 1e-6. | |
8287 | |
8288 2011-05-25 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
8289 | |
8290 Qs are now stored in ranges for each column. | |
8291 | |
8292 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory2.java: | |
8293 Deleted. | |
8294 | |
8295 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory.java: | |
8296 Was WstValueTableFactory2. | |
8297 | |
8298 * src/main/java/de/intevation/flys/artifacts/model/QRangeTree.java: Fixed | |
8299 node linking bug. Removed dead code. | |
8300 | |
8301 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
8302 Q values are now stored in range trees by each column. The qs of the rows | |
8303 are removed and the calculations are adjusted. Removed dead code. | |
8304 | |
8305 2011-05-24 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
8306 | |
8307 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory.java: | |
8308 Moved cache name to WstValueTableCacheKey. Do not cache null references. | |
8309 | |
8310 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableCacheKey.java: | |
8311 Moved cache name into this class. | |
8312 | |
8313 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
8314 Store QRangeTree for each column of value table. TODO: Use them! | |
8315 | |
8316 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory2.java: | |
8317 Intended as a replacement for WstValueTableFactory, but is work in progress. | |
8318 | |
8319 * src/main/java/de/intevation/flys/artifacts/model/QRangeTree.java: Fixed | |
8320 index errors and added methods to dump as graphviz graph. | |
8321 | |
8322 2011-05-24 Ingo Weinzierl <ingo@intevation.de> | |
8323 | |
8324 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java: | |
8325 Improved the validation of WQ values. | |
8326 | |
8327 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Use the | |
8328 correct input data object to determine the selected WQ mode (range or | |
8329 single input). | |
8330 | |
8331 2011-05-24 Ingo Weinzierl <ingo@intevation.de> | |
8332 | |
8333 ISSUE-40 (part I/II) | |
8334 | |
8335 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: | |
8336 Write default values (values already selected by the user before) of the | |
8337 input data items into DESCRIBE. | |
8338 | |
8339 2011-05-24 Ingo Weinzierl <ingo@intevation.de> | |
8340 | |
8341 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java: | |
8342 Removed needless imports. | |
8343 | |
8344 2011-05-24 Ingo Weinzierl <ingo@intevation.de> | |
8345 | |
8346 ISSUE-85 (part III/III) | |
8347 | |
8348 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java: | |
8349 Added a static function that returns the kilometer values (double[]) | |
8350 from locations input (whitespace separated double values). | |
8351 | |
8352 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Adapted | |
8353 the getKms() method. It will now return a computed array of kilometers | |
8354 if we had inserted a range, or it will return the inserted kilometers if | |
8355 we had inserted locations. | |
8356 | |
8357 2011-05-24 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
8358 | |
8359 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory.java: | |
8360 Moved cache key to separate class. | |
8361 | |
8362 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableCacheKey.java: | |
8363 New. The new cache key class. | |
8364 | |
8365 2011-05-24 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
8366 | |
8367 * src/main/java/de/intevation/flys/artifacts/model/QRangeTree.java: | |
8368 Model to store the q values of a WST column efficiently. First | |
8369 building block not to store the q values directly aside the | |
8370 w values. | |
8371 | |
8372 2011-05-24 Ingo Weinzierl <ingo@intevation.de> | |
8373 | |
8374 ISSUE-85 (part I/III) | |
8375 | |
8376 * doc/conf/artifacts/winfo.xml: Added two further field 'ld_mode' and | |
8377 'ld_locations' to the range/locations state to track the selected mode | |
8378 and locations. | |
8379 | |
8380 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java: | |
8381 Added methods to validate the user inserted locations. | |
8382 | |
8383 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Added a | |
8384 method to determine of a range or locations have been inserted. | |
8385 | |
8386 2011-05-23 Ingo Weinzierl <ingo@intevation.de> | |
8387 | |
8388 ISSUE-62 (part II/II) | |
8389 | |
8390 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Dump the | |
8391 artifacts state/data in DEBUG mode in describe(). | |
8392 | |
8393 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java, | |
8394 src/main/java/de/intevation/flys/artifacts/states/DefaultState.java, | |
8395 src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java, | |
8396 src/main/java/de/intevation/flys/artifacts/states/WQSelect.java, | |
8397 src/main/java/de/intevation/flys/artifacts/states/LocationSelect.java, | |
8398 src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java, | |
8399 src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java: | |
8400 States will no longer store data. The only reason for states storing | |
8401 StateData is to know about the necessary data for this state. If a State | |
8402 needs to access the user input for a specific StateData object, it needs | |
8403 to query the FLYSArtifact which stores the data. | |
8404 | |
8405 2011-05-23 Ingo Weinzierl <ingo@intevation.de> | |
8406 | |
8407 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Added a | |
8408 method to dump the artifacts state(s)/data. | |
8409 | |
8410 2011-05-23 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
8411 | |
8412 flys/issue84 | |
8413 | |
8414 * src/main/java/de/intevation/flys/artifacts/model/WstFactory.java: | |
8415 Forget to select wst kind. | |
8416 | |
8417 2011-05-20 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
8418 | |
8419 flys/issue81 | |
8420 | |
8421 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
8422 weights for kms were swapped. | |
8423 | |
8424 2011-05-20 Ingo Weinzierl <ingo@intevation.de> | |
8425 | |
8426 Tagged RELEASE 2.3.1 | |
8427 | |
8428 2011-05-20 Ingo Weinzierl <ingo@intevation.de> | |
8429 | |
8430 * Changes: Prepared changes for the upcoming release. | |
8431 | |
8432 2011-05-20 Hans Plum <hans@intevation.de> | |
8433 | |
8434 * NEWS: | |
8435 Hint to Release 2.3.1. For further information look into module | |
8436 flys-client/NEWS | |
8437 | |
8438 2011-05-19 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
8439 | |
8440 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java (getExplodedValues): | |
8441 Increment kms array size by one to take the end of range, too. | |
8442 | |
8443 2011-05-19 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
8444 | |
8445 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory.java: | |
8446 Sort by rows (should not be necessary). | |
8447 | |
8448 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
8449 Use unsharp km lookup (epsilon = 0.0001). This fixes the problem | |
8450 that some kms were not found. | |
8451 | |
8452 2011-05-19 Ingo Weinzierl <ingo@intevation.de> | |
8453 | |
8454 flys/issue66 | |
8455 | |
8456 * src/main/resources/messages_en.properties: Fixed broken template. | |
8457 | |
8458 2011-05-19 Ingo Weinzierl <ingo@intevation.de> | |
8459 | |
8460 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
8461 Set the name of the computed discharge curve objects. | |
8462 | |
8463 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java: | |
8464 The curves of this chart will now have names that consist of the word | |
8465 'Discharge Curve', the river name and the kilometer that has been used | |
8466 for the computation. | |
8467 | |
8468 * src/main/resources/messages.properties, | |
8469 src/main/resources/messages_de_DE.properties, | |
8470 src/main/resources/messages_en.properties, | |
8471 src/main/resources/messages_de.properties: Added i18n strings for the | |
8472 computed discharge curves. | |
8473 | |
8474 2011-05-19 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
8475 | |
8476 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
8477 Added convenience method isQ() to determine if we are | |
8478 doing Q calculations. | |
8479 | |
8480 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
8481 Reintroduced titles for the "W for unausgeglichene Abfluesse". | |
8482 | |
8483 2011-05-19 Ingo Weinzierl <ingo@intevation.de> | |
8484 | |
8485 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java: | |
8486 The curves will now have names that consist of the gauge name and its | |
8487 valid time range. | |
8488 | |
8489 * src/main/resources/messages.properties, | |
8490 src/main/resources/messages_de_DE.properties, | |
8491 src/main/resources/messages_en.properties, | |
8492 src/main/resources/messages_de.properties: Added i18n strings for the | |
8493 discharge curves. | |
8494 | |
8495 2011-05-19 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
8496 | |
8497 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
8498 Removed dead code. | |
8499 | |
8500 2011-05-19 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
8501 | |
8502 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
8503 Use the correct method to generate kms. | |
8504 | |
8505 * src/main/java/de/intevation/flys/artifacts/math/LinearRemap.java: | |
8506 Added some logging to test the map in debug mode. | |
8507 | |
8508 2011-05-18 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
8509 | |
8510 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
8511 Made getExplodedValues static. | |
8512 | |
8513 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
8514 Use new logic to calculate "W für ungleichwertige Abfluesse". | |
8515 Not working, yet. | |
8516 | |
8517 * ChangeLog: Fixed former entry. | |
8518 | |
8519 2011-05-18 Ingo Weinzierl <ingo@intevation.de> | |
8520 | |
8521 * doc/conf/artifacts/winfo.xml: Registered the WST export for discharge | |
8522 longitudinal sections. | |
8523 | |
8524 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Set the | |
8525 names of the discharge longitudinal section computation results. | |
8526 | |
8527 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java: | |
8528 The W/Q curves in the chart will now have names. | |
8529 | |
8530 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java: | |
8531 The WstWriter is filled with column names in an own method. So, we are | |
8532 able to override this process in subclasses. | |
8533 | |
8534 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionExporter.java: | |
8535 Adapted the column names for the WST export. | |
8536 | |
8537 2011-05-18 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
8538 | |
8539 Work on flys/issue69 | |
8540 | |
8541 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
8542 Use new logic to calculate "Wasserstand/Wasserspiegellage". | |
8543 Compared to desktop FLYS are the results are structurally right | |
8544 but a bit off in the positions after the decimal points. | |
8545 Maybe a result of the interpolation? Need to debug this. | |
8546 | |
8547 2011-05-18 Ingo Weinzierl <ingo@intevation.de> | |
8548 | |
8549 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
8550 W and Q curves will now have names based on the defined W or Q values | |
8551 for the waterlevel computation. | |
8552 | |
8553 2011-05-18 Ingo Weinzierl <ingo@intevation.de> | |
8554 | |
8555 * src/main/java/de/intevation/flys/artifacts/model/NamedObject.java: | |
8556 New. This object is used to give objects a name. | |
8557 | |
8558 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java: Inherit | |
8559 from NamedObject now. Because we need to display names for those objects | |
8560 in different places. | |
8561 | |
8562 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: The WQKms | |
8563 objects returned by a waterlevel computation will now have names. | |
8564 | |
8565 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java: | |
8566 Insert the column names for the WSTs into the WstWriter. | |
8567 | |
8568 * src/main/java/de/intevation/flys/exports/WstWriter.java: The column | |
8569 names are written into the head of the WSTs now. | |
8570 | |
8571 2011-05-17 Ingo Weinzierl <ingo@intevation.de> | |
8572 | |
8573 * src/main/java/de/intevation/flys/artifacts/model/WstLine.java: New. This | |
8574 class is used to store the W/Q values of a specific kilometer of a WST. | |
8575 | |
8576 * src/main/java/de/intevation/flys/exports/WstWriter.java: New. A writer | |
8577 that creates WSTs. | |
8578 | |
8579 TODO: The header of the WSTs is not finished. The Q descriptions are | |
8580 missing. | |
8581 | |
8582 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java: | |
8583 Enabled WST exports. | |
8584 | |
8585 * doc/conf/artifacts/winfo.xml: Registered the WST export for waterlevels. | |
8586 | |
8587 2011-05-17 Ingo Weinzierl <ingo@intevation.de> | |
8588 | |
8589 * src/main/java/de/intevation/flys/utils/Formatter.java: New. This class | |
8590 supports functions to retrieve formatters for specific types of data | |
8591 used in FLYS. | |
8592 | |
8593 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java, | |
8594 src/main/java/de/intevation/flys/exports/DurationCurveExporter.java, | |
8595 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java, | |
8596 src/main/java/de/intevation/flys/exports/AbstractExporter.java: | |
8597 Removed the formatter declaration - the whole formatter stuff is done in | |
8598 Formatter now. | |
8599 | |
8600 2011-05-17 Ingo Weinzierl <ingo@intevation.de> | |
8601 | |
8602 ISSUE-72 | |
8603 | |
8604 * src/main/java/de/intevation/flys/artifacts/services/MainValuesService.java: | |
8605 Repaired broken XPath expressions to extract start and end kilometer. | |
8606 | |
8607 2011-05-17 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
8608 | |
8609 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
8610 Removed the Hibernate loading stuff. | |
8611 | |
8612 * src/main/java/de/intevation/flys/artifacts/model/WstValueTableFactory.java: | |
8613 New. The Hibernate loading. | |
8614 | |
8615 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
8616 Use the WstValueTableFactory for loading now. | |
8617 | |
8618 2011-05-17 Ingo Weinzierl <ingo@intevation.de> | |
8619 | |
8620 Tagged RELEASE 0.1 aka Version 2.3.0 | |
8621 | |
8622 2011-05-16 Hans Plum <hans@intevation.de> | |
8623 | |
8624 * NEWS: | |
8625 New. Giving some user specific perspective to new functionality and | |
8626 changes. This file references releases dates only; details can be find | |
8627 in the client module at flys-client. | |
8628 | |
8629 2011-05-10 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
8630 | |
8631 First step to calculate "W fuer ungleichwertige Abfluesse" correctly. | |
8632 flys/issue55 | |
8633 | |
8634 * src/main/java/de/intevation/flys/artifacts/math/LinearRemap.java: | |
8635 New. Remaps "gleichwertige" Q values to the corresponding | |
8636 "ungleichwertige" Q values depending on km. | |
8637 | |
8638 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
8639 Remap the Q values "ungleichwertig" depending on the | |
8640 "gleichwertige" ones. | |
8641 | |
8642 2011-05-10 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
8643 | |
8644 First step to fix flys/issue69 | |
8645 | |
8646 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
8647 New code path to implement the calculation of "Wasserstand/Wasspiegellage" | |
8648 correctly. TODO 1: Use new path in UI. TODO 2: Remove unused old code. | |
8649 | |
8650 2011-05-13 Ingo Weinzierl <ingo@intevation.de> | |
8651 | |
8652 * Changes: Prepared Changes for the upcoming release 2.3 - see Changes | |
8653 file to get to know about the changes of the version numbers. | |
8654 | |
8655 2011-05-13 Ingo Weinzierl <ingo@intevation.de> | |
8656 | |
8657 ISSUE-37 | |
8658 | |
8659 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java: This | |
8660 state would be happy if there is a UI provider called "river_panel". | |
8661 | |
8662 2011-05-11 Ingo Weinzierl <ingo@intevation.de> | |
8663 | |
8664 * src/main/java/de/intevation/flys/exports/ChartGenerator.java: Added new | |
8665 methods that return the requested chart size as integer array [width, | |
8666 height]. The requested size is read from the incomding request document. | |
8667 | |
8668 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: The size | |
8669 of a chart is no longer static. The requested size is fetched using | |
8670 ChartGenerator.getSize(). | |
8671 | |
8672 2011-05-11 Ingo Weinzierl <ingo@intevation.de> | |
8673 | |
8674 ISSUE-52 | |
8675 | |
8676 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
8677 The X-Axis of such a chart is inverted, if the head of the river is not | |
8678 at kilometer 0. This type of charts always have the head of the river at | |
8679 the left side. | |
8680 | |
8681 2011-05-10 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
8682 | |
8683 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java: | |
8684 Make incoming XML symmetric to DistanceInfoService. | |
8685 | |
8686 2011-05-10 Ingo Weinzierl <ingo@intevation.de> | |
8687 | |
8688 ISSUE-47 | |
8689 | |
8690 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java, | |
8691 src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java, | |
8692 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
8693 Adjusted temporarily the color of the W, Q and corrected W curves to | |
8694 distinguish each other. | |
8695 | |
8696 2011-05-10 Ingo Weinzierl <ingo@intevation.de> | |
8697 | |
8698 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: | |
8699 Adjusted the plot of xy charts - the gridlines are displayed now. | |
8700 | |
8701 2011-05-10 Ingo Weinzierl <ingo@intevation.de> | |
8702 | |
8703 ISSUE-53 | |
8704 | |
8705 * src/main/java/de/intevation/flys/artifacts/resources/Resources.java: | |
8706 Added a method that returns the preferred locale based on the available | |
8707 locales of the server and the desired locales of the request (CallMeta). | |
8708 | |
8709 * src/main/java/de/intevation/flys/exports/AbstractExporter.java: Added a | |
8710 method that creates a number formatter with minimum and maximum digits. | |
8711 | |
8712 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionExporter.java, | |
8713 src/main/java/de/intevation/flys/exports/WaterlevelExporter.java, | |
8714 src/main/java/de/intevation/flys/exports/DurationCurveExporter.java, | |
8715 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java: | |
8716 Formatted the number values of the CSV exports. | |
8717 | |
8718 2011-05-10 Ingo Weinzierl <ingo@intevation.de> | |
8719 | |
8720 * src/main/java/de/intevation/flys/artifacts/model/RangeWithValues.java: | |
8721 New. A data structure that enables us to save a data triple: a range | |
8722 that consist of lower and upper double value and a set of values that | |
8723 belong to this range. | |
8724 | |
8725 * src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java: | |
8726 Implemented the validation of W/Q values. | |
8727 | |
8728 2011-05-10 Ingo Weinzierl <ingo@intevation.de> | |
8729 | |
8730 * src/main/java/de/intevation/flys/exports/AbstractExporter.java: New | |
8731 method to retrieve i18n messages based on keys. | |
8732 | |
8733 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionExporter.java, | |
8734 src/main/java/de/intevation/flys/exports/WaterlevelExporter.java, | |
8735 src/main/java/de/intevation/flys/exports/DurationCurveExporter.java, | |
8736 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java: | |
8737 Added headers for CSV exports. | |
8738 | |
8739 * src/main/resources/messages.properties, | |
8740 src/main/resources/messages_de_DE.properties, | |
8741 src/main/resources/messages_en.properties, | |
8742 src/main/resources/messages_de.properties: Added new i18n strings for | |
8743 CSV headers. | |
8744 | |
8745 2011-05-10 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
8746 | |
8747 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java: | |
8748 Fetches river name from incoming XML document. If no river is given all | |
8749 infos about all rivers are listed. | |
8750 | |
8751 * src/main/resources/metadata/template.xml: Templates honors the 'river' | |
8752 parameter. | |
8753 | |
8754 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java: | |
8755 Extended to pass parameters to the templating. Added support for | |
8756 type conversion. | |
8757 | |
8758 * src/main/java/de/intevation/flys/artifacts/services/meta/StackFrames.java: | |
8759 Take parameters as an initial stack frame. | |
8760 | |
8761 * src/main/java/de/intevation/flys/artifacts/services/meta/TypeConverter.java: | |
8762 New. Converts types off stacked variables. | |
8763 | |
8764 2011-05-10 Ingo Weinzierl <ingo@intevation.de> | |
8765 | |
8766 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Added a | |
8767 method to add subtitles to charts. The implementation in this class does | |
8768 not add any subtitle. Concrete subclasses may override this method to | |
8769 add some. | |
8770 | |
8771 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java, | |
8772 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java, | |
8773 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java: | |
8774 Add subtitles to charts. | |
8775 | |
8776 * src/main/resources/messages.properties, | |
8777 src/main/resources/messages_de_DE.properties, | |
8778 src/main/resources/messages_en.properties, | |
8779 src/main/resources/messages_de.properties: Added i18n templates for | |
8780 compound messages (chart subtitles). | |
8781 | |
8782 2011-05-10 Ingo Weinzierl <ingo@intevation.de> | |
8783 | |
8784 * src/main/java/de/intevation/flys/artifacts/resources/Resources.java: | |
8785 Added new methods to retrieve translated compound messages. | |
8786 | |
8787 2011-05-10 Ingo Weinzierl <ingo@intevation.de> | |
8788 | |
8789 * src/main/java/de/intevation/flys/exports/OutGenerator.java: Added a | |
8790 method to set the master artifact that should be used for some special | |
8791 operations. | |
8792 | |
8793 * src/main/java/de/intevation/flys/exports/ChartGenerator.java, | |
8794 src/main/java/de/intevation/flys/exports/AbstractExporter.java: | |
8795 Implement the setMasterArtifact() method of the interface. | |
8796 | |
8797 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
8798 Call OutGenerator.setMasterArtifact(). | |
8799 | |
8800 NOTE: The determination of the master artifact needs to be implemented! | |
8801 | |
8802 2011-05-10 Ingo Weinzierl <ingo@intevation.de> | |
8803 | |
8804 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Removed | |
8805 hard coded dev code that defined a WQ mode. | |
8806 | |
8807 2011-05-09 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
8808 | |
8809 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java: | |
8810 Stripped ugly extra whitespace from output introduced by | |
8811 templating. | |
8812 | |
8813 2011-05-09 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
8814 | |
8815 * src/main/resources/metadata/template.xml: Added forgotten | |
8816 columns of fixation WSTs. | |
8817 | |
8818 2011-05-09 Ingo Weinzierl <ingo@intevation.de> | |
8819 | |
8820 * src/main/java/de/intevation/flys/exports/ChartGenerator.java: Added a | |
8821 method to retrieve i18n strings. | |
8822 | |
8823 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java, | |
8824 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java, | |
8825 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java, | |
8826 src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java: | |
8827 Enabled i18n support for chart title and axes labels. | |
8828 | |
8829 * src/main/resources/messages.properties, | |
8830 src/main/resources/messages_de_DE.properties, | |
8831 src/main/resources/messages_en.properties, | |
8832 src/main/resources/messages_de.properties: Added i18n strings for the | |
8833 chart types above. | |
8834 | |
8835 2011-05-09 Ingo Weinzierl <ingo@intevation.de> | |
8836 | |
8837 * src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionExporter.java: | |
8838 New. This OutGenerator exports the data of a discharge longitudinal | |
8839 section computation. | |
8840 | |
8841 * doc/conf/conf.xml: Added the DischargeLongitudinalSectionExporter. | |
8842 | |
8843 * doc/conf/artifacts/winfo.xml: Added the exporter with CSV facet to the | |
8844 discharge_longitudinal_section state. | |
8845 | |
8846 2011-05-07 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
8847 | |
8848 * src/main/java/de/intevation/flys/artifacts/math/BackJumpCorrector.java: | |
8849 Added code to make back jump correction work with both | |
8850 potential flow directions. | |
8851 | |
8852 2011-05-06 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
8853 | |
8854 * src/main/resources/metadata/template.xml: | |
8855 Added data cage configuration for 'Längsschnitt'. | |
8856 | |
8857 2011-05-06 Ingo Weinzierl <ingo@intevation.de> | |
8858 | |
8859 * doc/conf/artifacts/winfo.xml: Added the missing Q facet for discharge | |
8860 longitudinal sections. | |
8861 | |
8862 * src/main/java/de/intevation/flys/artifacts/model/WQCKms.java: New. A | |
8863 derived dataset to store W/Q values with corrected Ws for a kilometer | |
8864 range. | |
8865 | |
8866 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java: Some new | |
8867 methods and a new constructor to initialize this data object with a | |
8868 predefined set of values. | |
8869 | |
8870 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: New | |
8871 methods to retrieve the W/Q values for the 'discharge longitudinal | |
8872 section' computation. | |
8873 | |
8874 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: New | |
8875 methods to retrieve and compute data used for the 'discharge | |
8876 longitudinal section' computation. | |
8877 | |
8878 2011-05-05 Ingo Weinzierl <ingo@intevation.de> | |
8879 | |
8880 * src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java: | |
8881 Bugfix: just write the ranges of gauges into the DESCRIBE if the | |
8882 'wq_values' data item is required. | |
8883 | |
8884 * src/main/resources/messages.properties, | |
8885 src/main/resources/messages_de_DE.properties, | |
8886 src/main/resources/messages_en.properties, | |
8887 src/main/resources/messages_de.properties: Added i18n messages used in | |
8888 the DESCRIBE of the WQAdapted state. | |
8889 | |
8890 2011-05-05 Ingo Weinzierl <ingo@intevation.de> | |
8891 | |
8892 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java: | |
8893 Changed the title of the y-axis (now 'W [NN+m]'). | |
8894 | |
8895 2011-05-05 Ingo Weinzierl <ingo@intevation.de> | |
8896 | |
8897 * doc/conf/artifacts/winfo.xml: Improved the transition model to reach the | |
8898 output state for creating 'discharge longitudinal section' charts. | |
8899 | |
8900 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Added a | |
8901 method that returns all gauges of the selected river based on a the | |
8902 given kilometer range. | |
8903 | |
8904 * src/main/java/de/intevation/flys/artifacts/states/WQAdapted.java: New. | |
8905 This state creates a set of elements for the DESCRIBE that consist of a | |
8906 tuple of kilometer values. The number of elements depend on the number | |
8907 of gauges intersected by the given kilometer range. | |
8908 | |
8909 * src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java: | |
8910 New. This state is the output state that is reached after the 'discharge | |
8911 longitudinal section' computation has been chosen. | |
8912 | |
8913 2011-05-05 Ingo Weinzierl <ingo@intevation.de> | |
8914 | |
8915 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Default | |
8916 step width between two kilometers added - if no step width is given, | |
8917 this default width is used. | |
8918 | |
8919 2011-05-05 Ingo Weinzierl <ingo@intevation.de> | |
8920 | |
8921 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
8922 Fixed a potential NullPointerException if there is just a single | |
8923 kilometer given to create a longitudinal section. | |
8924 | |
8925 2011-05-04 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
8926 | |
8927 * pom.xml: Added http://repository.jboss.org/maven2 repo | |
8928 to fix flys/issue30 | |
8929 | |
8930 2011-05-04 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
8931 | |
8932 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
8933 To make diagram generation possible ws are now generated from qs | |
8934 because they are many ws having different qs. | |
8935 | |
8936 2011-05-04 Ingo Weinzierl <ingo@intevation.de> | |
8937 | |
8938 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java: | |
8939 Fetch the WQ data from WINFO artifact and write those values into the | |
8940 CSV export. | |
8941 | |
8942 2011-05-04 Ingo Weinzierl <ingo@intevation.de> | |
8943 | |
8944 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Added | |
8945 methods to compute and retrieve the data for discharge curves (computed). | |
8946 | |
8947 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java: | |
8948 Fetch the computed discharge curve data from WINFOArtifact and add the | |
8949 values into the JFreeChart dataset. | |
8950 | |
8951 2011-05-04 Ingo Weinzierl <ingo@intevation.de> | |
8952 | |
8953 * doc/conf/artifacts/winfo.xml: Added new transitions and states to enable | |
8954 the WINFO artifact for computing discharge curves. | |
8955 | |
8956 * doc/conf/conf.xml: Added OutGenerators that generate computed discharge | |
8957 curves and exports for its data. | |
8958 | |
8959 * src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java: | |
8960 New. This state is reached if the user chose the computed discharge | |
8961 curve. | |
8962 | |
8963 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java: | |
8964 New. This is only a stub implementation at the moment. This | |
8965 OutGenerator should create computed discharge curves later. It extends | |
8966 the DischargeCurveGenerator which should do the same stuff for discharge | |
8967 curves for gauges. | |
8968 | |
8969 * src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java: | |
8970 New. This is only a stub implementation at the moment. This OutGenerator | |
8971 should create the exports of the discharge curve computation. | |
8972 | |
8973 2011-05-03 Ingo Weinzierl <ingo@intevation.de> | |
8974 | |
8975 * doc/conf/artifacts/winfo.xml: Added a new output mode for the duration | |
8976 curve state (CSV export). | |
8977 | |
8978 * doc/conf/conf.xml: Added a new OutGenerator to export duration curve | |
8979 computations. | |
8980 | |
8981 * src/main/java/de/intevation/flys/exports/AbstractExporter.java: New. | |
8982 This abstract OutGenerator represents the base class for exporting | |
8983 computed data. Currently, the CSV export is supported. | |
8984 | |
8985 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java: Moved | |
8986 the most code to export to CSV into the AbstractExporter. | |
8987 | |
8988 * src/main/java/de/intevation/flys/exports/DurationCurveExporter.java: | |
8989 New. This exporter exports the computed data of a duration computation. | |
8990 | |
8991 2011-05-03 Ingo Weinzierl <ingo@intevation.de> | |
8992 | |
8993 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
8994 Modified a wrong debug statement which would confuse the user. | |
8995 | |
8996 2011-05-03 Ingo Weinzierl <ingo@intevation.de> | |
8997 | |
8998 * doc/conf/artifacts/winfo.xml: Added a new output mode for the waterlevel | |
8999 state (CSV export). | |
9000 | |
9001 * doc/conf/conf.xml: Added a new OutGenerator to export waterlevels. | |
9002 | |
9003 * src/main/java/de/intevation/flys/exports/WaterlevelExporter.java: New. | |
9004 This OutGenerator exports the data of a waterlevel computation. Note: | |
9005 It is necessary to specify the desired facet (e.g. | |
9006 'waterlevel_export.csv'). | |
9007 | |
9008 * pom.xml: Added a dependency to OpenCSV. | |
9009 | |
9010 2011-05-03 Ingo Weinzierl <ingo@intevation.de> | |
9011 | |
9012 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
9013 Introduced an "export" output target. If the target is "export", a | |
9014 facet (read from the incoming xml document) is a necessary parameter | |
9015 that determines which facets are written to the output. | |
9016 | |
9017 2011-05-03 Ingo Weinzierl <ingo@intevation.de> | |
9018 | |
9019 * src/main/resources/messages_en.properties: Bugfix: replaced german | |
9020 string (copy & paste mistake). | |
9021 | |
9022 2011-05-03 Ingo Weinzierl <ingo@intevation.de> | |
9023 | |
9024 * src/main/resources/messages.properties, | |
9025 src/main/resources/messages_de_DE.properties, | |
9026 src/main/resources/messages_en.properties, | |
9027 src/main/resources/messages_de.properties: Added new i18n strings for | |
9028 for the location selection. | |
9029 | |
9030 2011-05-03 Ingo Weinzierl <ingo@intevation.de> | |
9031 | |
9032 * src/main/java/de/intevation/flys/exports/DurationCurveGenerator.java: | |
9033 New. An OutGenerator for creating duration curves. | |
9034 | |
9035 * src/main/java/de/intevation/flys/artifacts/model/WQDay.java: New. A | |
9036 model class to store necessary data for creating W and Q facets of a | |
9037 duration curve. This model stores W, Q and Days. | |
9038 | |
9039 * src/main/java/de/intevation/flys/artifacts/model/MainValuesFactory.java: | |
9040 Added a function to retrieve tuples of (day, q) based on a given gauge - | |
9041 these tuples are necessary for creating duration curves. | |
9042 | |
9043 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Added | |
9044 methods to compute and retrieve the data necessary for creating duration | |
9045 curves. | |
9046 | |
9047 * src/main/java/de/intevation/flys/artifacts/states/LocationSelect.java: | |
9048 Bugfix: improved the access to the location array (avoid | |
9049 NullPointerException). | |
9050 | |
9051 * doc/conf/conf.xml: Registered the new OutGenerator for duration curves. | |
9052 | |
9053 2011-05-03 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
9054 | |
9055 * contrib/visualize-transitions.xsl: State quoting was done wrong. | |
9056 | |
9057 2011-05-02 Ingo Weinzierl <ingo@intevation.de> | |
9058 | |
9059 * doc/conf/artifacts/winfo.xml: Enhanced the transition model to reach the | |
9060 final state for creating duration curves. | |
9061 | |
9062 * src/main/java/de/intevation/flys/artifacts/states/LocationSelect.java: | |
9063 New. This state should be reached to just insert an array of locations. | |
9064 | |
9065 * src/main/java/de/intevation/flys/artifacts/states/DurationCurveState.java: | |
9066 New. This state is reached if the duration curve calculation is | |
9067 selected. | |
9068 | |
9069 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Adjusted | |
9070 getDistance() so that it takes care on inserted locations - not just | |
9071 inserted ranges. | |
9072 | |
9073 2011-05-02 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
9074 | |
9075 * src/main/java/de/intevation/flys/artifacts/cache/CacheFactory.java: | |
9076 Flush/persist caches at program exists. | |
9077 | |
9078 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
9079 Commented out too eloquent debug output. | |
9080 | |
9081 2011-05-02 Ingo Weinzierl <ingo@intevation.de> | |
9082 | |
9083 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java: | |
9084 Uses the methods of FLYSArtifact to retrieve the necessary information | |
9085 rivername and selected distance. | |
9086 | |
9087 2011-05-02 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
9088 | |
9089 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
9090 Added interpolateW method to take reference to result ws array | |
9091 as an argument to avoid expensive array allocations in km iterating | |
9092 loops. | |
9093 | |
9094 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java: | |
9095 Added a constructor to create backing trove datastructure | |
9096 with the right capacity. | |
9097 | |
9098 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
9099 Move allocation of result ws out of km loop. | |
9100 | |
9101 2011-05-02 Ingo Weinzierl <ingo@intevation.de> | |
9102 | |
9103 * doc/conf/artifacts/winfo.xml: Added two further data items in the WQ | |
9104 selection state. Those items are necessary to store the information | |
9105 about the selected mode (range/single selection) and the values of the | |
9106 single selection. | |
9107 | |
9108 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: If | |
9109 there is no value for a data item, this item is not written into the | |
9110 static DESCRIBE part. | |
9111 | |
9112 * src/main/java/de/intevation/flys/artifacts/states/RangeState.java, | |
9113 src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java: | |
9114 Renamed the method to validate upper and lower values. | |
9115 | |
9116 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java: This | |
9117 state can now handle values inserted in the single selection. Therefore, | |
9118 new validate methods has been added. | |
9119 | |
9120 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: The | |
9121 methods getWs() and getWs() take care on the values inserted in the | |
9122 single insert mode of the client which enables the user to insert single | |
9123 W and Q. | |
9124 | |
9125 2011-05-02 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
9126 | |
9127 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java: | |
9128 Repaired getQForW() by calculating indices on right dimension. | |
9129 | |
9130 2011-05-02 Ingo Weinzierl <ingo@intevation.de> | |
9131 | |
9132 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: New | |
9133 methods for retrieving selected W values (getWs()). | |
9134 | |
9135 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: The | |
9136 method for retrieving waterlevel data takes care on selected Ws, now. | |
9137 The selected Ws are transformed using the DischargeTables.getQForW() | |
9138 into Q values. | |
9139 | |
9140 2011-05-02 Ingo Weinzierl <ingo@intevation.de> | |
9141 | |
9142 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java: | |
9143 Removed an unused parameter 'result' of getQForW(). | |
9144 | |
9145 2011-05-02 Ingo Weinzierl <ingo@intevation.de> | |
9146 | |
9147 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: Removed | |
9148 the getDataset() method and replaced it with a addDataset() method. | |
9149 On this way, concrete subclasses of this OutGenerator can have multiple | |
9150 datasets (e.g. different datasets for W and Q). This abstract method is | |
9151 called after the chart generation is finished. | |
9152 | |
9153 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java, | |
9154 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java: | |
9155 Both classes implement the addDataset() method. The | |
9156 LongitudinalSectionGenerator has already multiple datasets for W and Q. | |
9157 Both are added to the chart - both have an own range axis. | |
9158 | |
9159 2011-05-01 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
9160 | |
9161 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
9162 Use the cache for the wst value table if configured. | |
9163 | |
9164 * doc/conf/cache.xml: Choose a more precise name for the | |
9165 wst value table cache. | |
9166 | |
9167 2011-04-29 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
9168 | |
9169 * pom.xml: Added dependency to Ehcache. Apache 2.0 license. | |
9170 | |
9171 * doc/conf/conf.xml: Added configuration of ehcache. | |
9172 | |
9173 * doc/conf/cache.xml: New. Cache configurations. | |
9174 | |
9175 * src/main/java/de/intevation/flys/artifacts/cache/CacheFactory.java: | |
9176 New. Factory to access caches. | |
9177 | |
9178 2011-04-29 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
9179 | |
9180 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java: | |
9181 Forgot to add. | |
9182 | |
9183 * src/main/java/de/intevation/flys/artifacts/services/meta/Builder.java: | |
9184 New. Given a database connection and a XML template it generates | |
9185 an output with meta data about the database. | |
9186 | |
9187 * src/main/java/de/intevation/flys/artifacts/services/meta/CompiledStatement.java: | |
9188 New. Holds prepared statements optimized to be run in the stack of | |
9189 contextes. | |
9190 | |
9191 * src/main/java/de/intevation/flys/artifacts/services/meta/StackFrames.java: | |
9192 New. Model to hold a hierarchical scope of variables. | |
9193 | |
9194 * src/main/java/de/intevation/flys/artifacts/services/meta/ResultData.java: | |
9195 New. Stores data set fetched from a sql select to be iterated in | |
9196 a context. | |
9197 | |
9198 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java, | |
9199 src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
9200 Removed superfluous imports. | |
9201 | |
9202 2011-04-29 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
9203 | |
9204 * doc/conf/conf.xml: Added meta data service. | |
9205 | |
9206 * src/main/java/de/intevation/flys/artifacts/services/MetaDataService.java: | |
9207 Stub for the meta data service. | |
9208 | |
9209 * src/main/resources/metadata/template.xml: Initial template for | |
9210 the meta data service. | |
9211 | |
9212 2011-04-29 Ingo Weinzierl <ingo@intevation.de> | |
9213 | |
9214 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
9215 Bugfix: Now, curves for Q values are drawn into a longitudinal section | |
9216 chart as well. Therefore, it was necessary to change the datastructure | |
9217 of the inner class ThemeList that stores all themes included in a chart | |
9218 in an ordered list (stored in a java.util.Vector now). | |
9219 | |
9220 2011-04-29 Ingo Weinzierl <ingo@intevation.de> | |
9221 | |
9222 * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: New. An | |
9223 abstract base class for ChartGenerators that create XY charts. | |
9224 | |
9225 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java: | |
9226 Sourced the generate() method out to the XYChartGenerator. | |
9227 | |
9228 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
9229 Implemented the methods to add W and Q facets to the chart. | |
9230 | |
9231 2011-04-29 Ingo Weinzierl <ingo@intevation.de> | |
9232 | |
9233 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Improved | |
9234 the calculation of the step with for ranges. | |
9235 | |
9236 2011-04-29 Ingo Weinzierl <ingo@intevation.de> | |
9237 | |
9238 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java: Added a | |
9239 method that returns the number of elements stored in the data pool. | |
9240 | |
9241 2011-04-29 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
9242 | |
9243 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java: | |
9244 Added a get() method which takes destination array as an | |
9245 argument. | |
9246 | |
9247 2011-04-29 Ingo Weinzierl <ingo@intevation.de> | |
9248 | |
9249 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java: Changed the | |
9250 data structure to store w, q and kms values from List<Double> to | |
9251 TDoubleArrayList which stores native double values instead of big | |
9252 Double values. | |
9253 | |
9254 * pom.xml: Added the GNU Trove dependency. | |
9255 | |
9256 2011-04-29 Ingo Weinzierl <ingo@intevation.de> | |
9257 | |
9258 * src/main/java/de/intevation/flys/exports/OutGenerator.java: Added the | |
9259 name a the requested facet to doOut(). Concrete generators should just | |
9260 create output for this facet now. | |
9261 | |
9262 * src/main/java/de/intevation/flys/exports/ChartGenerator.java, | |
9263 src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java, | |
9264 src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java: | |
9265 Adapted the method signature of doOut(). | |
9266 | |
9267 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
9268 Adapted the method call of OutGenerator.doOut(). | |
9269 | |
9270 2011-04-29 Ingo Weinzierl <ingo@intevation.de> | |
9271 | |
9272 * doc/conf/themes.xml: Added mappings for the facets | |
9273 longitudinal.section.w and longitudinal.section.q. | |
9274 | |
9275 2011-04-29 Ingo Weinzierl <ingo@intevation.de> | |
9276 | |
9277 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Added some | |
9278 methods to retrieve necessary information for computing the data of a | |
9279 waterlevel. | |
9280 | |
9281 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Added | |
9282 methods to compute and retrieve the data of a waterlevel computation. | |
9283 | |
9284 2011-04-29 Ingo Weinzierl <ingo@intevation.de> | |
9285 | |
9286 * src/main/java/de/intevation/flys/artifacts/model/WQKms.java: New. This | |
9287 model class represents a pool of data triples that consist of W, Q and | |
9288 Kms information. This class might be used to compute data for creating | |
9289 longitudinal section curves (which are based on those W, Q and Kms | |
9290 values). | |
9291 | |
9292 2011-04-29 Ingo Weinzierl <ingo@intevation.de> | |
9293 | |
9294 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
9295 Bugfix: Removed endless loop and a bug while iterating over Hibernate | |
9296 results. | |
9297 | |
9298 2011-04-28 Ingo Weinzierl <ingo@intevation.de> | |
9299 | |
9300 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
9301 New. An OutGenerator that creates longitudinal section curves. | |
9302 | |
9303 NOTE: This is just the stub - the out creation needs to be implemented! | |
9304 | |
9305 * doc/conf/conf.xml: Added the LongitudinalSectionGenerator. | |
9306 | |
9307 2011-04-28 Ingo Weinzierl <ingo@intevation.de> | |
9308 | |
9309 * doc/conf/conf.xml: Bugfix: Added missing <output-generators> section. | |
9310 | |
9311 2011-04-28 Ingo Weinzierl <ingo@intevation.de> | |
9312 | |
9313 * src/main/java/de/intevation/flys/artifacts/WaterlevelState.java: New. | |
9314 This state should be reached if the 'calc.surface.curve' calculation | |
9315 method has been chosen. | |
9316 | |
9317 * doc/conf/artifacts/winfo.xml: Modified a transition and added the | |
9318 WaterlevelState. This state is reached if the 'calc.surface.curve' | |
9319 calculation method has been chosen. It currently has 1 output - a | |
9320 longitudinal section that is not implemented yet! | |
9321 | |
9322 2011-04-28 Ingo Weinzierl <ingo@intevation.de> | |
9323 | |
9324 * src/main/java/de/intevation/flys/artifacts/transitions/ValueCompareTransition.java: | |
9325 New. This transition is valid if the a data object of the current | |
9326 artifact equals/notequals a configured value in the transition model. | |
9327 | |
9328 2011-04-28 Ingo Weinzierl <ingo@intevation.de> | |
9329 | |
9330 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java, | |
9331 src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Bugfixes: | |
9332 - Adapted the parameters of the isStateReachable() call - added the | |
9333 artifact and the current state. | |
9334 - Append the outputs of a current state if the state is filled with | |
9335 valid data. | |
9336 | |
9337 2011-04-28 Ingo Weinzierl <ingo@intevation.de> | |
9338 | |
9339 * src/main/java/de/intevation/flys/artifacts/transitions/DefaultTransition.java: | |
9340 Added the missing init() method that has been introduced in the | |
9341 interface some commits ealier. | |
9342 | |
9343 * src/main/java/de/intevation/flys/artifacts/transitions/TransitionFactory.java: | |
9344 Call init() after a Transition has been created. | |
9345 | |
9346 2011-04-28 Ingo Weinzierl <ingo@intevation.de> | |
9347 | |
9348 * src/main/java/de/intevation/flys/collections/AttributeWriter.java: | |
9349 Bugfix: Introduced a <art:outputs> node in the attribute document of a | |
9350 Collection that contains further <art:output> nodes - instead of having | |
9351 multiple <art:output> nodes at toplevel of the document. | |
9352 | |
9353 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
9354 Adapted the XPath to retrieve the outputs in the attribute document of a | |
9355 Collection. | |
9356 | |
9357 2011-04-28 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
9358 | |
9359 * contrib/visualize-transitions.xsl: Added to create a | |
9360 Graphviz digraph out of the config.xml. Usage: | |
9361 | |
9362 $ xsltproc --stringparam base-dir ../doc/conf/ \ | |
9363 contrib/visualize-transitions.xsl \ | |
9364 doc/conf/conf.xml > transitions.dot | |
9365 | |
9366 $ dot -Tsvg -o transitions.svg transitions.dot | |
9367 | |
9368 2011-04-28 Ingo Weinzierl <ingo@intevation.de> | |
9369 | |
9370 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java, | |
9371 src/main/java/de/intevation/flys/artifacts/states/WQSelect.java: | |
9372 If no data has been inserted so far, an IllegalArgumentException is | |
9373 thrown. | |
9374 | |
9375 2011-04-28 Ingo Weinzierl <ingo@intevation.de> | |
9376 | |
9377 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:: | |
9378 A lot of new methods to retrieve the theme of a facet - used while | |
9379 creating the output of a facet/artifact. If a facet has no theme yet, it | |
9380 is initialized. | |
9381 | |
9382 2011-04-27 Ingo Weinzierl <ingo@intevation.de> | |
9383 | |
9384 * src/main/java/de/intevation/flys/collections/AttributeParser.java, | |
9385 src/main/java/de/intevation/flys/collections/OutputParser.java: Removed | |
9386 useless imports. | |
9387 | |
9388 2011-04-27 Ingo Weinzierl <ingo@intevation.de> | |
9389 | |
9390 * src/main/java/de/intevation/flys/exports/ChartGenerator.java: New. An | |
9391 abstract OutGenerator that might be used to create chart output. Some | |
9392 basic things that are equal in all charts should be done here! | |
9393 | |
9394 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java: | |
9395 This OutGenerator no longer implements the OutGenerator directly, but it | |
9396 extends the ChartGenerator now. | |
9397 | |
9398 2011-04-27 Ingo Weinzierl <ingo@intevation.de> | |
9399 | |
9400 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
9401 Restructured the out() operation of a collection: Now, we collect a list | |
9402 of artifacts/facets and use this for the OutGenerator. Its doOut() | |
9403 method gets the attribute of an artifact - the position and the active | |
9404 state is managed by the Collection itself. | |
9405 | |
9406 2011-04-26 Ingo Weinzierl <ingo@intevation.de> | |
9407 | |
9408 * src/main/java/de/intevation/flys/artifacts/model/ManagedFacet.java: New. | |
9409 a specialized facet that stores information about its position and its | |
9410 state (active/inactive) in an output of a collection. | |
9411 | |
9412 * src/main/java/de/intevation/flys/collections/AttributeParser.java: New. | |
9413 This parser takes the attributes (XML) of a collection and extracts the | |
9414 contained outputs with its facets. The result is a Map<String, Output>. | |
9415 | |
9416 * src/main/java/de/intevation/flys/collections/OutputParser.java: New. | |
9417 This parser is used to query the artifact's DESCRIBE and to extract the | |
9418 supported outputs. The result is a Map<String, Output>. | |
9419 | |
9420 * src/main/java/de/intevation/flys/collections/AttributeWriter.java: New. | |
9421 This writer merges the outputs contained in an attribute of a collection | |
9422 with the outputs of a collection's artifacts. | |
9423 | |
9424 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
9425 The attributes of a collection are written into its DESCRIBE document | |
9426 now. The OutputParser and AttributeParser are used to read the supported | |
9427 attributes by the collection and its artifacts - the AttributeWriter is | |
9428 used to merge both attributes and create a final attribute document. | |
9429 | |
9430 2011-04-26 Ingo Weinzierl <ingo@intevation.de> | |
9431 | |
9432 * src/main/java/de/intevation/flys/artifacts/context/FLYSContext.java, | |
9433 src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java: | |
9434 The facet-2-theme mappings are initialized at startup and stored in the | |
9435 FLYSContext. | |
9436 | |
9437 * src/main/java/de/intevation/flys/themes/ThemeFactory.java: Added a | |
9438 function that retrieves a theme from FLYSContext based on its name. | |
9439 | |
9440 2011-04-22 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
9441 | |
9442 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
9443 Corrected a silly c&p mistake. | |
9444 | |
9445 2011-04-22 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
9446 | |
9447 * src/main/java/de/intevation/flys/artifacts/math/BackJumpCorrector.java: | |
9448 | |
9449 Implementation of the "Ruecksprungkorrektur" to be done in | |
9450 "W fuer angepassten Abflusslaengschnitt". | |
9451 | |
9452 All tests show the expected results. In some corner cases the | |
9453 algorithm described in the "Anwenderhandbuch" chapter 3.3.4.3 "Korrektur" | |
9454 has some definition shortcomings: | |
9455 | |
9456 a - What should happend when you cannot find point 2 because | |
9457 you cannot step back one quarter from point 3 because there | |
9458 is no data there any more (river too short in this direction)? | |
9459 The implemented algorithm raises point 3' only to an | |
9460 according factor. E.g. If you can step back the whole quarter | |
9461 distance the elevation is the full quarter. If you can | |
9462 step back only the half of the quarter the elevation is | |
9463 only an eighth. | |
9464 | |
9465 b - If the water heights between point 2 and 3 are constant then | |
9466 the algorithm will produce a spline interpolation that | |
9467 lowers those values. Is this intended? | |
9468 | |
9469 For real data the back jumps are expected to be more in the middle | |
9470 of the distance ranges so the corner cases are maybe not so | |
9471 important. | |
9472 | |
9473 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java: | |
9474 Removed superfluous import. | |
9475 | |
9476 2011-04-21 Ingo Weinzierl <ingo@intevation.de> | |
9477 | |
9478 * src/main/java/de/intevation/flys/themes/ThemeFactory.java: Removed debug | |
9479 code that has been commited by accident. | |
9480 | |
9481 2011-04-21 Ingo Weinzierl <ingo@intevation.de> | |
9482 | |
9483 * doc/conf/themes.xml: New. A first small theme configuration. | |
9484 | |
9485 * doc/conf/conf.xml: Added a link to the theme configuration. | |
9486 | |
9487 * src/main/java/de/intevation/flys/artifacts/context/FLYSContext.java: | |
9488 Defined a key that is used to store a themes map in the FLYSContext. | |
9489 | |
9490 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java: | |
9491 The theme configuration is read at startup and the themes are stores in | |
9492 the FLYSContext. | |
9493 | |
9494 2011-04-21 Ingo Weinzierl <ingo@intevation.de> | |
9495 | |
9496 * src/main/java/de/intevation/flys/themes/Theme.java, | |
9497 src/main/java/de/intevation/flys/themes/DefaultTheme.java: | |
9498 New. The interface and its default implementation that represents themes | |
9499 used to style charts and maps. | |
9500 | |
9501 * src/main/java/de/intevation/flys/themes/ThemeField.java, | |
9502 src/main/java/de/intevation/flys/themes/DefaultThemeField.java: | |
9503 New. The interface and its default implementation that represents fields | |
9504 in themes. A theme might be "Lines" and one of its field might be | |
9505 "Color" or "Size". | |
9506 | |
9507 * src/main/java/de/intevation/flys/themes/ThemeFactory.java: A factory | |
9508 that creates new themes based on a theme configuration. | |
9509 | |
9510 2011-04-20 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
9511 | |
9512 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
9513 Implementation of "Abflusskurve/Abflusstafel" calculation. | |
9514 | |
9515 Added method interpolateWQ() which takes an km and results in a | |
9516 tuple of two double arrays containing the w/q values interpolated | |
9517 between the surrounding w/q values of the table. | |
9518 w values are interpolated linear, q values with a cubic spline. | |
9519 | |
9520 Drawing w over q gives you the discharge table at the given km. | |
9521 | |
9522 !!! This code needs testing !!! | |
9523 | |
9524 2011-04-20 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
9525 | |
9526 * pom.xml: Added dependency to Apache Commons Math 2.2 (Apache License 2.0) | |
9527 | |
9528 2011-04-20 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
9529 | |
9530 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java: | |
9531 Fix problem when sorting by q (copied w instead of q). | |
9532 | |
9533 2011-04-20 Ingo Weinzierl <ingo@intevation.de> | |
9534 | |
9535 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java: | |
9536 Fixed broken HQL statement. | |
9537 | |
9538 2011-04-19 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
9539 | |
9540 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
9541 add a method interpolateW() which takes an array of | |
9542 q values and returns an equal sized array of w values. | |
9543 This is essentially the "Wasserstand/Wasserspiegellagen" calculation | |
9544 of desktop FLYS. | |
9545 | |
9546 If you want to do a calculation with given w values you have | |
9547 to convert the w values with DischargeTables.getQForW() first. | |
9548 | |
9549 !!! This code needs heavy testing !!! | |
9550 | |
9551 2011-04-19 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
9552 | |
9553 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java: | |
9554 We need a getQForW() method and not getWForQ() because when | |
9555 doing a "Wasserstand/Wasserspiegellagen" calculation with given | |
9556 w values these values need to be translated to q values with | |
9557 the master discharge table. | |
9558 | |
9559 2011-04-19 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
9560 | |
9561 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java: | |
9562 Sorting of q values was done wrong. | |
9563 | |
9564 2011-04-19 Ingo Weinzierl <ingo@intevation.de> | |
9565 | |
9566 * src/main/java/de/intevation/flys/artifacts/model/AnnotationsFactory.java: | |
9567 Ordered the list of annotations returned by this factory based on its | |
9568 range. | |
9569 | |
9570 2011-04-19 Ingo Weinzierl <ingo@intevation.de> | |
9571 | |
9572 * src/main/java/de/intevation/flys/artifacts/services/MainValuesService.java: | |
9573 New. This service returns an XML document that includes the main values | |
9574 of a gauge based on a river name, a start and an end point. | |
9575 | |
9576 * doc/conf/conf.xml: Registered the MainValuesService. | |
9577 | |
9578 2011-04-19 Ingo Weinzierl <ingo@intevation.de> | |
9579 | |
9580 * src/main/java/de/intevation/flys/artifacts/model/MainValuesFactory.java: | |
9581 A factory that provides methods to return MainValues. | |
9582 | |
9583 2011-04-19 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
9584 | |
9585 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java: | |
9586 Added static method getWForQ() to interpolate a w value for | |
9587 a given q value based on a given discharge table. | |
9588 | |
9589 2011-04-19 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
9590 | |
9591 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java: | |
9592 Added convenience constructors/methods to ease the access to the master | |
9593 discharge table of a gauge. | |
9594 | |
9595 2011-04-18 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
9596 | |
9597 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
9598 Moved the query complexity into view 'wst_value_table' and | |
9599 used this instead. | |
9600 | |
9601 2011-04-18 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
9602 | |
9603 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java: | |
9604 Fetches w/q value tables from the backend. TODO: Move this | |
9605 to the backend and use a view. | |
9606 | |
9607 2011-04-18 Ingo Weinzierl <ingo@intevation.de> | |
9608 | |
9609 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Changed | |
9610 the error key that is thrown if no input data was found so that the key | |
9611 is usable for GWT's i18n mechanism. | |
9612 | |
9613 2011-04-18 Ingo Weinzierl <ingo@intevation.de> | |
9614 | |
9615 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java: | |
9616 The inserted river is validated now (overrides validate() of | |
9617 DefaultState). | |
9618 | |
9619 2011-04-18 Ingo Weinzierl <ingo@intevation.de> | |
9620 | |
9621 * src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java: | |
9622 The inserted calculation method is validated now (overrides validate() | |
9623 of DefaultState). | |
9624 | |
9625 2011-04-18 Ingo Weinzierl <ingo@intevation.de> | |
9626 | |
9627 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
9628 The input data of feed() are validated using the DefaultStates | |
9629 validate() method. | |
9630 | |
9631 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: | |
9632 New method validate() that needs to be overidden by concrete subclasses. | |
9633 It should return true, if the data of the State is fine, otherwise it | |
9634 should raise an exception. | |
9635 | |
9636 NOTE: The exceptions are not translated in the server but in the client! | |
9637 | |
9638 * src/main/java/de/intevation/flys/artifacts/states/RangeState.java: New. | |
9639 This abstract class exists to provide some methods for handling ranges. | |
9640 Currently, there is a method that validates a given range based on | |
9641 min/max values. | |
9642 | |
9643 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java, | |
9644 src/main/java/de/intevation/flys/artifacts/states/WQSelect.java: | |
9645 Implemented input data validation for ranges. | |
9646 | |
9647 NOTE: The input validation of concrete values has not been implemented | |
9648 yet! | |
9649 | |
9650 2011-04-18 Ingo Weinzierl <ingo@intevation.de> | |
9651 | |
9652 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
9653 Removed debug code that has been commited by accident :-/ | |
9654 | |
9655 2011-04-18 Ingo Weinzierl <ingo@intevation.de> | |
9656 | |
9657 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: The | |
9658 getGauge() method returns the first gauge based on the given start and | |
9659 end point of the river. | |
9660 | |
9661 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java: | |
9662 Fixed potential bugs: if no gauge could be determined, the default | |
9663 values for W and Q are the minimum and maximum double values. | |
9664 | |
9665 2011-04-15 Ingo Weinzierl <ingo@intevation.de> | |
9666 | |
9667 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java: Fills | |
9668 the DESCRIBE with default values for W and Q. | |
9669 | |
9670 2011-04-15 Ingo Weinzierl <ingo@intevation.de> | |
9671 | |
9672 * src/main/java/de/intevation/flys/artifacts/model/WstFactory.java: | |
9673 New. Returns Wst object - based on a river. | |
9674 | |
9675 2011-04-15 Ingo Weinzierl <ingo@intevation.de> | |
9676 | |
9677 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Now | |
9678 provides some methods that return some basic objects inserted while | |
9679 parameterization: River, Gauge and so on. | |
9680 | |
9681 2011-04-15 Ingo Weinzierl <ingo@intevation.de> | |
9682 | |
9683 * src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java, | |
9684 src/main/java/de/intevation/flys/artifacts/services/RiverService.java: | |
9685 Bugfix: Repaired broken imports of the SessionHolder. | |
9686 | |
9687 2011-04-15 Ingo Weinzierl <ingo@intevation.de> | |
9688 | |
9689 * src/main/java/de/intevation/flys/artifacts/model/SessionHolder.java: | |
9690 Moved this class to flys-backend. | |
9691 | |
9692 * src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java, | |
9693 src/main/java/de/intevation/flys/artifacts/model/GaugesFactory.java, | |
9694 src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java, | |
9695 src/main/java/de/intevation/flys/artifacts/model/AnnotationsFactory.java, | |
9696 src/main/java/de/intevation/flys/artifacts/context/SessionCallContextListener.java: | |
9697 Adapted imports of the SessionHolder. | |
9698 | |
9699 2011-04-14 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
9700 | |
9701 * trunk/src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java, | |
9702 trunk/src/main/java/de/intevation/flys/artifacts/services/RiverService.java: | |
9703 Acquire/release sessions in services to avoid db connection leaks. | |
9704 | |
9705 2011-04-14 Ingo Weinzierl <ingo@intevation.de> | |
9706 | |
9707 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: | |
9708 Changed some method signatures - added a reference to the owner | |
9709 Artifact. | |
9710 | |
9711 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java, | |
9712 src/main/java/de/intevation/flys/artifacts/states/WQSelect.java, | |
9713 src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java: | |
9714 Modified method signatures based on the changes in DefaultState. | |
9715 | |
9716 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java: | |
9717 Added default values to the dynamic part of DESCRIBE. | |
9718 | |
9719 2011-04-14 Ingo Weinzierl <ingo@intevation.de> | |
9720 | |
9721 * src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java: | |
9722 Added a function that returns a River object based on a given river | |
9723 name. | |
9724 | |
9725 2011-04-14 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
9726 | |
9727 * src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java, | |
9728 src/main/java/de/intevation/flys/artifacts/model/GaugesFactory.java, | |
9729 src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java, | |
9730 src/main/java/de/intevation/flys/artifacts/model/AnnotationsFactory.java: | |
9731 Static methods are using the SessionHolder, too. | |
9732 | |
9733 2011-04-14 Ingo Weinzierl <ingo@intevation.de> | |
9734 | |
9735 * src/main/java/de/intevation/flys/artifacts/context/SessionCallContextListener.java: | |
9736 Added the setup() method that has been added to the interface | |
9737 description in the last commits. | |
9738 | |
9739 * doc/conf/conf.xml: Registered the SessionCallContextListener as | |
9740 CallContext.Listener. | |
9741 | |
9742 2011-04-14 Ingo Weinzierl <ingo@intevation.de> | |
9743 | |
9744 * src/main/java/de/intevation/flys/artifacts/model/SessionHolder.java: | |
9745 Bugfix: Call correct method to retrieve an instance of | |
9746 SessionFactoryProvider. | |
9747 | |
9748 2011-04-14 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
9749 | |
9750 * src/main/java/de/intevation/flys/artifacts/model/SessionHolder.java: | |
9751 New. Contains thread local session holder for hibernate sessions. | |
9752 | |
9753 * src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java: | |
9754 Uses session from SessionHolder. | |
9755 | |
9756 * src/main/java/de/intevation/flys/artifacts/context/SessionCallContextListener.java: | |
9757 Interacts with SessionHolder now. | |
9758 | |
9759 * src/main/java/de/intevation/flys/exports/ChartExportHelper.java: | |
9760 Removed superfluous import. | |
9761 | |
9762 2011-04-14 Ingo Weinzierl <ingo@intevation.de> | |
9763 | |
9764 * src/main/java/de/intevation/flys/artifacts/context/SessionCallContextListener.java: | |
9765 Implementation of a CallContext.Listener to open/close Hibernate | |
9766 Sessions for each request. | |
9767 | |
9768 2011-04-14 Ingo Weinzierl <ingo@intevation.de> | |
9769 | |
9770 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java, | |
9771 src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: | |
9772 Some modifications related to the last commit - modification of the | |
9773 describe() signature of a State. | |
9774 | |
9775 2011-04-14 Ingo Weinzierl <ingo@intevation.de> | |
9776 | |
9777 * src/main/java/de/intevation/flys/artifacts/states/GaugeSelect.java: | |
9778 Removed. We do not need a state to select a gauge - the selection takes | |
9779 place by choosing a start and an end point. | |
9780 | |
9781 2011-04-13 Ingo Weinzierl <ingo@intevation.de> | |
9782 | |
9783 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java: | |
9784 Bugfix: added missing label node to root node and a namespace to the | |
9785 data node. | |
9786 | |
9787 2011-04-12 Ingo Weinzierl <ingo@intevation.de> | |
9788 | |
9789 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
9790 The name of the artifact 'winfo' is written into the DESCRIBE document | |
9791 now. We need this to have a proper way to distinguish between different | |
9792 artifacts in the UI. | |
9793 | |
9794 2011-04-12 Ingo Weinzierl <ingo@intevation.de> | |
9795 | |
9796 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Bugfix: | |
9797 States are filled with data before they describe themself. | |
9798 | |
9799 2011-04-11 Ingo Weinzierl <ingo@intevation.de> | |
9800 | |
9801 * src/main/java/de/intevation/flys/artifacts/model/AnnotationsFactory.java: | |
9802 New. A factory that returns the annotations of a specific river. | |
9803 | |
9804 * src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java: | |
9805 New. This service provides a document that contains information about | |
9806 distances of a river. | |
9807 | |
9808 * doc/conf/conf.xml: Registered the DistanceInfoService. | |
9809 | |
9810 2011-04-06 Ingo Weinzierl <ingo@intevation.de> | |
9811 | |
9812 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
9813 This collection overrides the out() operation now. The incoming request | |
9814 document is read and the related OutGenerator is used to create the | |
9815 output. | |
9816 | |
9817 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Removed | |
9818 the code to create discharge curves. It has moved to the | |
9819 DischargeCurveGenerator which now does this work. | |
9820 | |
9821 2011-04-06 Ingo Weinzierl <ingo@intevation.de> | |
9822 | |
9823 * src/main/java/de/intevation/flys/exports/OutGenerator.java: The | |
9824 generate() method throws an IOException now. | |
9825 | |
9826 * src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java: | |
9827 New. This OutGenerator creates discharge curves. | |
9828 | |
9829 2011-04-06 Ingo Weinzierl <ingo@intevation.de> | |
9830 | |
9831 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Changed | |
9832 the visibility of the getData() method. It's now public, because the | |
9833 OutGenerator needs an artifact's data. | |
9834 | |
9835 2011-04-03 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
9836 | |
9837 * src/**/*.java: Removed trailing whitespace. | |
9838 | |
9839 2011-04-03 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
9840 | |
9841 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
9842 Make project compilable again by | |
9843 commenting out a not existing XMLDebug reference. | |
9844 | |
9845 2011-03-31 Ingo Weinzierl <ingo@intevation.de> | |
9846 | |
9847 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java: | |
9848 Added code to parse the configured OutGenerators and to save them (in a | |
9849 map) in the FLYSContext. | |
9850 | |
9851 * src/main/java/de/intevation/flys/artifacts/context/FLYSContext.java: | |
9852 Added a key that is used to save the OutGenerators Map in the context. | |
9853 | |
9854 2011-03-31 Ingo Weinzierl <ingo@intevation.de> | |
9855 | |
9856 * src/main/java/de/intevation/flys/exports/OutGenerator.java: | |
9857 New. This interface is used to generator different types of output. | |
9858 ArtifactCollections will make use of this interface to create a | |
9859 collected output of all its artifacts. | |
9860 | |
9861 2011-03-30 Ingo Weinzierl <ingo@intevation.de> | |
9862 | |
9863 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
9864 Removed the Backend from FLYSArtifactCollection - used ArtifactDatabase | |
9865 operations instead. | |
9866 | |
9867 * TODO: Removed 'remove Backend reference' TODO. | |
9868 | |
9869 2011-03-30 Ingo Weinzierl <ingo@intevation.de> | |
9870 | |
9871 * doc/conf/artifacts/winfo.xml: Enhanced the configuration of the | |
9872 discharge curve output mode. This output now provides three facets - W, | |
9873 Q and the curve itself. | |
9874 | |
9875 2011-03-30 Ingo Weinzierl <ingo@intevation.de> | |
9876 | |
9877 Tagged RELEASE 0.1 | |
9878 | |
9879 2011-03-30 Ingo Weinzierl <ingo@intevation.de> | |
9880 | |
9881 * doc/conf/artifacts/winfo.xml: Renamed an output mode in the WINFO | |
9882 artifact configuration. | |
9883 | |
9884 2011-03-29 Ingo Weinzierl <ingo@intevation.de> | |
9885 | |
9886 * src/main/resources/messages_de_DE.properties, | |
9887 src/main/resources/messages_de.properties: Changed a german string. | |
9888 | |
9889 2011-03-29 Ingo Weinzierl <ingo@intevation.de> | |
9890 | |
9891 * src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java: | |
9892 Modified the available calculation modes and its order in the DESCRIBE | |
9893 document. | |
9894 | |
9895 * src/main/resources/messages.properties, | |
9896 src/main/resources/messages_de_DE.properties, | |
9897 src/main/resources/messages_en.properties, | |
9898 src/main/resources/messages_de.properties: Adapted the names of | |
9899 calculation modes. | |
9900 | |
9901 2011-03-28 Ingo Weinzierl <ingo@intevation.de> | |
9902 | |
9903 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
9904 Added the hash code of an artifact to the artifact part of the | |
9905 collection's DESCRIBE document. | |
9906 | |
9907 2011-03-28 Ingo Weinzierl <ingo@intevation.de> | |
9908 | |
9909 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Changed | |
9910 the background color of discharge curves to white. | |
9911 | |
9912 2011-03-28 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
9913 | |
9914 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java: | |
9915 Cache the scale, too. Otherwise two calls to getValues() with | |
9916 different arguments will result in the same output. | |
9917 | |
9918 2011-03-28 Ingo Weinzierl <ingo@intevation.de> | |
9919 | |
9920 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java: | |
9921 Introduced a 'scale' parameter in the getValues() method. | |
9922 | |
9923 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Filled | |
9924 the out() operation with code that draws a discharge table of one or | |
9925 more gauges specified by the given range in entered in a previous state. | |
9926 | |
9927 2011-03-28 Ingo Weinzierl <ingo@intevation.de> | |
9928 | |
9929 * src/main/java/de/intevation/flys/exports/ChartExportHelper.java: | |
9930 New. A helper class to exports charts. | |
9931 | |
9932 * pom.xml: Added dependencies to iText, Batik and JFreeChart. | |
9933 | |
9934 2011-03-28 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
9935 | |
9936 * src/main/java/de/intevation/flys/importer/PegelGltParser.java: | |
9937 Fixed swap of operands. | |
9938 | |
9939 2011-03-28 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
9940 | |
9941 * src/main/java/de/intevation/flys/artifacts/model/GaugesFactory.java: | |
9942 New. Load gauges for a river and filter them for given | |
9943 ranges. | |
9944 | |
9945 2011-03-25 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
9946 | |
9947 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java: | |
9948 Store data in a double [][] instead of interleaved double [] | |
9949 to be compatible with org.jfree.data.xy.DefaultXYDataset. | |
9950 | |
9951 2011-03-25 Ingo Weinzierl <ingo@intevation.de> | |
9952 | |
9953 * TODO: Removed 'i18n' and 'step-back' TODOs and added an issue to remove | |
9954 the Backend reference from FLYSArtifactCollection. | |
9955 | |
9956 2011-03-25 Ingo Weinzierl <ingo@intevation.de> | |
9957 | |
9958 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
9959 Added missing artifact namespace of an attribute in the DESCRIBE | |
9960 document. | |
9961 | |
9962 2011-03-24 Ingo Weinzierl <ingo@intevation.de> | |
9963 | |
9964 * src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java: | |
9965 New. This ArtifactCollection overrides the DefaultArtifactCollection to | |
9966 implement FLYS specific describe() and out() operations. | |
9967 | |
9968 * doc/conf/conf.xml: Use the FLYSArtifactCollection instead of the | |
9969 DefaultArtifactCollection for this application. | |
9970 | |
9971 2011-03-24 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
9972 | |
9973 * src/main/java/de/intevation/flys/artifacts/model/DischargeTables.java: | |
9974 New. Fetches values of discharge tables in form of packed | |
9975 w/q double arrays for given gauges. | |
9976 | |
9977 * src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java: | |
9978 Removed needless import. | |
9979 | |
9980 2011-03-24 Ingo Weinzierl <ingo@intevation.de> | |
9981 | |
9982 * src/main/resources/messages_de_DE.properties: Added a german resource | |
9983 bundle to avoid exceptions in the flys artifacts. Sometimes, the | |
9984 Resources class is not able to find a 'de_DE' bundle and throws an | |
9985 exception. This is really strange, because it should use the 'de' bundle | |
9986 in that case, but it doesn't. | |
9987 | |
9988 2011-03-23 Ingo Weinzierl <ingo@intevation.de> | |
9989 | |
9990 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Added | |
9991 some code to append the output modes of previous states to the DESCRIBE | |
9992 document. | |
9993 | |
9994 TODO: Determine if the current state is already filled with data and | |
9995 append its output modes as well! | |
9996 | |
9997 2011-03-22 Ingo Weinzierl <ingo@intevation.de> | |
9998 | |
9999 * doc/conf/artifacts/winfo.xml: Enhanced the location_distance state with | |
10000 an output mode 'discharge_table'. | |
10001 | |
10002 2011-03-21 Ingo Weinzierl <ingo@intevation.de> | |
10003 | |
10004 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: | |
10005 Write human readable strings as label attribute into the DESCRIBE | |
10006 output. Those labels are used to be displayed in the GUI. | |
10007 | |
10008 2011-03-21 Ingo Weinzierl <ingo@intevation.de> | |
10009 | |
10010 * src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java: | |
10011 Added some further calculation types. | |
10012 | |
10013 * src/main/resources/messages.properties, | |
10014 src/main/resources/messages_en.properties, | |
10015 src/main/resources/messages_de.properties: Added i18n strings for the | |
10016 calculation types | |
10017 | |
10018 2011-03-21 Ingo Weinzierl <ingo@intevation.de> | |
10019 | |
10020 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
10021 Implemented the step-back part of the advance() operation. | |
10022 | |
10023 2011-03-21 Ingo Weinzierl <ingo@intevation.de> | |
10024 | |
10025 * src/main/resources/messages_de.properties: Fixed a german umlaut. | |
10026 | |
10027 2011-03-18 Ingo Weinzierl <ingo@intevation.de> | |
10028 | |
10029 * doc/conf/artifacts/winfo.xml: Added new states for entering a | |
10030 location/distance and w/q. | |
10031 | |
10032 * src/main/resources/messages.properties, | |
10033 src/main/resources/messages_en.properties, | |
10034 src/main/resources/messages_de.properties: New string for the | |
10035 location/distance and w/q input states. | |
10036 | |
10037 2011-03-18 Ingo Weinzierl <ingo@intevation.de> | |
10038 | |
10039 * src/main/java/de/intevation/flys/artifacts/states/WQSelect.java: | |
10040 New. A state for the W/Q input of the WINFO parameterization. | |
10041 | |
10042 2011-03-18 Ingo Weinzierl <ingo@intevation.de> | |
10043 | |
10044 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: | |
10045 Append an attribute 'uiprovider' to the dynamic UI node. | |
10046 | |
10047 * src/main/java/de/intevation/flys/artifacts/states/LocationDistanceSelect.java: | |
10048 New. A state for the location/distance selection of the WINFO | |
10049 parameterization. | |
10050 | |
10051 2011-03-17 Ingo Weinzierl <ingo@intevation.de> | |
10052 | |
10053 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: | |
10054 Added a new method getUIProvider() that might be overriden by concreted | |
10055 subclasses that should be rendered with a specific UIProvider. | |
10056 | |
10057 2011-03-17 Ingo Weinzierl <ingo@intevation.de> | |
10058 | |
10059 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
10060 The static UI part is created by the previous states now. This makes it | |
10061 possible to group the data objects (which is necessary to group the | |
10062 objects in the ui). | |
10063 | |
10064 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: | |
10065 Added a describeStatic() method that creates a node that contains the | |
10066 data of that state. | |
10067 | |
10068 2011-03-17 Ingo Weinzierl <ingo@intevation.de> | |
10069 | |
10070 * src/main/java/de/intevation/flys/artifacts/services/RiverService.java: | |
10071 Removed TODO: the document contains the rivers provided by the backend | |
10072 now. | |
10073 | |
10074 2011-03-17 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
10075 | |
10076 * pom.xml: Added dependency to flys backend. | |
10077 | |
10078 * src/main/java/de/intevation/flys/artifacts/model/River.java: | |
10079 Removed. We are using the backend model now. | |
10080 | |
10081 * src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java: | |
10082 Fetches the rivers from the backend. | |
10083 | |
10084 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java: | |
10085 Import fixes. | |
10086 | |
10087 2011-03-15 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
10088 | |
10089 * doc/conf/conf.xml: Added section for database backend configuration. | |
10090 | |
10091 2011-03-15 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
10092 | |
10093 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java: | |
10094 Fixed build error coming from different import of XMLUtils. | |
10095 | |
10096 2011-03-14 Ingo Weinzierl <ingo@intevation.de> | |
10097 | |
10098 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: | |
10099 Appended the missing label node that contains the human readable name of | |
10100 the data item. | |
10101 | |
10102 2011-03-14 Ingo Weinzierl <ingo@intevation.de> | |
10103 | |
10104 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java, | |
10105 src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: | |
10106 I18N of strings for the DESCRIBE document. | |
10107 | |
10108 * src/main/resources/messages.properties, | |
10109 src/main/resources/messages_en.properties, | |
10110 src/main/resources/messages_de.properties: I18N strings for the | |
10111 calculcation mode state. | |
10112 | |
10113 2011-03-14 Ingo Weinzierl <ingo@intevation.de> | |
10114 | |
10115 * doc/conf/artifacts/winfo.xml: Modified the winfo states. | |
10116 | |
10117 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Adapted | |
10118 the artifact regarding the changes of the last commit. The states | |
10119 describe() method creates the dynamic UI node - the artifact needs to | |
10120 apply this node. | |
10121 | |
10122 * src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java: | |
10123 New. The state for choosing the calculation mode. | |
10124 | |
10125 * src/main/resources/messages.properties, | |
10126 src/main/resources/messages_en.properties, | |
10127 src/main/resources/messages_de.properties: Added i18n strings for the | |
10128 calculation mode state. | |
10129 | |
10130 2011-03-14 Ingo Weinzierl <ingo@intevation.de> | |
10131 | |
10132 * src/main/java/de/intevation/flys/artifacts/states/DefaultState.java: | |
10133 New. This is the base state for the FLYS application. It provides a | |
10134 method that creates the dynamic ui node for the DESCRIBE. | |
10135 | |
10136 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java, | |
10137 src/main/java/de/intevation/flys/artifacts/states/GaugeSelect.java: Both | |
10138 classes extend the abstract base class DefaultState. | |
10139 | |
10140 2011-03-14 Ingo Weinzierl <ingo@intevation.de> | |
10141 | |
10142 * src/main/java/de/intevation/flys/artifacts/resources/Resources.java: | |
10143 New. This class retrieves the i18n strings from a ResourceBundle. | |
10144 | |
10145 * src/main/resources/messages.properties, | |
10146 src/main/resources/messages_en.properties, | |
10147 src/main/resources/messages_de.properties: Resource files for german and | |
10148 english translation. | |
10149 | |
10150 2011-03-10 Ingo Weinzierl <ingo@intevation.de> | |
10151 | |
10152 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Appended | |
10153 the data that have been inserted in former states into the static node | |
10154 of the DESCRIBE. | |
10155 | |
10156 2011-03-10 Ingo Weinzierl <ingo@intevation.de> | |
10157 | |
10158 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: The | |
10159 operations feed() and advance() return the description of the artifact | |
10160 using the describe() operation. This avoids additional server round trips | |
10161 in the client - the clients gets to know about the new state of the | |
10162 artifact immediately. | |
10163 | |
10164 2011-03-10 Ingo Weinzierl <ingo@intevation.de> | |
10165 | |
10166 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
10167 Implemented a part (step forward) of the advance operation. | |
10168 | |
10169 * TODO: Implement Step-Back in advance operation. | |
10170 | |
10171 2011-03-09 Ingo Weinzierl <ingo@intevation.de> | |
10172 | |
10173 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: | |
10174 Implemented the abstract method getName(). It returns the constant | |
10175 'winfo' string. | |
10176 | |
10177 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: | |
10178 Implemented the feed action. The data of an incoming feed() operation is | |
10179 stored in StateData objects that are saved in a map in the artifact. | |
10180 | |
10181 NOTE: There is no input validation and no i18n of error messages (see | |
10182 TODO). | |
10183 | |
10184 2011-03-09 Ingo Weinzierl <ingo@intevation.de> | |
10185 | |
10186 * TODO: This file contains some open points that need to be done. | |
10187 | |
10188 2011-03-09 Ingo Weinzierl <ingo@intevation.de> | |
10189 | |
10190 * src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: New. This | |
10191 artifact serves as the default artifact for the FLYS application. | |
10192 | |
10193 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: This | |
10194 artifact now inherits from FLYSArtifact. Furthermore, there is one big | |
10195 change: we don't store the State objects itself in the artifact, but | |
10196 just the identifier of those. This makes the artifact smaller and more | |
10197 compatible agains previous versions of the software. | |
10198 | |
10199 2011-03-08 Ingo Weinzierl <ingo@intevation.de> | |
10200 | |
10201 * src/main/java/de/intevation/flys/artifacts/services/RiverService.java: | |
10202 New. This service will retrieve a list of provided rivers. | |
10203 | |
10204 * doc/conf/conf.xml: Added a configuration for the RiverService. | |
10205 | |
10206 2011-03-07 Ingo Weinzierl <ingo@intevation.de> | |
10207 | |
10208 * doc/conf/conf.xml: Added a section user-factory and collection-factory in | |
10209 the factories part of the configuration. | |
10210 | |
10211 2011-03-01 Ingo Weinzierl <ingo@intevation.de> | |
10212 | |
10213 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java: | |
10214 Replaced the 'special' attribute from DESCRIBE with a 'uiprovider' | |
10215 attribute. | |
10216 | |
10217 2011-02-08 Ingo Weinzierl <ingo@intevation.de> | |
10218 | |
10219 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: The | |
10220 RiverSelect state is called to create the UI part of the describe | |
10221 document. | |
10222 | |
10223 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java: | |
10224 Implemented the dynamic UI part of describe(). The static part is not | |
10225 inserted into the describe document at the moment. We need a reference to | |
10226 the previous states for this. | |
10227 | |
10228 2011-02-08 Ingo Weinzierl <ingo@intevation.de> | |
10229 | |
10230 * src/main/java/de/intevation/flys/artifacts/model/RiverFactory.java, | |
10231 src/main/java/de/intevation/flys/artifacts/model/River.java: New. A model | |
10232 class that represents a river and its factory to create concrete river | |
10233 instances. | |
10234 NOTE: Currently, this is just a mockup. The factory just returns two | |
10235 static rivers "Mosel" and "Saar" without a connection to a backend. | |
10236 | |
10237 2011-02-07 Ingo Weinzierl <ingo@intevation.de> | |
10238 | |
10239 * src/main/java/de/intevation/flys/artifacts/states/StateFactory.java: The | |
10240 input data of a state is initialized with empty StateData objects after | |
10241 the State has been created. | |
10242 | |
10243 * doc/conf/artifacts/winfo.xml: Renamed the input data nodes of the states | |
10244 which now fits better to the class name of the implementation. | |
10245 | |
10246 2011-02-07 Ingo Weinzierl <ingo@intevation.de> | |
10247 | |
10248 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: The | |
10249 describe document returned by this artifact now contains the current state | |
10250 and the reachable states. | |
10251 | |
10252 2011-02-07 Ingo Weinzierl <ingo@intevation.de> | |
10253 | |
10254 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java: | |
10255 The transitions are put into the TransitionEngine with the ID of the state | |
10256 - not longer with the artifact name. On this way, we are able to fetch | |
10257 just the transitions for a specific state, instead of all the transitions | |
10258 of an artifact. | |
10259 | |
10260 2011-02-04 Ingo Weinzierl <ingo@intevation.de> | |
10261 | |
10262 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Describe() | |
10263 returns the artifact's uuid and hash value. The whole implementation of | |
10264 describe() is still outstanding. | |
10265 | |
10266 2011-02-04 Ingo Weinzierl <ingo@intevation.de> | |
10267 | |
10268 * doc/conf/artifacts/winfo.xml: Removed useless config stuff. | |
10269 | |
10270 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Removed | |
10271 useless methods, and improved the init process - the first state is set as | |
10272 the current state for this artifact. | |
10273 | |
10274 * src/main/java/de/intevation/flys/artifacts/states/RiverSelect.java, | |
10275 src/main/java/de/intevation/flys/artifacts/states/GaugeSelect.java: New. | |
10276 The states are used in the first two steps of the WINFOArtifact. | |
10277 Currently, they just implement stubs of the necessary methods setup() and | |
10278 describe(). | |
10279 | |
10280 2011-02-04 Ingo Weinzierl <ingo@intevation.de> | |
10281 | |
10282 * src/main/java/de/intevation/flys/artifacts/states/State.java, | |
10283 src/main/java/de/intevation/flys/artifacts/transitions/TransitionEngine.java, | |
10284 src/main/java/de/intevation/flys/artifacts/transitions/Transition.java: | |
10285 Removed. These classes are placed in the artifact-database now. | |
10286 | |
10287 * src/main/java/de/intevation/flys/artifacts/transitions/DefaultTransition.java, | |
10288 src/main/java/de/intevation/flys/artifacts/transitions/TransitionFactory.java: | |
10289 Adapted imports of Transition. | |
10290 | |
10291 * src/main/java/de/intevation/flys/artifacts/states/StateFactory.java: New. | |
10292 This factory should be used to create concrete State objects. | |
10293 | |
10294 * src/main/java/de/intevation/flys/artifacts/context/FLYSContext.java: Added | |
10295 a constant key to store the StateEngine in the context. | |
10296 | |
10297 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java: | |
10298 New method that initializes the states at application start. | |
10299 | |
10300 2011-02-03 Ingo Weinzierl <ingo@intevation.de> | |
10301 | |
10302 * src/main/java/de/intevation/flys/artifacts/states/State.java: New. The | |
10303 interface description of a state. | |
10304 | |
10305 * src/main/java/de/intevation/flys/artifacts/transitions/Transition.java, | |
10306 src/main/java/de/intevation/flys/artifacts/transitions/DefaultTransition.java: | |
10307 New. The interface description and a default implementation of a | |
10308 transition. | |
10309 | |
10310 * src/main/java/de/intevation/flys/artifacts/transitions/TransitionEngine.java: | |
10311 New. The TransitionEngine stores all transitions for each artifact and | |
10312 should be used to determine, if an artifact can advance from one state to | |
10313 another. | |
10314 | |
10315 * src/main/java/de/intevation/flys/artifacts/transitions/TransitionFactory.java: | |
10316 New. Transitions should be created by using this class. | |
10317 | |
10318 * src/main/java/de/intevation/flys/artifacts/context/FLYSContext.java: New. | |
10319 The Flys context. It currently defines keys to store important components | |
10320 in the context. | |
10321 | |
10322 * src/main/java/de/intevation/flys/artifacts/context/FLYSContextFactory.java: | |
10323 New. The context factory initializes the basic components of the | |
10324 application. Currently, the TransitionEngine is created and all artifacts | |
10325 with its transitions are read from the global configuration and stored in | |
10326 the FLYSContext. | |
10327 | |
10328 * pom.xml: Added a dependency to the 'artifacts-common' package. | |
10329 | |
10330 * doc/conf/artifacts/winfo.xml: Corrected the classname of the | |
10331 DefaultTransition. | |
10332 | |
10333 * doc/conf/conf.xml: Added FLYSContextFactory as context-factory. | |
10334 | |
10335 2011-02-02 Ingo Weinzierl <ingo@intevation.de> | |
10336 | |
10337 * doc/conf/conf.xml: An initial configuration file for the FLYS artifact | |
10338 server. | |
10339 | |
10340 * doc/conf/artifacts/winfo.xml: An initial transition configuration of an | |
10341 WINFO artifact. | |
10342 | |
10343 * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: A stub of | |
10344 an artifact for a WINFO parameterization. | |
10345 | |
10346 * pom.xml: Set the source code version to 1.5. | |
10347 | |
10348 2011-02-01 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
10349 | |
10350 * src/**, pom.xml: Added initial maven project. | |
10351 * ChangeLog: new. |