Get a RasterData instance for a particular tile.
Get a RasterData instance for a particular tile.
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 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.
Function like getTiles but returns a list instead.
Function like getTiles but returns a list instead.
Return a list of operations that load a tile's raster, filtered by a clip extent.
Return a list of operations that load a tile's raster, filtered by a clip extent. If any tile does not touch the clip extent, it will not be included in the list.
RasterExtent of this tileset
Polygon to be used to determine which tiles to return
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.
* Returns true if (col,row) is a valid tile in this tileset.
* Returns true if (col,row) is a valid tile in this tileset.
If the column or row is negative or higher than the number of columns or rows, returns false.
(lazyTiledRasterData: StringAdd).self
(lazyTiledRasterData: StringFormat).self
(lazyTiledRasterData: ArrowAssoc[LazyTiledRasterData]).x
(Since version 2.10.0) Use leftOfArrow
instead
(lazyTiledRasterData: Ensuring[LazyTiledRasterData]).x
(Since version 2.10.0) Use resultOfEnsuring
instead
This trait provides some methods in terms of underlying raster data.
Note that all TiledRasterData objects perform operations like map lazily. This trait is designed for classes who wrap another TiledRasterData and want to forward some of their methods to the underlying data.