Package uk.ac.rdg.resc.edal.dataset
Class FeatureIndexer.FeatureBounds
- java.lang.Object
-
- uk.ac.rdg.resc.edal.dataset.FeatureIndexer.FeatureBounds
-
- All Implemented Interfaces:
Serializable
- Enclosing interface:
- FeatureIndexer
public static class FeatureIndexer.FeatureBounds extends Object implements Serializable
A class representing the spatial bounds of a feature with a single point. This is used to index features.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FeatureBounds(String id, BoundingBox hBbox, Extent<Double> verticalExtent, Extent<org.joda.time.DateTime> timeExtent, Collection<String> variableIds)FeatureBounds(String id, HorizontalPosition horizontalPosition, Extent<Double> verticalExtent, Extent<org.joda.time.DateTime> timeExtent, Collection<String> variableIds)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FeatureIndexer.FeatureBoundsfromPointSeriesFeature(PointSeriesFeature feature)Convenience method to generate aFeatureIndexer.FeatureBoundsobject from aPointSeriesFeaturestatic FeatureIndexer.FeatureBoundsfromProfileFeature(ProfileFeature feature)Convenience method to generate aFeatureIndexer.FeatureBoundsobject from aProfileFeaturestatic FeatureIndexer.FeatureBoundsfromProfileFeature(TrajectoryFeature feature)Convenience method to generate aFeatureIndexer.FeatureBoundsobject from aTrajectoryFeature
-
-
-
Constructor Detail
-
FeatureBounds
public FeatureBounds(String id, HorizontalPosition horizontalPosition, Extent<Double> verticalExtent, Extent<org.joda.time.DateTime> timeExtent, Collection<String> variableIds)
-
FeatureBounds
public FeatureBounds(String id, BoundingBox hBbox, Extent<Double> verticalExtent, Extent<org.joda.time.DateTime> timeExtent, Collection<String> variableIds)
-
-
Method Detail
-
fromProfileFeature
public static FeatureIndexer.FeatureBounds fromProfileFeature(ProfileFeature feature)
Convenience method to generate aFeatureIndexer.FeatureBoundsobject from aProfileFeature- Parameters:
feature- AProfileFeatureto calculate the bounds for- Returns:
- The appropriate
FeatureIndexer.FeatureBounds
-
fromPointSeriesFeature
public static FeatureIndexer.FeatureBounds fromPointSeriesFeature(PointSeriesFeature feature)
Convenience method to generate aFeatureIndexer.FeatureBoundsobject from aPointSeriesFeature- Parameters:
feature- APointSeriesFeatureto calculate the bounds for- Returns:
- The appropriate
FeatureIndexer.FeatureBounds
-
fromProfileFeature
public static FeatureIndexer.FeatureBounds fromProfileFeature(TrajectoryFeature feature)
Convenience method to generate aFeatureIndexer.FeatureBoundsobject from aTrajectoryFeature- Parameters:
feature- ATrajectoryFeatureto calculate the bounds for- Returns:
- The appropriate
FeatureIndexer.FeatureBounds
-
-