geotrellis.raster.op.transform
Create a new operation with a function that takes the result of this operation and returns a new operation.
Create a new operation with a function that takes the result of this operation and returns a new operation.
Create an operation that applies the function f to the result of this operation, but returns nothing.
Create an operation that applies the function f to the result of this operation, but returns nothing.
Call the given function with this operation as its argument.
Call the given function with this operation as its argument.
This is primarily useful for code readability.
http://debasishg.blogspot.com/2009/09/thrush-combinator-in-scala.html
Create a new operation that returns the result of the provided function that takes this operation's result as its argument.
Create a new operation that returns the result of the provided function that takes this operation's result as its argument.
Execute this operation and return the result.
Execute this operation and return the result.
Create a new operation with a function that takes the result of this operation and returns a new operation.
Create a new operation with a function that takes the result of this operation and returns a new operation.
Same as flatMap.
Downsamples the given raster to the given number of columns and rows by applying the given function to the cells of the original raster that compose a cell in the resulting raster.
Currently only works with integer value functions.
,If the original RasterExtent dimensions are not divisible by the given cols and rows, the CellSet argument of the function might give invalid column and rows in it's foreach function. You need to guard against this in the given function.