Class MultiLevelROIGeometryOverviewsProvider
Object
MultiLevelROIGeometryOverviewsProvider
- All Implemented Interfaces:
MultiLevelROIProvider
A
MultiLevelROIProvider
implementation used for returning MultiLevelROIGeometryOverviews
s-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMultiLevelROIGeometryOverviewsProvider
(File baseFile, String overviewSuffixFormat, int numOverviews, FootprintLoader footprintLoader, FootprintLoader overviewsFootprintLoader, boolean overviewsRoiInRasterSpace, Hints hints) -
Method Summary
Modifier and TypeMethodDescriptionvoid
dispose()
Optional method to call for disposing the ProvidergetFootprintFiles
(SimpleFeature feature) Returns the footprint file used to load the footprint, or none if there was no file involvedReturns aMultiLevelROI
object from a granule
-
Field Details
-
LOOK_FOR_OVERVIEWS
public static final int LOOK_FOR_OVERVIEWS- See Also:
-
OVERVIEWS_SUFFIX_FORMAT_KEY
- See Also:
-
DEFAULT_OVERVIEWS_SUFFIX_FORMAT
- See Also:
-
DEFAULT_OVERVIEWS_ROI_IN_RASTER_SPACE
public static final boolean DEFAULT_OVERVIEWS_ROI_IN_RASTER_SPACE- See Also:
-
OVERVIEWS_ROI_IN_RASTER_SPACE_KEY
- See Also:
-
FOOTPRINT_LOADER_SPI
- See Also:
-
OVERVIEWS_FOOTPRINT_LOADER_SPI
- See Also:
-
-
Constructor Details
-
MultiLevelROIGeometryOverviewsProvider
public MultiLevelROIGeometryOverviewsProvider(File baseFile, String overviewSuffixFormat, int numOverviews, FootprintLoader footprintLoader, FootprintLoader overviewsFootprintLoader, boolean overviewsRoiInRasterSpace, Hints hints)
-
-
Method Details
-
getMultiScaleROI
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
-
getFootprintFiles
Description copied from interface:MultiLevelROIProvider
Returns the footprint file used to load the footprint, or none if there was no file involved- Specified by:
getFootprintFiles
in interfaceMultiLevelROIProvider
- Returns:
- The files used to load the footprints, or an empty list otherwise
- Throws:
IOException
-