view gnv-artifacts/src/main/java/de/intevation/gnv/statistics/VerticalProfileStatistics.java @ 185:5fc8f41669a6

Added Calculation of the Distance in the unit km for Geodetic-Coordinates according to the Specification GT_0030.004 gnv-artifacts/trunk@229 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Fri, 16 Oct 2009 12:37:00 +0000
parents 7fb9441dd8af
children bab92ad1165d
line wrap: on
line source
/**
 *
 */
package de.intevation.gnv.statistics;

import java.sql.SQLException;

import de.intevation.gnv.geobackend.base.Result;

/**
 * @author Tim Englich <tim.englich@intevation.de>
 * 
 */
public class VerticalProfileStatistics extends TimeseriesStatistics {

    /**
     * Constructor
     */
    public VerticalProfileStatistics() {
        super();
    }

    @Override
    protected double calculateXOrdinateValue(Result row) throws SQLException {
        return row.getDouble("XORDINATE");
    }

}

http://dive4elements.wald.intevation.org