org.gcube.dataanalysis.geo.retrieval
Class GeoIntersector

java.lang.Object
  extended by org.gcube.dataanalysis.geo.retrieval.GeoIntersector

public class GeoIntersector
extends Object


Constructor Summary
GeoIntersector(String scope, String cfgDir)
           
 
Method Summary
static List<Double> associateValueToCoordinates(List<org.gcube.dataanalysis.ecoengine.utils.Tuple<Double>> coordinates, double[][] data)
           
static List<org.gcube.dataanalysis.ecoengine.utils.Tuple<Double>> generateCoordinateTriplets(double x1, double x2, double y1, double y2, double z, double xResolution, double yResolution)
           
 FeaturesManager getFeaturer()
           
 LinkedHashMap<String,Double> getFeaturesInAllTimes(String layerTitle, double x, double y, double z)
           
 LinkedHashMap<String,Double> getFeaturesInTime(String layerTitle, double x, double y)
           
 List<Double> getFeaturesInTimeInstant(String layerTitle, int time, List<org.gcube.dataanalysis.ecoengine.utils.Tuple<Double>> triplets, double xL, double xR, double yL, double yR)
           
 double[][] takeTimeSlice(String layerTitle, int timeInstant, double x1, double x2, double y1, double y2, double z, double xResolution, double yResolution)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeoIntersector

public GeoIntersector(String scope,
                      String cfgDir)
Method Detail

getFeaturer

public FeaturesManager getFeaturer()

getFeaturesInTime

public LinkedHashMap<String,Double> getFeaturesInTime(String layerTitle,
                                                      double x,
                                                      double y)
                                               throws Exception
Throws:
Exception

getFeaturesInAllTimes

public LinkedHashMap<String,Double> getFeaturesInAllTimes(String layerTitle,
                                                          double x,
                                                          double y,
                                                          double z)
                                                   throws Exception
Throws:
Exception

getFeaturesInTimeInstant

public List<Double> getFeaturesInTimeInstant(String layerTitle,
                                             int time,
                                             List<org.gcube.dataanalysis.ecoengine.utils.Tuple<Double>> triplets,
                                             double xL,
                                             double xR,
                                             double yL,
                                             double yR)
                                      throws Exception
Throws:
Exception

generateCoordinateTriplets

public static List<org.gcube.dataanalysis.ecoengine.utils.Tuple<Double>> generateCoordinateTriplets(double x1,
                                                                                                    double x2,
                                                                                                    double y1,
                                                                                                    double y2,
                                                                                                    double z,
                                                                                                    double xResolution,
                                                                                                    double yResolution)

associateValueToCoordinates

public static List<Double> associateValueToCoordinates(List<org.gcube.dataanalysis.ecoengine.utils.Tuple<Double>> coordinates,
                                                       double[][] data)

takeTimeSlice

public double[][] takeTimeSlice(String layerTitle,
                                int timeInstant,
                                double x1,
                                double x2,
                                double y1,
                                double y2,
                                double z,
                                double xResolution,
                                double yResolution)
                         throws Exception
Throws:
Exception


Copyright © 2013. All Rights Reserved.