comparison flys-artifacts/src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java @ 2567:1d1cf502a360

fix flys/issue638 (area between certain datatypes). flys-artifacts/trunk@4093 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Mon, 27 Feb 2012 10:49:20 +0000
parents 65ff8ff20be4
children 9e8459c2e7d4
comparison
equal deleted inserted replaced
2566:8bacd0ce3704 2567:1d1cf502a360
593 } 593 }
594 } 594 }
595 else if (data.getUpperData() instanceof double[][]) { 595 else if (data.getUpperData() instanceof double[][]) {
596 StyledSeriesBuilder.addPoints(up, (double [][]) data.getUpperData()); 596 StyledSeriesBuilder.addPoints(up, (double [][]) data.getUpperData());
597 } 597 }
598 else if (data.getUpperData() instanceof WKms) {
599 StyledSeriesBuilder.addPoints(up, (WKms) data.getUpperData());
600 }
598 else { 601 else {
599 logger.error("Do not know how to deal with (up) area info from: " 602 logger.error("Do not know how to deal with (up) area info from: "
600 + data.getUpperData()); 603 + data.getUpperData());
601 } 604 }
602 } 605 }
616 } 619 }
617 } 620 }
618 else if (data.getLowerData() instanceof double[][]) { 621 else if (data.getLowerData() instanceof double[][]) {
619 StyledSeriesBuilder.addPoints(down, (double[][]) data.getLowerData()); 622 StyledSeriesBuilder.addPoints(down, (double[][]) data.getLowerData());
620 } 623 }
624 else if (data.getLowerData() instanceof WKms) {
625 StyledSeriesBuilder.addPoints(down, (WKms) data.getLowerData());
626 }
621 else { 627 else {
622 logger.error("Do not know how to deal with (down) area info from: " 628 logger.error("Do not know how to deal with (down) area info from: "
623 + data.getLowerData()); 629 + data.getLowerData());
624 } 630 }
625 } 631 }

http://dive4elements.wald.intevation.org