Mercurial > dive4elements > gnv-client
comparison gnv-artifacts/src/main/java/de/intevation/gnv/statistics/VerticalProfileStatistics.java @ 255:5403452c06fc
Added proper values for calculating the Statistics of VerticalProfiles and HorizontalProfiles issue86
gnv-artifacts/trunk@330 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Tim Englich <tim.englich@intevation.de> |
---|---|
date | Thu, 12 Nov 2009 14:47:20 +0000 |
parents | 07650fc6014c |
children | e964a3d8f7bc |
comparison
equal
deleted
inserted
replaced
254:ce408af0ee57 | 255:5403452c06fc |
---|---|
21 public VerticalProfileStatistics() { | 21 public VerticalProfileStatistics() { |
22 super(); | 22 super(); |
23 } | 23 } |
24 | 24 |
25 @Override | 25 @Override |
26 protected double calculateXOrdinateValue(Result row) throws SQLException { | 26 protected double calculateXOrdinateValue(Result previousRow, Result row) throws SQLException { |
27 return 0; | 27 return row.getDouble("XORDINATE"); |
28 } | 28 } |
29 | 29 |
30 @Override | 30 @Override |
31 protected String generateStatisticsName( | 31 protected String generateStatisticsName( |
32 String break1, | 32 String break1, |