Interface RasterStore

All Superinterfaces:
Cloneable, org.gvsig.tools.lang.Cloneable, org.gvsig.tools.observer.ComplexObservable, org.gvsig.tools.observer.ComplexWeakReferencingObservable, DataFactoryUnit, DataStore, org.gvsig.tools.dispose.Disposable, org.gvsig.tools.dynobject.DynObject, org.gvsig.tools.dynobject.DynObject_v2, org.gvsig.metadata.Metadata, org.gvsig.tools.observer.Observable, org.gvsig.tools.persistence.Persistent, org.gvsig.tools.service.spi.Services, org.gvsig.tools.visitor.Visitable, org.gvsig.tools.observer.WeakReferencingObservable

public interface RasterStore extends DataStore, org.gvsig.tools.lang.Cloneable
Store for rasters
Author:
dmartinezizquierdo
  • Field Details

    • DYNMETHOD_GETLEGEND_NAME

      static final String DYNMETHOD_GETLEGEND_NAME
      May provide a dynamic method to get the legend
      See Also:
    • DYNMETHOD_GETCOLORINTERPRETATION_NAME

      static final String DYNMETHOD_GETCOLORINTERPRETATION_NAME
      May provide a dynamic method to get the Color Interpretation
      See Also:
    • DYNMETHOD_GETCOLORTABLE_NAME

      static final String DYNMETHOD_GETCOLORTABLE_NAME
      May provide a dynamic method to get the Color Table
      See Also:
  • Method Details

    • getParameters

      DataStoreParameters getParameters()
      Returns this store's parameters.
      Specified by:
      getParameters in interface DataStore
      Returns:
      DataStoreParameters containing this store's parameters
    • getRasterSet

      RasterSet getRasterSet() throws DataException
      Returns all available data in the store
      Returns:
      RasterSet
      Throws:
      DataException
    • getRasterSet

      RasterSet getRasterSet(RasterQuery rasterQuery) throws DataException
      Returns a subset of data taking into account the properties and restrictions of the RasterQuery.
      Parameters:
      rasterQuery -
      RasterQuery -
      Returns:
      RasterSet
      Throws:
      DataException
    • createRasterQuery

      RasterQuery createRasterQuery()
      Returns a new RasterQuery associated to this store.
      Returns:
      RasterQuery
    • getEnvelope

      org.gvsig.fmap.geom.primitive.Envelope getEnvelope() throws DataException, org.gvsig.tools.locator.LocatorException, org.gvsig.fmap.geom.exception.CreateEnvelopeException
      Returns the envelope associated to this store buffer
      Returns:
      Envelope
      Throws:
      DataException
      org.gvsig.fmap.geom.exception.CreateEnvelopeException
      org.gvsig.tools.locator.LocatorException
    • createBandQuery

      BandQuery createBandQuery(int band)
      Creates a BandQuery from band received as parameter.
      Parameters:
      band - Band to create BandQuery
      Returns:
      BandQuery
    • getBandDescriptor

      BandDescriptor getBandDescriptor(int band)
      Gets
      invalid reference
      BandsDescriptor
      of band received as parameter. If band does not have BandDescriptor, this method will return an empty
      invalid reference
      BandsDescriptor
      .
      Parameters:
      band - Band to get its
      invalid reference
      BandsDescriptor
      Returns:
      BandDescriptor
    • getBands

      int getBands()
      Gets number of total bands
      Returns:
      Number of bands
    • getBandDescriptors

      List<BandDescriptor> getBandDescriptors()
    • getCache

      RasterCache getCache()
      Specified by:
      getCache in interface DataStore
      Returns:
    • addBand

      void addBand(RasterStore store, int band) throws DataException
      Add a band from other store. If the store is the same of main store will return a IllegalAttributeException
      Parameters:
      store -
      band -
      Throws:
      DataException
    • addBands

      void addBands(RasterStore store, List<Integer> bands) throws DataException
      Add a list of bands from other store. If the store is the same of main store will return a IllegalAttributeException
      Parameters:
      store -
      bands -
      Throws:
      DataException
    • removeBand

      void removeBand(int band)
      Remove a band. If band belongs to main store, will return a IllegalAttributeException
      Parameters:
      band -
    • clearAdditionalBands

      void clearAdditionalBands()
      Remove any band that does not belong to itself.
    • isOwnBand

      boolean isOwnBand(int band)
      Return true if the band is own. If the band is from additional store, return false.
      Parameters:
      band -
      Returns:
    • getDimensions

      org.gvsig.raster.lib.buffer.api.BufferDimensions getDimensions() throws InitializeException
      Return the buffer dimensions of the complete store.
      Returns:
      Throws:
      InitializeException
    • isTiled

      boolean isTiled()
    • getRasterSet

      void getRasterSet(org.gvsig.tools.observer.Observer observer) throws DataException
      Throws:
      DataException
    • getRasterSet

      void getRasterSet(RasterQuery dataQuery, org.gvsig.tools.observer.Observer observer) throws DataException
      Throws:
      DataException