Mercurial > dive4elements > gnv-client
comparison gnv-artifacts/ChangeLog @ 433:828df3ddb758
Added interpolation capabilities along z axis to XYColumns.
gnv-artifacts/trunk@481 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Wed, 23 Dec 2009 12:20:25 +0000 |
parents | 6a70e8883307 |
children | 0eed5749fd63 |
comparison
equal
deleted
inserted
replaced
432:6a70e8883307 | 433:828df3ddb758 |
---|---|
1 2009-12-23 Sascha L. Teichmann <sascha.teichmann@intevation.de> | 1 2009-12-23 Sascha L. Teichmann <sascha.teichmann@intevation.de> |
2 | 2 |
3 * src/main/java/de/intevation/gnv/math/XYColumn.java: Added a method | |
4 prepare() which generates an continues interpolator for the | |
5 given z values. if only one value is given a constant function | |
6 is assumed. If the larger z-value is below zero the | |
7 next lower value is supplemented at zero. Symmetrically | |
8 if the lowest z-value is above the depth at the given point | |
9 the lowest value is repeated at depth. This should guarantee | |
10 that the gradient is vansihing towards the surface and the | |
11 bottom of the ocean. | |
12 | |
13 If after the supplementation there are less than three points | |
14 a linear interpolation is performed. If there are more than three | |
15 points a higher degree interpolation is used instead. This defaults | |
16 to a cubic spline interpolation. Overwrite the getInterpolator() | |
17 function to replace this behavior. | |
18 | |
19 * src/main/java/de/intevation/gnv/math/ConstantFunction.java: New. | |
20 Constant function used in interpolation. | |
21 | |
22 * src/main/java/de/intevation/gnv/math/LinearFunction.java: Added | |
23 an inner class Univariate which fits into the interpolation | |
24 framework. | |
25 | |
26 * src/main/java/de/intevation/gnv/math/HeightValue.java: Sort | |
27 z-Values in descending order because we are below zero. | |
28 | |
29 * src/main/java/de/intevation/gnv/math/XYDepth.java: New. Interface | |
30 to figure out the depth (negative values below surface) for | |
31 a given coordinate. TODO: Implement this by query the DEM grid | |
32 of the ocean. | |
33 | |
34 * src/main/java/de/intevation/gnv/math/AttributedXYColumns.java: Added | |
35 authors. | |
36 | |
37 2009-12-23 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
38 | |
3 * src/main/java/de/intevation/gnv/state/profile/verticalcrosssection/VerticalCrossSectionOutputState.java: | 39 * src/main/java/de/intevation/gnv/state/profile/verticalcrosssection/VerticalCrossSectionOutputState.java: |
4 When preprocessing database data only dissamble WKT points if we | 40 When preprocessing database data only dissemble WKT points if we |
5 have to. | 41 have to. |
6 Read z values as double value now. | 42 Read z values as double value now. |
7 Commented out CSV export because it takes the database data | 43 Commented out CSV export because it takes the database data |
8 as data which is not correct here. TODO: We need to implement some output | 44 as data which is not correct here. TODO: We need to implement some output |
9 based on the interpolated data. | 45 based on the interpolated data. |