Calculate Map2

Description

This functor is deprecated and should not be used. Use Calculate Map instead.

It computes a continuous raster map by evaluating an algebraic or logical expression independently for every cell of the output map, in the same way as Calculate Map. The only difference is how the data used in the expression is connected: through hooks that identify it by name, instead of by number.

Inputs

Name Type Description
Expression Image Expression Type Algebraic or logical formula used to compute each output cell. Must be enclosed in square brackets [ ] in EGO Script.

Optional Inputs

Name Type Description Default Value
Cell Type Cell Type Data type for each output cell. Signed 32 Bit Integer
Null Value Null Value Type Sentinel value representing “no data” in the output. .default
Result Is Sparse Boolean Value Type If true, only non-null cells are stored, saving memory at the expense of random-access speed. This is an advanced port. No
Result Format Map Type Reference map whose spatial format (extent, resolution, projection) is applied to the output; its category information, if any, is ignored. This is an advanced port. .none

Outputs

Name Type Description
Result Map Type Computed output map. Its dimensions come from the connected input maps, or from Result Format when given.

Group

Map Algebra

Notes

The data used in the expression is connected through Name Map, Name Table and Name Value hooks placed inside this container. Each hook gives its data a name, and the expression refers to the data by that name, with the same prefixes used by the calculator shorthand: a map registered as distance is referenced as #distance, a table or lookup table registered as rates as %rates, and a value registered as threshold as $threshold. The functors that replace this one use Number Map, Number Table and Number Value hooks instead, which identify the data by number (i1, t1, v1, …).

At least one map must be connected through a Name Map hook, unless Result Format is connected, since the format of the output map is taken from them.

See Calculate Map for image virtualization, null-value handling and the expression features, which apply equally to this functor.

This functor is kept only so that older models that use it continue to load and run.

Internal Name

CalculateMap2


This documentation was generated with the help of large language models (LLMs) and may contain errors. Please verify critical information.