Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
calculate_categorical_map [2026/07/04 23:26] hermann |
calculate_categorical_map [2026/07/15 01:19] (current) hermann |
||
|---|---|---|---|
| Line 12: | Line 12: | ||
| ^ Name ^ Type ^ Description ^ | ^ Name ^ Type ^ Description ^ | ||
| - | | Expression | [[Image Expression Type]] | The algebraic or logical formula used to compute each output cell's category code, written using the [[Image Expression Type|image expression editor]]. Must be enclosed in square brackets ''[ ]'' in EGO Script. | | + | | Expression | [[Image Expression Type]] | The algebraic or logical formula used to compute each output cell's category code. Must be enclosed in square brackets ''[ ]'' in EGO Script. | |
| ===== Optional Inputs ===== | ===== Optional Inputs ===== | ||
| Line 20: | Line 20: | ||
| | Null Value | [[Null Value Type]] | Based on Cell Type | Sentinel value representing "no data" in the output. | | | Null Value | [[Null Value Type]] | Based on Cell Type | Sentinel value representing "no data" in the output. | | ||
| | Result Is Sparse | [[Boolean Value Type]] | False | If true, only non-null cells are stored in memory โ saves memory but slows random access. | | | Result Is Sparse | [[Boolean Value Type]] | False | If true, only non-null cells are stored in memory โ saves memory but slows random access. | | ||
| - | | Result Format | [[Map Type]] | None | Optional reference map whose spatial format (extent, resolution, projection) is applied to the output. Category information in the reference map is ignored. | | + | | Result Format | [[Map Type]] | None | Optional reference map whose spatial format (extent, resolution, projection) is applied to the output. Category information in the reference map is ignored. Prefer this port over a ''Number Map'' hook when the map is needed only for format purposes โ a hook defines an identifier in the expression namespace and blocks abbreviated syntax if that identifier is unused in the expression. | |
| ===== Outputs ===== | ===== Outputs ===== | ||