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)
- Alphabetic
- By Inheritance
- GeoTiffSegmentLayout
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
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
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def bandSegmentCount: Int
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getSegmentCoordinate(segmentIndex: Int): (Int, Int)
-
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)
- def hasPixelInterleave: Boolean
- val interleaveMethod: InterleaveMethod
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isStriped: Boolean
- def isTiled: Boolean
-
def
listWindows(cols: Int, rows: Int): Array[GridBounds[Int]]
List all pixel windows that cover a grid of given size
-
def
listWindows(maxSize: Int, extent: Extent, geometry: Geometry): Array[GridBounds[Int]]
List all pixel windows that meet the given geometry
- def listWindows(maxSize: Int): Array[GridBounds[Int]]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
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
- val storageMethod: StorageMethod
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val tileLayout: TileLayout
- val totalCols: Int
- val totalRows: Int
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()