Mercurial > dive4elements > river
comparison flys-artifacts/ChangeLog @ 2561:b3f6d49cdc80
Service to generate the data needed to build the "Fixerungen pro Fluss Uebersicht"
flys-artifacts/trunk@4087 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Sun, 19 Feb 2012 17:14:39 +0000 |
parents | 0d8c97374dc9 |
children | ba35dfb7c09a |
comparison
equal
deleted
inserted
replaced
2560:0d8c97374dc9 | 2561:b3f6d49cdc80 |
---|---|
1 2012-02-19 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
2 | |
3 Service to generate the data needed to build the "Fixerungen pro Fluss Uebersicht" | |
4 | |
5 * src/main/java/de/intevation/flys/artifacts/services/FixingsOverviewService.java: | |
6 New. A service that serves an XML overview version of the fixings of a given river. | |
7 | |
8 The input documents look like this: | |
9 | |
10 <?xml version="1.0" encoding="UTF-8"?> | |
11 <fixings> | |
12 <river name="Saar"/> | |
13 </fixings> | |
14 | |
15 The output documents looks like this: | |
16 | |
17 <?xml version="1.0" encoding="UTF-8"?> | |
18 <fixings> | |
19 <river from="0.0" rid="1" to="93.0"/> | |
20 <events> | |
21 ... | |
22 <event cid="85" date="29.01.1995 00:00" name="Fixierungen/0-93_1988-2001.wst"> | |
23 <sector class="0" from="82.7" to="92.85"/> | |
24 </event> | |
25 <event cid="86" date="13.11.1996 00:00" name="Fixierungen/0-93_1988-2001.wst"> | |
26 <sector class="2" from="0.0" to="50.599999"/> | |
27 <sector class="1" from="50.6" to="65.89"/> | |
28 </event> | |
29 ... | |
30 </events> | |
31 </fixings> | |
32 | |
33 The <river> element contains the extent of the whole river | |
34 and its db id. | |
35 The <events> sections contains serveral <event> elements. | |
36 They have a meassure date, db id, a name and a number of <sector>s. | |
37 These sectors are q classified from/to ranges. Classes are: | |
38 | |
39 0: smaller (MNQ+MQ)/2 | |
40 1: (MNQ+MQ)/2 to (MQ+MHQ)/2 | |
41 2: (MQ+MHQ)/2 to HQ5 | |
42 3: greater HQ5 | |
43 | |
44 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverview.java: | |
45 New. Cacheable instance of the overview. | |
46 TODO: Apply a filter mechanism when generating the output. | |
47 | |
48 * src/main/java/de/intevation/flys/artifacts/model/FixingsOverviewFactory.java: | |
49 New. Fetched the fixing overviews from cache if configured. | |
50 | |
51 * doc/conf/conf.xml: Added the service. | |
52 * doc/conf/cache.xml: Configured the cache for the fixing overviews. | |
53 | |
1 2012-02-17 Sascha L. Teichmann <sascha.teichmann@intevation.de> | 54 2012-02-17 Sascha L. Teichmann <sascha.teichmann@intevation.de> |
2 | 55 |
3 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java(getMinMaxQ): | 56 * src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java(getMinMaxQ): |
4 Argh! Forget to check in the range method. | 57 Argh! Forget to check in the range method. |
5 | 58 |