diff flys-artifacts/ChangeLog @ 3059:4f7171ac6153

Parameters: Linear interpolation of parameters. flys-artifacts/trunk@4638 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Mon, 11 Jun 2012 14:51:21 +0000
parents df4d6b286af8
children 94d78e0dc5e9
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog	Mon Jun 11 12:19:46 2012 +0000
+++ b/flys-artifacts/ChangeLog	Mon Jun 11 14:51:21 2012 +0000
@@ -1,3 +1,12 @@
+2012-06-11	Sascha L. Teichmann	<sascha.teichmann@intevation.de>
+
+	* src/main/java/de/intevation/flys/artifacts/model/Parameters.java:
+	  Added interpolate methods that return an array of linear interpolated
+	  values for a given key. Say you have a column named "km" you can call
+	  'values = parameters.interpolate("km", 12)' to fetch a set 
+	  of proportional interpolated parameters even if there are only
+	  "km": 10 and "km": 15 in the data structure. Returns null if out of bounds.
+
 2012-06-11  Raimund Renkert <raimund.renkert@intevation.de>
 
 	* doc/conf/artifacts/minfo.xml:
@@ -18,7 +27,7 @@
 	  src/main/resources/messages_de.properties:
 	  Added i18n strings for states.
 
-2012-06-11	Sascha L. Teichmann	<sascha.teihmann@intevation.de>
+2012-06-11	Sascha L. Teichmann	<sascha.teichmann@intevation.de>
 
 	* src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java:
 	  Fixed broken logger class.

http://dive4elements.wald.intevation.org