Class MultiLevelROIGeometryOverviewsProvider
- Object
-
- MultiLevelROIGeometryOverviewsProvider
-
- All Implemented Interfaces:
MultiLevelROIProvider
public class MultiLevelROIGeometryOverviewsProvider extends Object implements MultiLevelROIProvider
AMultiLevelROIProviderimplementation used for returningMultiLevelROIGeometryOverviewss
-
-
Field Summary
Fields Modifier and Type Field Description static booleanDEFAULT_OVERVIEWS_ROI_IN_RASTER_SPACEstatic StringDEFAULT_OVERVIEWS_SUFFIX_FORMATstatic StringFOOTPRINT_LOADER_SPIstatic intLOOK_FOR_OVERVIEWSstatic StringOVERVIEWS_FOOTPRINT_LOADER_SPIstatic StringOVERVIEWS_ROI_IN_RASTER_SPACE_KEYstatic StringOVERVIEWS_SUFFIX_FORMAT_KEY
-
Constructor Summary
Constructors Constructor Description MultiLevelROIGeometryOverviewsProvider(File baseFile, String overviewSuffixFormat, int numOverviews, FootprintLoader footprintLoader, FootprintLoader overviewsFootprintLoader, boolean overviewsRoiInRasterSpace, Hints hints)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddispose()Optional method to call for disposing the ProviderList<File>getFootprintFiles(SimpleFeature feature)Returns the footprint file used to load the footprint, or none if there was no file involvedMultiLevelROIgetMultiScaleROI(SimpleFeature sf)Returns aMultiLevelROIobject from a granule
-
-
-
Field Detail
-
LOOK_FOR_OVERVIEWS
public static final int LOOK_FOR_OVERVIEWS
- See Also:
- Constant Field Values
-
OVERVIEWS_SUFFIX_FORMAT_KEY
public static final String OVERVIEWS_SUFFIX_FORMAT_KEY
- See Also:
- Constant Field Values
-
DEFAULT_OVERVIEWS_SUFFIX_FORMAT
public static final String DEFAULT_OVERVIEWS_SUFFIX_FORMAT
- See Also:
- Constant Field Values
-
DEFAULT_OVERVIEWS_ROI_IN_RASTER_SPACE
public static final boolean DEFAULT_OVERVIEWS_ROI_IN_RASTER_SPACE
- See Also:
- Constant Field Values
-
OVERVIEWS_ROI_IN_RASTER_SPACE_KEY
public static final String OVERVIEWS_ROI_IN_RASTER_SPACE_KEY
- See Also:
- Constant Field Values
-
FOOTPRINT_LOADER_SPI
public static final String FOOTPRINT_LOADER_SPI
- See Also:
- Constant Field Values
-
OVERVIEWS_FOOTPRINT_LOADER_SPI
public static final String OVERVIEWS_FOOTPRINT_LOADER_SPI
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
MultiLevelROIGeometryOverviewsProvider
public MultiLevelROIGeometryOverviewsProvider(File baseFile, String overviewSuffixFormat, int numOverviews, FootprintLoader footprintLoader, FootprintLoader overviewsFootprintLoader, boolean overviewsRoiInRasterSpace, Hints hints)
-
-
Method Detail
-
getMultiScaleROI
public MultiLevelROI getMultiScaleROI(SimpleFeature sf) throws IOException
Description copied from interface:MultiLevelROIProviderReturns aMultiLevelROIobject from a granule- Specified by:
getMultiScaleROIin interfaceMultiLevelROIProvider- Parameters:
sf-SimpleFeaturerelated to a granule (if several are available). Specifying a null feature should return the default provider.- Returns:
- a
MultiLevelROIobject associated to the input SimpleFeature - Throws:
IOException
-
dispose
public void dispose()
Description copied from interface:MultiLevelROIProviderOptional method to call for disposing the Provider- Specified by:
disposein interfaceMultiLevelROIProvider
-
getFootprintFiles
public List<File> getFootprintFiles(SimpleFeature feature) throws IOException
Description copied from interface:MultiLevelROIProviderReturns the footprint file used to load the footprint, or none if there was no file involved- Specified by:
getFootprintFilesin interfaceMultiLevelROIProvider- Returns:
- The files used to load the footprints, or an empty list otherwise
- Throws:
IOException
-
-