Packages

trait GeoTiffSegmentLayoutTransform extends AnyRef

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GeoTiffSegmentLayoutTransform
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def bandCount: Int

    Count of the bands in the GeoTiff

Concrete Value Members

  1. def getSegmentCoordinate(segmentIndex: Int): (Int, Int)
  2. def getSegmentDimensions(segmentIndex: Int): Dimensions[Int]

    Calculates pixel dimensions of a given segment in this layout.

    Calculates pixel dimensions of a given segment in this layout. Segments are indexed in row-major order relative to the GeoTiff they comprise.

    returns

    Tuple representing segment (cols, rows)

  3. def getSegmentSize(segmentIndex: Int): Int

    Calculates the total pixel count for given segment in this layout.

    Calculates the total pixel count for given segment in this layout.

    returns

    Pixel size of the segment

  4. def partitionWindowsBySegments(windows: Seq[GridBounds[Int]], maxPartitionSize: Long): Array[Array[GridBounds[Int]]]

    Partition a list of pixel windows to localize required segment reads.

    Partition a list of pixel windows to localize required segment reads. Some segments may be required by more than one partition. Pixel windows outside of layout range will be filtered. Maximum partition size may be exceeded if any window size exceeds it. Windows will not be split to satisfy partition size limits.

    windows

    List of pixel windows from this layout

    maxPartitionSize

    Maximum pixel count for each partition