Mercurial > dive4elements > river
annotate artifacts/README @ 7697:640342d9ab8a
(issue1649) Remove broken getWKms from RiverUtils and use WDifferencesState instead
This was basically duplicated code but only the code in WDifferenceState
was maintained and extended.
Another RiverUtils function bites the dust.
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Mon, 16 Dec 2013 16:24:07 +0100 |
parents | 5aa05a7a34b7 |
children |
rev | line source |
---|---|
4168
e6b0d0b160b7
Added extracted doc from ChangeLog to READMEs in flys-artifact and flys-artifacts/contrib/.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
1 From ChangeLog: |
e6b0d0b160b7
Added extracted doc from ChangeLog to READMEs in flys-artifact and flys-artifacts/contrib/.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
2 |
e6b0d0b160b7
Added extracted doc from ChangeLog to READMEs in flys-artifact and flys-artifacts/contrib/.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
3 2012-04-04 Sascha L. Teichmann <sascha.teichmann@intevation.de> |
e6b0d0b160b7
Added extracted doc from ChangeLog to READMEs in flys-artifact and flys-artifacts/contrib/.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
4 |
e6b0d0b160b7
Added extracted doc from ChangeLog to READMEs in flys-artifact and flys-artifacts/contrib/.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
5 * src/main/java/de/intevation/flys/artifacts/services/FixingsKMChartService.java: |
e6b0d0b160b7
Added extracted doc from ChangeLog to READMEs in flys-artifact and flys-artifacts/contrib/.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
6 New. Service to generate a chart of fixings for given river and km applied |
e6b0d0b160b7
Added extracted doc from ChangeLog to READMEs in flys-artifact and flys-artifacts/contrib/.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
7 some filters. |
e6b0d0b160b7
Added extracted doc from ChangeLog to READMEs in flys-artifact and flys-artifacts/contrib/.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
8 |
e6b0d0b160b7
Added extracted doc from ChangeLog to READMEs in flys-artifact and flys-artifacts/contrib/.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
9 Usage: |
e6b0d0b160b7
Added extracted doc from ChangeLog to READMEs in flys-artifact and flys-artifacts/contrib/.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
10 $ curl http://localhost:8181/service/fixings-km-chart \ |
e6b0d0b160b7
Added extracted doc from ChangeLog to READMEs in flys-artifact and flys-artifacts/contrib/.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
11 -d @fix-overview.xml > chart.png |
e6b0d0b160b7
Added extracted doc from ChangeLog to READMEs in flys-artifact and flys-artifacts/contrib/.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
12 |
e6b0d0b160b7
Added extracted doc from ChangeLog to READMEs in flys-artifact and flys-artifacts/contrib/.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
13 The input XML is nearly the same as for the overview service. |
e6b0d0b160b7
Added extracted doc from ChangeLog to READMEs in flys-artifact and flys-artifacts/contrib/.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
14 Besides the river, filters and range it accepts elements |
e6b0d0b160b7
Added extracted doc from ChangeLog to READMEs in flys-artifact and flys-artifacts/contrib/.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
15 <km value="..."/> for passing the river km, |
e6b0d0b160b7
Added extracted doc from ChangeLog to READMEs in flys-artifact and flys-artifacts/contrib/.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
16 <extent width="..." height="..."/> for the extent of the output chart, |
e6b0d0b160b7
Added extracted doc from ChangeLog to READMEs in flys-artifact and flys-artifacts/contrib/.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
17 <mime type="..."/> for type of result. Currently ignored. |
e6b0d0b160b7
Added extracted doc from ChangeLog to READMEs in flys-artifact and flys-artifacts/contrib/.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
18 |
e6b0d0b160b7
Added extracted doc from ChangeLog to READMEs in flys-artifact and flys-artifacts/contrib/.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
19 ATM only a static fixed sized PNG image is delivered. |
e6b0d0b160b7
Added extracted doc from ChangeLog to READMEs in flys-artifact and flys-artifacts/contrib/.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
20 |
e6b0d0b160b7
Added extracted doc from ChangeLog to READMEs in flys-artifact and flys-artifacts/contrib/.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
21 2012-02-27 Sascha L. Teichmann <sascha.teichmann@intevation.de> |
e6b0d0b160b7
Added extracted doc from ChangeLog to READMEs in flys-artifact and flys-artifacts/contrib/.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
22 |
e6b0d0b160b7
Added extracted doc from ChangeLog to READMEs in flys-artifact and flys-artifacts/contrib/.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
23 Added functions to be used for fitting in |
e6b0d0b160b7
Added extracted doc from ChangeLog to READMEs in flys-artifact and flys-artifacts/contrib/.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
24 the "Fixierungsanalyse" and "Extremwertermittlung". |
e6b0d0b160b7
Added extracted doc from ChangeLog to READMEs in flys-artifact and flys-artifacts/contrib/.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
25 |
e6b0d0b160b7
Added extracted doc from ChangeLog to READMEs in flys-artifact and flys-artifacts/contrib/.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
26 [...] |
e6b0d0b160b7
Added extracted doc from ChangeLog to READMEs in flys-artifact and flys-artifacts/contrib/.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
27 |
e6b0d0b160b7
Added extracted doc from ChangeLog to READMEs in flys-artifact and flys-artifacts/contrib/.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
28 * src/main/java/de/intevation/flys/artifacts/math/fitting/App.java: New. |
e6b0d0b160b7
Added extracted doc from ChangeLog to READMEs in flys-artifact and flys-artifacts/contrib/.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
29 Small test driver to check if the fitting is working. The points to |
e6b0d0b160b7
Added extracted doc from ChangeLog to READMEs in flys-artifact and flys-artifacts/contrib/.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
30 fit are read from stdin the function to fit is determined by the |
e6b0d0b160b7
Added extracted doc from ChangeLog to READMEs in flys-artifact and flys-artifacts/contrib/.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
31 system property 'function'. Example usage: |
e6b0d0b160b7
Added extracted doc from ChangeLog to READMEs in flys-artifact and flys-artifacts/contrib/.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
32 |
e6b0d0b160b7
Added extracted doc from ChangeLog to READMEs in flys-artifact and flys-artifacts/contrib/.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
33 $ mvn -e \ |
e6b0d0b160b7
Added extracted doc from ChangeLog to READMEs in flys-artifact and flys-artifacts/contrib/.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
34 -Dfunction=linear \ |
e6b0d0b160b7
Added extracted doc from ChangeLog to READMEs in flys-artifact and flys-artifacts/contrib/.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
35 -Dexec.mainClass=de.intevation.flys.artifacts.math.fitting.App exec:java <<EOF |
e6b0d0b160b7
Added extracted doc from ChangeLog to READMEs in flys-artifact and flys-artifacts/contrib/.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
36 357.390696917 7546.72096163 |
e6b0d0b160b7
Added extracted doc from ChangeLog to READMEs in flys-artifact and flys-artifacts/contrib/.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
37 61.4291036312 1334.54835721 |
e6b0d0b160b7
Added extracted doc from ChangeLog to READMEs in flys-artifact and flys-artifacts/contrib/.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
38 799.962128234 16836.7698076 |
e6b0d0b160b7
Added extracted doc from ChangeLog to READMEs in flys-artifact and flys-artifacts/contrib/.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
39 126.52761023 2703.69789985 |
e6b0d0b160b7
Added extracted doc from ChangeLog to READMEs in flys-artifact and flys-artifacts/contrib/.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
40 900.448553398 18955.0578748 |
e6b0d0b160b7
Added extracted doc from ChangeLog to READMEs in flys-artifact and flys-artifacts/contrib/.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
41 EOF |
e6b0d0b160b7
Added extracted doc from ChangeLog to READMEs in flys-artifact and flys-artifacts/contrib/.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
42 |
e6b0d0b160b7
Added extracted doc from ChangeLog to READMEs in flys-artifact and flys-artifacts/contrib/.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
43 2012-02-21 Sascha L. Teichmann <sascha.teichmann@intevation.de> |
e6b0d0b160b7
Added extracted doc from ChangeLog to READMEs in flys-artifact and flys-artifacts/contrib/.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
44 |
e6b0d0b160b7
Added extracted doc from ChangeLog to READMEs in flys-artifact and flys-artifacts/contrib/.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
45 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverview.java: |
e6b0d0b160b7
Added extracted doc from ChangeLog to READMEs in flys-artifact and flys-artifacts/contrib/.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
46 - Calculate the extent of the river by the extents of the fixings. |
e6b0d0b160b7
Added extracted doc from ChangeLog to READMEs in flys-artifact and flys-artifacts/contrib/.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
47 Reason: The river Elbe has only has fixings up to km 351. The other half |
e6b0d0b160b7
Added extracted doc from ChangeLog to READMEs in flys-artifact and flys-artifacts/contrib/.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
48 of the river is empty which results in a sparse looking overview. |
e6b0d0b160b7
Added extracted doc from ChangeLog to READMEs in flys-artifact and flys-artifacts/contrib/.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
49 - Add the name of the river as name attribute to resulting <river> element. |
e6b0d0b160b7
Added extracted doc from ChangeLog to READMEs in flys-artifact and flys-artifacts/contrib/.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
50 |
e6b0d0b160b7
Added extracted doc from ChangeLog to READMEs in flys-artifact and flys-artifacts/contrib/.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
51 * contrib/fixoverview2html.xsl: New. Demo XSL transformation to turn |
e6b0d0b160b7
Added extracted doc from ChangeLog to READMEs in flys-artifact and flys-artifacts/contrib/.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
52 the output of the overview service directly into HTML. Used in the |
e6b0d0b160b7
Added extracted doc from ChangeLog to READMEs in flys-artifact and flys-artifacts/contrib/.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
53 client a variant of this script could be used for producing the content |
e6b0d0b160b7
Added extracted doc from ChangeLog to READMEs in flys-artifact and flys-artifacts/contrib/.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
54 of the assistance widget. Usage: |
e6b0d0b160b7
Added extracted doc from ChangeLog to READMEs in flys-artifact and flys-artifacts/contrib/.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
55 |
e6b0d0b160b7
Added extracted doc from ChangeLog to READMEs in flys-artifact and flys-artifacts/contrib/.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
56 $ curl http://localhost:8181/service/fixings-overview \ |
e6b0d0b160b7
Added extracted doc from ChangeLog to READMEs in flys-artifact and flys-artifacts/contrib/.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
57 -d @fix-overview.xml | \ |
e6b0d0b160b7
Added extracted doc from ChangeLog to READMEs in flys-artifact and flys-artifacts/contrib/.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
58 xsltproc contrib/fixoverview2html.xsl - \ |
e6b0d0b160b7
Added extracted doc from ChangeLog to READMEs in flys-artifact and flys-artifacts/contrib/.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
59 > fixings-overview.html |
e6b0d0b160b7
Added extracted doc from ChangeLog to READMEs in flys-artifact and flys-artifacts/contrib/.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
60 |
e6b0d0b160b7
Added extracted doc from ChangeLog to READMEs in flys-artifact and flys-artifacts/contrib/.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
61 2011-07-20 Sascha L. Teichmann <sascha.teichmann@intevation.de> |
e6b0d0b160b7
Added extracted doc from ChangeLog to READMEs in flys-artifact and flys-artifacts/contrib/.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
62 |
e6b0d0b160b7
Added extracted doc from ChangeLog to READMEs in flys-artifact and flys-artifacts/contrib/.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
63 * src/main/java/de/intevation/flys/artifacts/services/meta/App.java: New. |
e6b0d0b160b7
Added extracted doc from ChangeLog to READMEs in flys-artifact and flys-artifacts/contrib/.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
64 Standalone app to debug the datacage template. To use in a maven environment: |
e6b0d0b160b7
Added extracted doc from ChangeLog to READMEs in flys-artifact and flys-artifacts/contrib/.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
65 |
e6b0d0b160b7
Added extracted doc from ChangeLog to READMEs in flys-artifact and flys-artifacts/contrib/.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
66 -Dmeta.data.template=PATH_TO_META_DATA-TEMPLATE.XML \ |
e6b0d0b160b7
Added extracted doc from ChangeLog to READMEs in flys-artifact and flys-artifacts/contrib/.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
67 -Dmeta.data.parameters=river:Mosel \ |
e6b0d0b160b7
Added extracted doc from ChangeLog to READMEs in flys-artifact and flys-artifacts/contrib/.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
68 -Dmeta.data.output=OUTPUT.XML \ |
e6b0d0b160b7
Added extracted doc from ChangeLog to READMEs in flys-artifact and flys-artifacts/contrib/.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
69 -Dflys.backend.user=DB_USER \ |
e6b0d0b160b7
Added extracted doc from ChangeLog to READMEs in flys-artifact and flys-artifacts/contrib/.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
70 -Dflys.backend.password=DB_PASSWORD \ |
e6b0d0b160b7
Added extracted doc from ChangeLog to READMEs in flys-artifact and flys-artifacts/contrib/.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
71 -Dflys.backend.url=DB_CONNECTION_URL \ |
e6b0d0b160b7
Added extracted doc from ChangeLog to READMEs in flys-artifact and flys-artifacts/contrib/.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
72 -Dexec.mainClass=de.intevation.flys.artifacts.services.meta.App |
e6b0d0b160b7
Added extracted doc from ChangeLog to READMEs in flys-artifact and flys-artifacts/contrib/.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
73 |
e6b0d0b160b7
Added extracted doc from ChangeLog to READMEs in flys-artifact and flys-artifacts/contrib/.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
74 2011-07-13 Sascha L. Teichmann <sascha.teichmann@intevation.de> |
e6b0d0b160b7
Added extracted doc from ChangeLog to READMEs in flys-artifact and flys-artifacts/contrib/.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
75 |
e6b0d0b160b7
Added extracted doc from ChangeLog to READMEs in flys-artifact and flys-artifacts/contrib/.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
76 * src/main/java/de/intevation/flys/artifacts/charts/CrossSectionApp.java: |
e6b0d0b160b7
Added extracted doc from ChangeLog to READMEs in flys-artifact and flys-artifacts/contrib/.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
77 New. Standalone Swing-App to test cross sections from database without the |
e6b0d0b160b7
Added extracted doc from ChangeLog to READMEs in flys-artifact and flys-artifacts/contrib/.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
78 hassles of our complete software stack. Runnable from a maven environment: |
e6b0d0b160b7
Added extracted doc from ChangeLog to READMEs in flys-artifact and flys-artifacts/contrib/.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
79 |
e6b0d0b160b7
Added extracted doc from ChangeLog to READMEs in flys-artifact and flys-artifacts/contrib/.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
80 $ mvn -e \ |
e6b0d0b160b7
Added extracted doc from ChangeLog to READMEs in flys-artifact and flys-artifacts/contrib/.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
81 -Dflys.backend.user=DB_USER \ |
e6b0d0b160b7
Added extracted doc from ChangeLog to READMEs in flys-artifact and flys-artifacts/contrib/.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
82 -Dflys.backend.password=DB_PASSWD \ |
e6b0d0b160b7
Added extracted doc from ChangeLog to READMEs in flys-artifact and flys-artifacts/contrib/.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
83 -Dflys.backend.url=DB_CONNECTION_URL \ |
e6b0d0b160b7
Added extracted doc from ChangeLog to READMEs in flys-artifact and flys-artifacts/contrib/.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
84 -Dexec.mainClass=de.intevation.flys.artifacts.charts.CrossSectionApp \ |
e6b0d0b160b7
Added extracted doc from ChangeLog to READMEs in flys-artifact and flys-artifacts/contrib/.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
85 exec:java |
e6b0d0b160b7
Added extracted doc from ChangeLog to READMEs in flys-artifact and flys-artifacts/contrib/.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
86 |
e6b0d0b160b7
Added extracted doc from ChangeLog to READMEs in flys-artifact and flys-artifacts/contrib/.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
87 You can set the river to be used with the system property 'river'. |
e6b0d0b160b7
Added extracted doc from ChangeLog to READMEs in flys-artifact and flys-artifacts/contrib/.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
88 Defaults to 'Mosel'. |
e6b0d0b160b7
Added extracted doc from ChangeLog to READMEs in flys-artifact and flys-artifacts/contrib/.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
diff
changeset
|
89 |