comparison flys-artifacts/ChangeLog @ 2120:f021080cb409

Use improved caching for cross section lines data. flys-artifacts/trunk@3690 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Mon, 16 Jan 2012 17:38:39 +0000
parents dc28ea60b53d
children 70ef5fdc7414
comparison
equal deleted inserted replaced
2119:dc28ea60b53d 2120:f021080cb409
1 2012-01-16 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2
3 Use improved caching for cross section data.
4 !!! This commit needs heavy testing !!!
5
6 * src/main/java/de/intevation/flys/artifacts/services/CrossSectionKMService.java:
7 Refactored to provide the map to determine the nearest cross section line
8 neighbors for a given km to the public. This is a bit hackish because
9 it hhould have its own factory which is then used by this service and
10 other parts of the code.
11
12 * src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java:
13 searchCrossSectionLine() now returns a FastCrossSectionLine. To find this
14 line efficiently it uses the map of the CrossSectionKMService which
15 already provides a nearest neighbor searching mechanism for cross
16 section lines. The FastCrossSectionLine is fetched with the
17 FastCrossSectionLineFactory which uses a cache as described in the
18 previous commit.
19
20 * src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java
21 src/main/java/de/intevation/flys/artifacts/WaterLineArtifact.java,
22 src/main/java/de/intevation/flys/artifacts/model/CrossSectionWaterLineFacet.java,
23 src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java,
24 src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Uses
25 the FastCrossSectionLine instead of CrossSectionLines now.
26
27 * src/main/java/de/intevation/flys/artifacts/model/FastCrossSectionLine.java:
28 Added method fetchCrossSectionProfile() to access the point data in
29 the profile generating compatible way.
30
31 * src/main/java/de/intevation/flys/artifacts/ChartArtifact.java: Removed
32 superfluous import.
33
1 2012-01-16 Sascha L. Teichmann <sascha.teichmann@intevation.de> 34 2012-01-16 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2 35
3 * doc/conf/cache.xml: Added cache for fast section lines chunks. 36 * doc/conf/cache.xml: Added cache for fast section lines chunks.
4 37
5 * src/main/java/de/intevation/flys/artifacts/model/FastCrossSectionChunk.java: 38 * src/main/java/de/intevation/flys/artifacts/model/FastCrossSectionChunk.java:

http://dive4elements.wald.intevation.org