diff gnv-artifacts/ChangeLog @ 644:f3882e94c7e0

Changed the way of calculating the total distance in 'Horizontalprofil'-charts (issue171). gnv-artifacts/trunk@730 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Thu, 04 Mar 2010 09:18:53 +0000
parents 24a85678bd39
children 0cf162fa4334
line wrap: on
line diff
--- a/gnv-artifacts/ChangeLog	Thu Mar 04 08:03:56 2010 +0000
+++ b/gnv-artifacts/ChangeLog	Thu Mar 04 09:18:53 2010 +0000
@@ -1,3 +1,16 @@
+2010-03-04  Ingo Weinzierl <ingo.weinzierl@intevation.de>
+
+	  Issue171
+
+	* src/main/java/de/intevation/gnv/chart/HorizontalProfileChart.java: Changed
+	  the way to calculate the current distance from startpoint. We do not
+	  calculate the distance between the current point and the last point and
+	  add this value to a variable storing the total distance anymore, but
+	  we take the distance between the current point and the start point. On
+	  this way, we do not need a variable to store the total distance, because
+	  current point - first point == total distance. And there is no
+	  impreciseness in gaps of different layers (see issue171 for this).
+
 2010-03-04  Ingo Weinzierl <ingo.weinzierl@intevation.de>
 
 	* src/main/java/de/intevation/gnv/chart/VerticalProfileChart.java: Added

http://dive4elements.wald.intevation.org