Class MultiLevelROIGeometryOverviewsProvider
- Object
-
- MultiLevelROIGeometryOverviewsProvider
-
- All Implemented Interfaces:
MultiLevelROIProvider
public class MultiLevelROIGeometryOverviewsProvider extends Object implements MultiLevelROIProvider
AMultiLevelROIProvider
implementation used for returningMultiLevelROIGeometryOverviews
s
-
-
Field Summary
Fields Modifier and Type Field Description static boolean
DEFAULT_OVERVIEWS_ROI_IN_RASTER_SPACE
static String
DEFAULT_OVERVIEWS_SUFFIX_FORMAT
static String
FOOTPRINT_LOADER_SPI
static int
LOOK_FOR_OVERVIEWS
static String
OVERVIEWS_FOOTPRINT_LOADER_SPI
static String
OVERVIEWS_ROI_IN_RASTER_SPACE_KEY
static String
OVERVIEWS_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 void
dispose()
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 involvedMultiLevelROI
getMultiScaleROI(SimpleFeature sf)
Returns aMultiLevelROI
object 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: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
public List<File> getFootprintFiles(SimpleFeature feature) throws IOException
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
-
-