Returns the GeoTiffSegment of the corresponding index
Returns the GeoTiffSegment of the corresponding index
The corresponding GeoTiffSegment
Changes the interpretation of the tile cells through changing NoData handling and optionally cell data type.
Changes the interpretation of the tile cells through changing NoData handling and optionally cell data type. If DataType portion of the CellType is unchanged the tile data is not duplicated through conversion. If cell DataType conversion is required it is done in a naive way, without considering NoData handling.
CellType to be used in interpreting existing cells
Return ascii art of this raster.
Return ascii art of this raster.
Return ascii art of this raster.
Return ascii art of this raster. The single int parameter indicates the number of significant digits to be printed.
Return ascii art of a range from this raster.
Return ascii art of a range from this raster.
Count of the bands in the GeoTiff
Count of the bands in the GeoTiff
Combines two GeoTiffTiles by applying a function to both and using the result to create a new Tile.
Combines two GeoTiffTiles by applying a function to both and using the result to create a new Tile.
A Tile that contains the results of the given function
Combines two GeoTiffTiles by applying a function to both and using the result to create a new Tile.
Combines two GeoTiffTiles by applying a function to both and using the result to create a new Tile.
A Tile that contains the results of the given function
Converts the CellType of the GeoTiffTile to the given CellType
Converts the CellType of the GeoTiffTile to the given CellType
A new Tile that contains the new CellTypes
Crop this tile to given pixel regions.
Crop this tile to given pixel region.
Reduce the resolution of the present Tile to the given number of columns and rows.
Combine two Tiles together using one of two given functions.
Combine two Tiles together using one of two given functions. If the union of the types of the two cells is floating-point, then the floating function is used, otherwise the integer function is used.
The tile to combine with the present one
The integer function
The double function
Execute a function at each pixel of a Tile.
Map one of the two given functions across the Tile to produce a new one.
Conditionally map across the Tile with one of two functions, depending on whether the tile is an integer- or a floating-tile.
Return tuple of highest and lowest value in raster.
Return tuple of highest and lowest value in raster.
Currently does not support double valued raster data types (FloatConstantNoDataCellType, DoubleConstantNoDataCellType). Calling findMinMax on rasters of those types will give the integer min and max of the rounded values of their cells.
Return tuple of highest and lowest value in raster.
Return tuple of highest and lowest value in raster.
Takes a function that takes an Int and returns a Unit for each segment in the GeoTiffTile.
Takes a function that takes an Int and returns a Unit for each segment in the GeoTiffTile.
A Unit for each segment in the GeoTiffTile
Execute the given function 'f' at every location in the tile.
Execute the given function 'f' at every location in the tile. The function 'f' takes the column, row, and value and returns nothing (presumably for side-effects).
Takes a function that takes a Double and returns a Unit for each segment in the GeoTiffTile.
Takes a function that takes a Double and returns a Unit for each segment in the GeoTiffTile.
A Unit for each segment in the GeoTiffTile
Execute the given function 'f' at every location in the tile.
Execute the given function 'f' at every location in the tile. The function 'f' takes the column, row, and value, the last one as a double, and returns nothing (presumably for side-effects).
Executes a DoubleTileVisitor at each cell of the GeoTiffTile.
Executes a DoubleTileVisitor at each cell of the GeoTiffTile.
Executes an IntTileVisitor at each cell of the GeoTiffTile.
Executes an IntTileVisitor at each cell of the GeoTiffTile.
Given a col and row, find the segment where this point resides.
Given a col and row, find the segment where this point resides.
An Int that represents the segment's index
Given a col and row, find the segment that this point is within.
Given a col and row, find the segment that this point is within.
A Double that represents the segment's index
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.
Tuple representing segment (cols, rows)
Calculates the total pixel count for given segment in this layout.
Calculates the total pixel count for given segment in this layout.
Pixel size of the segment
Takes a function that takes an Int and returns an Int on each segment in the GeoTiffTile.
Takes a function that takes an Int and returns an Int on each segment in the GeoTiffTile.
A GeoTiffTile that contains the newly mapped values
Map over the tiles using a function which accepts the column, row, and value at that position and returns an integer.
Map over the tiles using a function which accepts the column, row, and value at that position and returns an integer.
Takes a function that takes a Double and returns a Double on each segment in the GeoTiffTile.
Takes a function that takes a Double and returns a Double on each segment in the GeoTiffTile.
A GeoTiffTile that contains the newly mapped values
Map over the tiles using a function which accepts the column, row, and value at that position and returns a double.
Map over the tiles using a function which accepts the column, row, and value at that position and returns a double.
Map a DoubleTileMapper over the given tile.
Map a DoubleTileMapper over the given tile.
A Tile with the results of the mapper
Conditionally execute (or don't) the given function at each pixel of a Tile, depending on whether that pixel is NODATA or not.
Conditionally execute (or don't) the given function at each pixel of a Tile, depending on whether that pixel is NODATA or not.
Map an IntTileMapper over the given tile.
Map an IntTileMapper over the given tile.
A Tile with the results of the mapper
Converts GeoTiffTile to a MutableArrayTile
Converts GeoTiffTile to a MutableArrayTile
A MutableArrayTile of the GeoTiffTile
Normalizes the values of this raster, given the current min and max, to a new min and max.
Normalizes the values of this raster, given the current min and max, to a new min and max.
Old minimum value
Old maximum value
New minimum value
New maximum value
Normalizes the values of this raster, given the current min and max, to a new min and max.
Normalizes the values of this raster, given the current min and max, to a new min and max.
Old minimum value
Old maximum value
New minimum value
New maximum value
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.
List of pixel windows from this layout
Maximum pixel count for each partition
Rescale the values in this Tile so that they are between the two given values.
Rescale the values in this Tile so that they are between the two given values.
The size of the grid, e.g.
The size of the grid, e.g. cols * rows.
Converts the given implementation to an Array
Converts the given implementation to an Array
An Array[Int] that conatains all of the values in the tile
Converts the given implementation to an Array
Converts the given implementation to an Array
An Array[Double] that conatains all of the values in the tile
Converts GeoTiffTile to an ArrayTile
Converts GeoTiffTile to an ArrayTile
An ArrayTile of the GeoTiffTile
Converts the GeoTiffTile to an Array[Byte]
Converts the GeoTiffTile to an Array[Byte]
An Array[Byte] of the GeoTiffTile