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