Class GeoTiffStore

Object
DataStore
GeoTiffStore
All Implemented Interfaces:
Auto­Closeable, Aggregate, Resource, Localized

public class GeoTiffStore extends DataStore implements Aggregate
A data store backed by GeoTIFF files.
Since:
0.8
  • Constructor Details

    • GeoTiffStore

      public GeoTiffStore(DataStoreProvider provider, StorageConnector connector) throws DataStoreException
      Creates a new GeoTIFF store from the given file, URL or stream object. This constructor invokes Storage­Connector​.close­All­Except(Object), keeping open only the needed resource.
      Parameters:
      provider - the factory that created this Data­Store instance, or null if unspecified.
      connector - information about the storage (URL, stream, etc).
      Throws:
      Data­Store­Exception - if an error occurred while opening the GeoTIFF file.
      Since:
      1.5
    • GeoTiffStore

      public GeoTiffStore(DataStore parent, DataStoreProvider provider, StorageConnector connector, boolean hidden) throws DataStoreException
      Creates a new GeoTIFF store as a component of a larger data store. If the hidden parameter is true, some metadata that would normally be provided in this Geo­Tiff­Store will be provided by individual components instead.

      Example

      A Landsat data set is a collection of files in a directory or ZIP file, which includes more than 10 GeoTIFF files (one image per band or product for a scene). Landsat­Store is a data store opening the Landsat metadata file as the main file, then opening each band/product using a GeoTIFF data store. Those bands/products are components of the Landsat data store.
      Parameters:
      parent - the parent that contains this new GeoTIFF store component, or null if none.
      provider - the factory that created this Data­Store instance, or null if unspecified.
      connector - information about the storage (URL, stream, etc).
      hidden - true if this GeoTIFF store will not be directly accessible from the parent. It is the case if the parent store will expose only some components instead of the GeoTIFF store itself.
      Throws:
      Data­Store­Exception - if an error occurred while opening the GeoTIFF file.
      Since:
      1.1
  • Method Details