Return the current RasterData as an array.
Return the current RasterData as an array.
For a given grid coordinate, return the applicable tile coordinate.
For a given grid coordinate, return the applicable tile coordinate.
For example, given a 400x400 raster made up of 100x100 tiles, cellToTile(144, 233) would return (1, 2).
Combine two RasterData's cells into new cells using the given integer function.
Combine two RasterData's cells into new cells using the given integer function. For every (x,y) cell coordinate, get each RasterData's integer value, map them to a new value, and assign it to the output's (x,y) cell.
Combine two RasterData's cells into new cells using the given double function.
Combine two RasterData's cells into new cells using the given double function. For every (x,y) cell coordinate, get each RasterData's double value, map them to a new value, and assign it to the output's (x,y) cell.
Return the current RasterData values as a strict (calculated) ArrayRasterData.
Return the current RasterData values as a strict (calculated) ArrayRasterData.
If your RasterData cannot be represented as an array, bad things will happen. If your RasterData is lazy, any deferred calculations will be executed.
For every cell in the given raster, run the given integer function.
For every cell in the given raster, run the given integer function.
The order of the traversal from the lowest to highest columns, across each row, but this should probably not be relied upon. In the future we'd like to be able to parallelize foreach.
For every cell in the given raster, run the given double function.
For every cell in the given raster, run the given double function.
The order of the traversal from the lowest to highest columns, across each row, but this should probably not be relied upon. In the future we'd like to be able to parallelize foreach.
Get a particular (x, y) cell's integer value.
Get a particular (x, y) cell's integer value.
Get a particular (x, y) cell's double value.
Get a particular (x, y) cell's double value.
Get a RasterData instance for a particular tile.
Get a RasterData instance for a particular tile.
Function like getTiles but returns a list instead.
Function like getTiles but returns a list instead.
Return an operation that when run will yield a particular tile's raster.
Return an operation that when run will yield a particular tile's raster.
Return a list of operations; each operation will load a tile's raster.
Return a list of operations; each operation will load a tile's raster.
Given a resolution layout, and a particular tile's column/row, return a Raster corresponding to that tile.
Given a resolution layout, and a particular tile's column/row, return a Raster corresponding to that tile.
Given a raster extent (geographical area plus resolution) return an array of Rasters which represent that area as tiles.
Given a raster extent (geographical area plus resolution) return an array of Rasters which represent that area as tiles.
Map each cell in the given raster to a new one, using the given function.
Map each cell in the given raster to a new one, using the given function.
Map each cell in the given raster to a new one, using the given function.
Map each cell in the given raster to a new one, using the given function.
Similar to map, except that this method passes through "nodata" cells without calling the provided function.
Similar to map, except that this method passes through "nodata" cells without calling the provided function.
Similar to map, except that this method passes through "nodata" cells without calling the provided function.
Similar to map, except that this method passes through "nodata" cells without calling the provided function.
Return a mutable version of the current raster.
Return a mutable version of the current raster.
Returns the particular layout of this TiledRasterData's tiles.
Returns the particular layout of this TiledRasterData's tiles.
This RasterData uses no in-memory caching and loads all tile data from disk when needed.
Currently this is the only TileRasterData that can be reliably used on data too large to fit in memory.