comparison gnv-artifacts/src/main/java/de/intevation/gnv/chart/HorizontalProfileChart.java @ 643:24a85678bd39

Added some more debug information while gap detection. gnv-artifacts/trunk@729 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Thu, 04 Mar 2010 08:03:56 +0000
parents 061355435075
children f3882e94c7e0
comparison
equal deleted inserted replaced
642:83f8f98a4f11 643:24a85678bd39
166 currentPoint 166 currentPoint
167 ); 167 );
168 168
169 boolean detected = gridDetection(last, current); 169 boolean detected = gridDetection(last, current);
170 170
171 if (log.isDebugEnabled()) {
172 log.debug("Current distance from start: " + range);
173 log.debug("Last point: " + lastPoint.toString());
174 log.debug("Current point: " + currentPoint.toString());
175 log.debug("Distance (current point - last point): " + distance);
176 }
177
171 if (detected) { 178 if (detected) {
172 log.debug( 179 log.info(
173 "Gap detected on grid between " + range + 180 "Gap detected on grid between " + range +
174 " and " + (range+distance) 181 " and " + (range+distance)
175 ); 182 );
176 183
177 ((XYSeries) series).add(range+0.0001, null); 184 ((XYSeries) series).add(range+0.0001, null);

http://dive4elements.wald.intevation.org