Packages

case class GeoTiffSegmentLayout(totalCols: Int, totalRows: Int, tileLayout: TileLayout, storageMethod: StorageMethod, interleaveMethod: InterleaveMethod) extends Product with Serializable

This case class represents how the segments in a given GeoTiff are arranged.

totalCols

The total amount of cols in the GeoTiff

totalRows

The total amount of rows in the GeoTiff

tileLayout

The TileLayout of the GeoTiff

storageMethod

Storage method used for the segments (tiled or striped)

interleaveMethod

The interleave method used for segments (pixel or band)

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GeoTiffSegmentLayout
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new GeoTiffSegmentLayout(totalCols: Int, totalRows: Int, tileLayout: TileLayout, storageMethod: StorageMethod, interleaveMethod: InterleaveMethod)

    totalCols

    The total amount of cols in the GeoTiff

    totalRows

    The total amount of rows in the GeoTiff

    tileLayout

    The TileLayout of the GeoTiff

    storageMethod

    Storage method used for the segments (tiled or striped)

    interleaveMethod

    The interleave method used for segments (pixel or band)

Value Members

  1. def bandSegmentCount: Int
  2. def getSegmentCoordinate(segmentIndex: Int): (Int, Int)
  3. 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)

  4. def hasPixelInterleave: Boolean
  5. val interleaveMethod: InterleaveMethod
  6. def isStriped: Boolean
  7. def isTiled: Boolean
  8. def listWindows(cols: Int, rows: Int): Array[GridBounds[Int]]

    List all pixel windows that cover a grid of given size

  9. def listWindows(maxSize: Int, extent: Extent, geometry: Geometry): Array[GridBounds[Int]]

    List all pixel windows that meet the given geometry

  10. def listWindows(maxSize: Int): Array[GridBounds[Int]]
  11. 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

  12. val storageMethod: StorageMethod
  13. val tileLayout: TileLayout
  14. val totalCols: Int
  15. val totalRows: Int