Class GridCoverageRelation

java.lang.Object
nz.org.riskscape.engine.relation.BaseRelation
nz.org.riskscape.engine.data.coverage.GridCoverageRelation
All Implemented Interfaces:
AutoCloseable, nz.org.riskscape.engine.data.SelfDescribingScalarData, nz.org.riskscape.engine.pipeline.Realized, nz.org.riskscape.engine.relation.Relation

public class GridCoverageRelation extends nz.org.riskscape.engine.relation.BaseRelation

Gives relation-style access to a grid by iteration through the raster pixel-by-pixel

  • Nested Class Summary

    Nested classes/interfaces inherited from class nz.org.riskscape.engine.relation.BaseRelation

    nz.org.riskscape.engine.relation.BaseRelation.Fields, nz.org.riskscape.engine.relation.BaseRelation.Transformer
  • Field Summary

    Fields inherited from class nz.org.riskscape.engine.relation.BaseRelation

    skipOnInvalid, transformers
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    GridCoverageRelation(nz.org.riskscape.engine.SRIDSet sridSet, org.geotools.coverage.grid.GridCoverage2D coverage, nz.org.riskscape.engine.relation.BaseRelation.Fields fields)
     
    protected
    GridCoverageRelation(nz.org.riskscape.engine.SRIDSet sridSet, org.geotools.coverage.grid.GridCoverage2D coverage, nz.org.riskscape.engine.types.Struct type)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected nz.org.riskscape.engine.relation.BaseRelation
    clone(nz.org.riskscape.engine.relation.BaseRelation.Fields fields)
     
    create(GridTypedCoverage typedCoverage, org.geotools.coverage.grid.GridCoverage2D coverage)
     
     
    protected nz.org.riskscape.engine.relation.TupleIterator
     

    Methods inherited from class nz.org.riskscape.engine.relation.BaseRelation

    cloneWithProjectionIfSupported, cloneWithRestrictionIfSupported, cloneWithTransformer, getLimit, getOffset, getRawType, getSpatialMetadata, getType, hasSkipOnInvalid, iterator, limitAndOffset, project, restrict, skipInvalid, skipOrThrow, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface nz.org.riskscape.engine.pipeline.Realized

    close

    Methods inherited from interface nz.org.riskscape.engine.relation.Relation

    calculateBounds, getScalarDataType, limit, offset, size, stream
  • Constructor Details

    • GridCoverageRelation

      protected GridCoverageRelation(nz.org.riskscape.engine.SRIDSet sridSet, org.geotools.coverage.grid.GridCoverage2D coverage, nz.org.riskscape.engine.types.Struct type)
    • GridCoverageRelation

      protected GridCoverageRelation(nz.org.riskscape.engine.SRIDSet sridSet, org.geotools.coverage.grid.GridCoverage2D coverage, nz.org.riskscape.engine.relation.BaseRelation.Fields fields)
  • Method Details

    • create

      public static GridCoverageRelation create(GridTypedCoverage typedCoverage, org.geotools.coverage.grid.GridCoverage2D coverage)
    • getSourceInformation

      public String getSourceInformation()
    • rawIterator

      protected nz.org.riskscape.engine.relation.TupleIterator rawIterator()
      Specified by:
      rawIterator in class nz.org.riskscape.engine.relation.BaseRelation
    • clone

      protected nz.org.riskscape.engine.relation.BaseRelation clone(nz.org.riskscape.engine.relation.BaseRelation.Fields fields)
      Specified by:
      clone in class nz.org.riskscape.engine.relation.BaseRelation