public class MultiLevelROIProviderFactory extends Object
MultiLevelROIProvider
based on the input footprint
properties and filesModifier and Type | Field and Description |
---|---|
static String |
SOURCE_PROPERTY |
static String |
TYPE_MULTIPLE_SIDECAR |
static String |
TYPE_RASTER |
static String |
TYPE_SIDECAR |
Modifier | Constructor and Description |
---|---|
protected |
MultiLevelROIProviderFactory() |
Modifier and Type | Method and Description |
---|---|
static MultiLevelROIProvider |
createFootprintProvider(File referenceFile)
Builds a footprint provider from file location
|
static MultiLevelROIProvider |
createFootprintProvider(File referenceFile,
Geometry granuleBounds)
Builds a footprint provider from file location
|
protected static MultiLevelROIProvider |
createProvider(FootprintGeometryProvider provider,
Properties properties,
Geometry imposedGranuleBounds)
Create the
MultiLevelROIProvider given a FootprintGeometryProvider , footprint
config properties (if any) and, optionally a Default GranuleBounds geometry |
protected static Properties |
initProperties(File configFile) |
public static final String SOURCE_PROPERTY
public static final String TYPE_SIDECAR
public static final String TYPE_RASTER
public static final String TYPE_MULTIPLE_SIDECAR
public static MultiLevelROIProvider createFootprintProvider(File referenceFile)
the
- reference file.Exception
#createFootprintProvider(File, Geometry)}
public static MultiLevelROIProvider createFootprintProvider(File referenceFile, Geometry granuleBounds)
It
- can be: - a folder containing the footprint config files (if any) OR the footprint
itself. - the data file for which we are looking for a footprint.The
- optional granuleBounds geometry. if not null, it will be used as data's reference
geometry.Exception
protected static MultiLevelROIProvider createProvider(FootprintGeometryProvider provider, Properties properties, Geometry imposedGranuleBounds)
MultiLevelROIProvider
given a FootprintGeometryProvider
, footprint
config properties (if any) and, optionally a Default GranuleBounds geometryprovider
- the FootprintGeometryProvider
instance to be used to provide ROIs.properties
- an optional Properties
instance containing footprints
configuration.imposedGranuleBounds
- an optional default granuleBounds geometryprotected static Properties initProperties(File configFile)
Copyright © 1996–2019 Geotools. All rights reserved.