Class LatLngToECEFFilter<V extends elki.data.NumberVector>

  • Type Parameters:
    V - Vector type.
    All Implemented Interfaces:
    elki.datasource.bundle.BundleStreamSource, elki.datasource.filter.ObjectFilter, elki.datasource.filter.StreamFilter

    public class LatLngToECEFFilter<V extends elki.data.NumberVector>
    extends elki.datasource.filter.AbstractStreamConversionFilter<V,​V>
    Project a 2D data set (latitude, longitude) to a 3D coordinate system (X, Y, Z), such that Euclidean distance is line-of-sight.
    Since:
    0.6.0
    Author:
    Erich Schubert
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface elki.datasource.bundle.BundleStreamSource

        elki.datasource.bundle.BundleStreamSource.Event
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private elki.data.NumberVector.Factory<V> factory
      Vector factory to use.
      private EarthModel model
      Earth model to use.
      • Fields inherited from class elki.datasource.filter.AbstractStreamFilter

        source
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected elki.data.type.SimpleTypeInformation<? super V> convertedType​(elki.data.type.SimpleTypeInformation<V> in)  
      protected V filterSingleObject​(V obj)  
      protected elki.data.type.SimpleTypeInformation<? super V> getInputTypeRestriction()  
      • Methods inherited from class elki.datasource.filter.AbstractStreamConversionFilter

        data, getMeta, nextEvent
      • Methods inherited from class elki.datasource.filter.AbstractStreamFilter

        asMultipleObjectsBundle, assignDBID, filter, hasDBIDs, init, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • factory

        private elki.data.NumberVector.Factory<V extends elki.data.NumberVector> factory
        Vector factory to use.
      • model

        private EarthModel model
        Earth model to use.
    • Constructor Detail

      • LatLngToECEFFilter

        public LatLngToECEFFilter​(EarthModel model)
        Constructor.
        Parameters:
        model - Earth model
    • Method Detail

      • filterSingleObject

        protected V filterSingleObject​(V obj)
        Specified by:
        filterSingleObject in class elki.datasource.filter.AbstractStreamConversionFilter<V extends elki.data.NumberVector,​V extends elki.data.NumberVector>
      • getInputTypeRestriction

        protected elki.data.type.SimpleTypeInformation<? super V> getInputTypeRestriction()
        Specified by:
        getInputTypeRestriction in class elki.datasource.filter.AbstractStreamConversionFilter<V extends elki.data.NumberVector,​V extends elki.data.NumberVector>
      • convertedType

        protected elki.data.type.SimpleTypeInformation<? super V> convertedType​(elki.data.type.SimpleTypeInformation<V> in)
        Specified by:
        convertedType in class elki.datasource.filter.AbstractStreamConversionFilter<V extends elki.data.NumberVector,​V extends elki.data.NumberVector>