Class MultiLevelROIGeometryProvider
- Object
-
- MultiLevelROIGeometryProvider
-
- All Implemented Interfaces:
MultiLevelROIProvider
public class MultiLevelROIGeometryProvider extends Object implements MultiLevelROIProvider
AMultiLevelROIProvider
implementation used for returningMultiLevelROIGeometry
s
-
-
Constructor Summary
Constructors Constructor Description MultiLevelROIGeometryProvider(FootprintGeometryProvider geometryProvider, double inset, FootprintInsetPolicy insetPolicy)
Geometry provider constructor based on per feature granuleBoundsMultiLevelROIGeometryProvider(FootprintGeometryProvider geometryProvider, double inset, FootprintInsetPolicy insetPolicy, Geometry defaultGranuleBounds)
Geometry provider constructor based on a fixed granuleBounds
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dispose()
Optional method to call for disposing the ProviderMultiLevelROI
getMultiScaleROI(SimpleFeature sf)
Returns aMultiLevelROI
object from a granule-
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface MultiLevelROIProvider
getFootprintFiles
-
-
-
-
Constructor Detail
-
MultiLevelROIGeometryProvider
public MultiLevelROIGeometryProvider(FootprintGeometryProvider geometryProvider, double inset, FootprintInsetPolicy insetPolicy, Geometry defaultGranuleBounds)
Geometry provider constructor based on a fixed granuleBounds
-
MultiLevelROIGeometryProvider
public MultiLevelROIGeometryProvider(FootprintGeometryProvider geometryProvider, double inset, FootprintInsetPolicy insetPolicy)
Geometry provider constructor based on per feature granuleBounds
-
-
Method Detail
-
getMultiScaleROI
public MultiLevelROI getMultiScaleROI(SimpleFeature sf) throws IOException
Description copied from interface:MultiLevelROIProvider
Returns aMultiLevelROI
object from a granule- Specified by:
getMultiScaleROI
in interfaceMultiLevelROIProvider
- Parameters:
sf
-SimpleFeature
related to a granule (if several are available). Specifying a null feature should return the default provider.- Returns:
- a
MultiLevelROI
object associated to the input SimpleFeature - Throws:
IOException
-
dispose
public void dispose()
Description copied from interface:MultiLevelROIProvider
Optional method to call for disposing the Provider- Specified by:
dispose
in interfaceMultiLevelROIProvider
-
-