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.
Fraction of input raster size.
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.
Rescale the size of a raster by a fixed percentage, maintaining the aspect ratio.
This operation uses a nearest neighbor algorithm to resize a raster by a given percentage.
For example, if the rescale percentage is 2.0, the number of columns and the number of rows will be doubled. If the original raster had 100 columns and 100 rows and each cell had a cell width and a cell height in map units of 50m, the new raster would be 200x200 (cols and rows) and the new cell width and height would be 25m.
Fraction of input raster size.
Rescale does not currently support Double raster data. If you use a Raster with a Double RasterType (TypeFloat,TypeDouble) the data values will be rounded to integers.