Class MultiLevelROIProviderFactory

Object
MultiLevelROIProviderFactory
Direct Known Subclasses:
MultiLevelROIProviderMosaicFactory

public class MultiLevelROIProviderFactory extends Object
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 Details

  • Constructor Details

    • MultiLevelROIProviderFactory

      protected MultiLevelROIProviderFactory()
  • Method Details

    • createFootprintProvider

      public static MultiLevelROIProvider createFootprintProvider(File referenceFile)
      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 the MultiLevelROIProvider given a FootprintGeometryProvider, footprint config properties (if any) and, optionally a Default GranuleBounds geometry
      Parameters:
      provider - the FootprintGeometryProvider instance to be used to provide ROIs.
      properties - an optional Properties instance containing footprints configuration.
      imposedGranuleBounds - an optional default granuleBounds geometry
    • initProperties

      protected static Properties initProperties(File configFile)