Mercurial > dive4elements > gnv-client
comparison gnv-artifacts/ChangeLog @ 528:44415ae01ddb
Fixed issue gnv/issue159
gnv-artifacts/trunk@624 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Mon, 25 Jan 2010 18:25:19 +0000 |
parents | f598702b2a10 |
children | d2c68f2f619b |
comparison
equal
deleted
inserted
replaced
527:f598702b2a10 | 528:44415ae01ddb |
---|---|
1 2010-01-25 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
2 | |
3 Fix/Workaround for gnv/issue159 | |
4 | |
5 * src/main/java/de/intevation/gnv/state/profile/horizontalcrosssection/HorizontalCrossSectionMeshOutputState.java, | |
6 src/main/java/de/intevation/gnv/state/profile/verticalcrosssection/VerticalCrossSectionOutputState.java, | |
7 src/main/java/de/intevation/gnv/state/profile/horizontal/HorizontalProfileMeshCrossOutputState.java: | |
8 Deactivated the index buffer by default because applying it gives to | |
9 less data points in some circumstances. When processing the | |
10 "horizontalen Schnittprofile", the "Profilschnitte" and the | |
11 "Horizontalschnitte" the whole set of mesh cells for | |
12 the given parameters are retrieved. This results in much | |
13 more traffic from database (~ 10x) but seems not to be much slower. | |
14 The memory consumption increases accordingly. | |
15 | |
16 To turn the index buffer on again use the boolean system properties: | |
17 | |
18 "gnv.horizontal.profile.mesh.cross.index.buffer" | |
19 "gnv.vertical.cross.section.index.buffer" | |
20 "gnv.horizontal.profile.mesh.cross.index.buffer" | |
21 | |
22 * src/main/java/de/intevation/gnv/math/Interpolation2D.java: Because much | |
23 more data is processed a more sophisticated point culling strategy is | |
24 implemented now. | |
25 | |
26 If the number of points are higher than a given threshold (system property | |
27 "gnv.interpolation2d.cull.point.threshold", default: 1000) a culling is | |
28 performed. Two cases: | |
29 | |
30 a) given a path P ("horizontales Schnittprofil", "Profilschnitt") | |
31 Calculates a bounding box B for P and continues with (b). | |
32 | |
33 b) a bounding box B ("Horizontalschnitt", and above after (a)) | |
34 Calculates a bounding box C for the input points. If the | |
35 area of B is greater than 80% of the area of C no culling is | |
36 performed. Else B is extended by 10% in each direction. | |
37 If the new area of B is smaller than 10% of the area of C | |
38 B is adjusted to have at least 10% the size of C. | |
39 | |
40 All input points that are not inside B are culled. Afterwards the | |
41 i/j grid cell units are created and pushed into a spatial index | |
42 as described below. | |
43 | |
1 2010-01-25 Ingo Weinzierl <ingo.weinzierl@intevation.de> | 44 2010-01-25 Ingo Weinzierl <ingo.weinzierl@intevation.de> |
2 | 45 |
3 Issue157 | 46 Issue157 |
4 | 47 |
5 * src/main/java/de/intevation/gnv/chart/VerticalCrossSectionChart.java: | 48 * src/main/java/de/intevation/gnv/chart/VerticalCrossSectionChart.java: |