Class/Object

geotrellis.raster.io.geotiff

GeoTiffSegmentLayout

Related Docs: object GeoTiffSegmentLayout | package geotiff

Permalink

case class GeoTiffSegmentLayout(totalCols: Int, totalRows: Int, tileLayout: TileLayout, isTiled: Boolean) 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

isTiled

A Boolean that represents if the given GeoTiff is Tiled or not

returns

A new instance of the GeoTiffSegmentLayout case class

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
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, isTiled: Boolean)

    Permalink

    totalCols

    The total amount of cols in the GeoTiff

    totalRows

    The total amount of rows in the GeoTiff

    tileLayout

    The TileLayout of the GeoTiff

    isTiled

    A Boolean that represents if the given GeoTiff is Tiled or not

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  7. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  8. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  9. def getGridBounds(segmentIndex: Int, isBit: Boolean = false): GridBounds

    Permalink
  10. def getSegmentCoordinate(segmentIndex: Int): (Int, Int)

    Permalink
  11. def getSegmentDimensions(segmentIndex: Int): (Int, Int)

    Permalink

    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)

  12. def getSegmentIndex(col: Int, row: Int): Int

    Permalink

    Finds the corresponding segment index given GeoTiff col and row

    Finds the corresponding segment index given GeoTiff col and row

    col

    Pixel column in overall layout

    row

    Pixel row in overall layout

    returns

    The index of the segment in this layout

  13. def getSegmentSize(segmentIndex: Int): Int

    Permalink

    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

  14. def intersectingSegments(bounds: GridBounds): Array[Int]

    Permalink

    Returns all segment indices which intersect given pixel grid bounds

  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. def isStriped: Boolean

    Permalink

    Determines if the GeoTiff has Striped storage

  17. val isTiled: Boolean

    Permalink

    A Boolean that represents if the given GeoTiff is Tiled or not

  18. def listWindows(cols: Int, rows: Int): Array[GridBounds]

    Permalink

    List all pixel windows that cover a grid of given size

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

    Permalink

    List all pixel windows that meet the given geometry

  20. def listWindows(maxSize: Int): Array[GridBounds]

    Permalink
  21. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  24. def partitionWindowsBySegments(windows: Seq[GridBounds], maxPartitionSize: Long): Array[Array[GridBounds]]

    Permalink

    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

  25. def storageMethod: StorageMethod

    Permalink

    Determines if the GeoTiff uses Striped or Tiled storage of data

    Determines if the GeoTiff uses Striped or Tiled storage of data

    returns

    Returns the StorageMethod of the GeoTiff

  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  27. val tileLayout: TileLayout

    Permalink

    The TileLayout of the GeoTiff

  28. val totalCols: Int

    Permalink

    The total amount of cols in the GeoTiff

  29. val totalRows: Int

    Permalink

    The total amount of rows in the GeoTiff

  30. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped