Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java @ 2685:5652a851f1b4
Fix water-through-mountain in cross sections.
flys-artifacts/trunk@4386 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Fri, 11 May 2012 07:08:56 +0000 |
parents | 3c4ec3b50af7 |
children | 5642a83420f2 |
comparison
equal
deleted
inserted
replaced
2684:14188f8daefb | 2685:5652a851f1b4 |
---|---|
592 else { | 592 else { |
593 StyledSeriesBuilder.addPoints(up, (WKms) data.getUpperData()); | 593 StyledSeriesBuilder.addPoints(up, (WKms) data.getUpperData()); |
594 } | 594 } |
595 } | 595 } |
596 else if (data.getUpperData() instanceof double[][]) { | 596 else if (data.getUpperData() instanceof double[][]) { |
597 StyledSeriesBuilder.addPoints(up, (double [][]) data.getUpperData()); | 597 StyledSeriesBuilder.addPoints(up, (double [][]) data.getUpperData(), false); |
598 } | 598 } |
599 else if (data.getUpperData() instanceof WKms) { | 599 else if (data.getUpperData() instanceof WKms) { |
600 StyledSeriesBuilder.addPoints(up, (WKms) data.getUpperData()); | 600 StyledSeriesBuilder.addPoints(up, (WKms) data.getUpperData()); |
601 } | 601 } |
602 else if (data.getUpperData() instanceof Lines.LineData) { | 602 else if (data.getUpperData() instanceof Lines.LineData) { |
603 StyledSeriesBuilder.addPoints(up, ((Lines.LineData) data.getUpperData()).points); | 603 StyledSeriesBuilder.addPoints(up, ((Lines.LineData) data.getUpperData()).points, false); |
604 } | 604 } |
605 else { | 605 else { |
606 logger.error("Do not know how to deal with (up) area info from: " | 606 logger.error("Do not know how to deal with (up) area info from: " |
607 + data.getUpperData()); | 607 + data.getUpperData()); |
608 } | 608 } |
621 else { | 621 else { |
622 StyledSeriesBuilder.addPoints(down, (WQKms) data.getLowerData()); | 622 StyledSeriesBuilder.addPoints(down, (WQKms) data.getLowerData()); |
623 } | 623 } |
624 } | 624 } |
625 else if (data.getLowerData() instanceof double[][]) { | 625 else if (data.getLowerData() instanceof double[][]) { |
626 StyledSeriesBuilder.addPoints(down, (double[][]) data.getLowerData()); | 626 StyledSeriesBuilder.addPoints(down, (double[][]) data.getLowerData(), false); |
627 } | 627 } |
628 else if (data.getLowerData() instanceof WKms) { | 628 else if (data.getLowerData() instanceof WKms) { |
629 StyledSeriesBuilder.addPoints(down, (WKms) data.getLowerData()); | 629 StyledSeriesBuilder.addPoints(down, (WKms) data.getLowerData()); |
630 } | 630 } |
631 else if (data.getLowerData() instanceof Lines.LineData) { | 631 else if (data.getLowerData() instanceof Lines.LineData) { |
632 StyledSeriesBuilder.addPoints(down, ((Lines.LineData) data.getLowerData()).points); | 632 StyledSeriesBuilder.addPoints(down, ((Lines.LineData) data.getLowerData()).points, false); |
633 } | 633 } |
634 else { | 634 else { |
635 logger.error("Do not know how to deal with (down) area info from: " | 635 logger.error("Do not know how to deal with (down) area info from: " |
636 + data.getLowerData()); | 636 + data.getLowerData()); |
637 } | 637 } |