comparison flys-artifacts/src/main/java/de/intevation/flys/exports/CrossSectionGenerator.java @ 1975:b30e1710df1d

Server-side of interactive cross-section diagrams. flys-artifacts/trunk@3394 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Tue, 13 Dec 2011 09:10:48 +0000
parents 65f9d707caff
children 156304542edf
comparison
equal deleted inserted replaced
1974:cdeb31ef20a1 1975:b30e1710df1d
90 * Get cross_section.km data from artifact. 90 * Get cross_section.km data from artifact.
91 */ 91 */
92 protected Double getKm() { 92 protected Double getKm() {
93 try { 93 try {
94 WINFOArtifact winfo = (WINFOArtifact) master; 94 WINFOArtifact winfo = (WINFOArtifact) master;
95 return winfo.getCrossSectionSnapKm(); 95 // TODO get km of "master cross section."
96 //return winfo.getCrossSectionSnapKm(0);
97 return 0.0d;
96 } 98 }
97 catch (Exception e) { 99 catch (Exception e) {
98 logger.error("Cannot convert cross_section.km to double"); 100 logger.error("Cannot convert cross_section.km to double");
99 return 0.0d; 101 return 0.0d;
100 } 102 }

http://dive4elements.wald.intevation.org