Class MultiLevelROIProviderFactory
Object
MultiLevelROIProviderFactory
- Direct Known Subclasses:
MultiLevelROIProviderMosaicFactory
Factory class used for returning a
MultiLevelROIProvider
based on the input footprint properties and files- Author:
- Andrea Aime, GeoSolutions, Nicola Lagomarsini, GeoSolutions, Daniele Romagnoli, GeoSolutions
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic MultiLevelROIProvider
createFootprintProvider
(File referenceFile) Builds a footprint provider from file locationstatic MultiLevelROIProvider
createFootprintProvider
(File referenceFile, Geometry granuleBounds) Builds a footprint provider from file locationprotected static MultiLevelROIProvider
createProvider
(FootprintGeometryProvider provider, Properties properties, Geometry imposedGranuleBounds) Create theMultiLevelROIProvider
given aFootprintGeometryProvider
, footprint config properties (if any) and, optionally a Default GranuleBounds geometryprotected static Properties
initProperties
(File configFile)
-
Field Details
-
SOURCE_PROPERTY
- See Also:
-
TYPE_SIDECAR
- See Also:
-
TYPE_RASTER
- See Also:
-
TYPE_MULTIPLE_SIDECAR
- See Also:
-
-
Constructor Details
-
MultiLevelROIProviderFactory
protected MultiLevelROIProviderFactory()
-
-
Method Details
-
createFootprintProvider
Builds a footprint provider from file location- Parameters:
referenceFile
- the reference file.
-
createFootprintProvider
public static MultiLevelROIProvider createFootprintProvider(File referenceFile, Geometry granuleBounds) Builds a footprint provider from file location- Parameters:
referenceFile
- 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.granuleBounds
- The optional granuleBounds geometry. if not null, it will be used as data's reference geometry.
-
createProvider
protected static MultiLevelROIProvider createProvider(FootprintGeometryProvider provider, Properties properties, Geometry imposedGranuleBounds) Create theMultiLevelROIProvider
given aFootprintGeometryProvider
, footprint config properties (if any) and, optionally a Default GranuleBounds geometry- Parameters:
provider
- theFootprintGeometryProvider
instance to be used to provide ROIs.properties
- an optionalProperties
instance containing footprints configuration.imposedGranuleBounds
- an optional default granuleBounds geometry
-
initProperties
-