Create an operation from a 4-arg function that returns a literal value.
Create an operation from a 4-arg function that returns an operation.
Create an operation from a 4-arg function that returns StepOutput.
Create an operation from a 3-arg function that returns a literal value.
Create an operation from a 3-arg function that returns an operation.
Create an operation from a 3-arg function that returns StepOutput.
Create an operation from a 2-arg function that returns a literal value.
Create an operation from a 2-arg function that returns an operation.
Create an operation from a 2-arg function that returns StepOutput.
Create an operation from a 1-arg function that returns a literal value.
Create an operation from a 1-arg function that returns a literal value.
For example:
val plusOne = op { (i: Int) => i + 1 }
Create an operation from a 1-arg function that returns an operation to be executed.
Create an operation from a 1-arg function that returns an operation to be executed.
For example:
val localPlusOne = ( (r: Raster, i: Int) => local.Add(r, i + 1) )
Create an operation from a 1-arg function that returns StepOutput.
Create an operation from a 1-arg function that returns StepOutput.
For example:
val plusOne = op { (i: Int) => Result(i + 1) }
Add simple syntax for creating an operation.
Add simple syntax for creating an operation.
Define a function after op function that returns:
1) A literal value, e.g. val plusOne = op { (i: Int) => i + 1 }
2) An operation to be executed: val localPlusOne = ( (r: Raster, i: Int) => local.Add(r, i + 1) )
3) Or a StepResult (which indicates success or failure) val plusOne = op { (i: Int) => Result(i + 1) }
(Since version Geotrellis Version 0.10) geotrellis-engine has been deprecated