Package elki.datasource.filter.transform
Class LngLatToECEFFilter<V extends elki.data.NumberVector>
- java.lang.Object
-
- elki.datasource.filter.AbstractStreamFilter
-
- elki.datasource.filter.AbstractStreamConversionFilter<V,V>
-
- elki.datasource.filter.transform.LngLatToECEFFilter<V>
-
- Type Parameters:
V- Vector type.
- All Implemented Interfaces:
elki.datasource.bundle.BundleStreamSource,elki.datasource.filter.ObjectFilter,elki.datasource.filter.StreamFilter
public class LngLatToECEFFilter<V extends elki.data.NumberVector> extends elki.datasource.filter.AbstractStreamConversionFilter<V,V>Project a 2D data set (longitude, latitude) to a 3D coordinate system (X, Y, Z), such that Euclidean distance is line-of-sight.- Since:
- 0.6.0
- Author:
- Erich Schubert
-
-
Field Summary
Fields Modifier and Type Field Description private elki.data.NumberVector.Factory<V>factoryVector factory to use.private EarthModelmodelEarth model to use.
-
Constructor Summary
Constructors Constructor Description LngLatToECEFFilter(EarthModel model)Constructor.
-
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 VfilterSingleObject(V obj)protected elki.data.type.SimpleTypeInformation<? super V>getInputTypeRestriction()-
Methods inherited from class elki.datasource.filter.AbstractStreamConversionFilter
data, getMeta, nextEvent
-
-
-
-
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
-
LngLatToECEFFilter
public LngLatToECEFFilter(EarthModel model)
Constructor.- Parameters:
model- Earth model
-
-