public class MultiLevelROIGeometryOverviewsProvider extends Object implements MultiLevelROIProvider
MultiLevelROIProvider
implementation used for returning MultiLevelROIGeometryOverviews
sModifier and Type | Field and 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 and Description |
---|
MultiLevelROIGeometryOverviewsProvider(File baseFile,
String overviewSuffixFormat,
int numOverviews,
FootprintLoader footprintLoader,
FootprintLoader overviewsFootprintLoader,
boolean overviewsRoiInRasterSpace,
Hints hints) |
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Optional method to call for disposing the Provider
|
List<File> |
getFootprintFiles(SimpleFeature feature)
Returns the footprint file used to load the footprint, or none if there was no file involved
|
MultiLevelROI |
getMultiScaleROI(SimpleFeature sf)
Returns a
MultiLevelROI object from a granule |
public static final int LOOK_FOR_OVERVIEWS
public static final String OVERVIEWS_SUFFIX_FORMAT_KEY
public static final String DEFAULT_OVERVIEWS_SUFFIX_FORMAT
public static final boolean DEFAULT_OVERVIEWS_ROI_IN_RASTER_SPACE
public static final String OVERVIEWS_ROI_IN_RASTER_SPACE_KEY
public static final String FOOTPRINT_LOADER_SPI
public static final String OVERVIEWS_FOOTPRINT_LOADER_SPI
public MultiLevelROIGeometryOverviewsProvider(File baseFile, String overviewSuffixFormat, int numOverviews, FootprintLoader footprintLoader, FootprintLoader overviewsFootprintLoader, boolean overviewsRoiInRasterSpace, Hints hints)
public MultiLevelROI getMultiScaleROI(SimpleFeature sf) throws IOException
MultiLevelROIProvider
MultiLevelROI
object from a granulegetMultiScaleROI
in interface MultiLevelROIProvider
sf
- SimpleFeature
related to a granule (if several are available). Specifying a
null feature should return the default provider.MultiLevelROI
object associated to the input SimpleFeatureIOException
public void dispose()
MultiLevelROIProvider
dispose
in interface MultiLevelROIProvider
public List<File> getFootprintFiles(SimpleFeature feature) throws IOException
MultiLevelROIProvider
getFootprintFiles
in interface MultiLevelROIProvider
IOException
Copyright © 1996–2019 Geotools. All rights reserved.