Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
image_expression_type [2019/03/27 16:48]
francisco [General Operators]
image_expression_type [2020/06/27 16:34]
admin [Table Operators]
Line 86: Line 86:
 Lookup table operators return the value corresponding to a given key according to a rule-operator. ​ Lookup table operators return the value corresponding to a given key according to a rule-operator. ​
  
-They have the following syntax: \\ @@@@@@@@@TABLE[N@@@] \\ where: \\ @@@@@@@@@TABLE is a table identifier corresponding to a **[[Lookup Table Type|lookup table]]**. //Beware that, if the identifier ​corresponds ​to a [[Table Type|table]],​ an error will be reported//; \\ @@@@@@@@@N is the rule-operator.+They have the following syntax: \\ @@@@@@@@@TABLE[N@@@] \\ where: \\ @@@@@@@@@TABLE is a table identifier corresponding to a **[[Lookup Table Type|lookup table]]**. //Beware that, if the identifier ​is bound to a [[Table Type|table]],​ an error will be reported//; \\ @@@@@@@@@N is the rule-operator.
  
 ^ Operator ^ Description ^ Syntax ^ Usage Example ^ ^ Operator ^ Description ^ Syntax ^ Usage Example ^
-| Get Table Value | Return the table value in the key position of the table | TABLE[EXPR] | t2[i1@@@+@@@2] | +| Get Table Value | Return the table value associated to the EXPR key in the table | TABLE[EXPR] | t2[i1@@@+@@@2] | 
-| Get Table Equal Lower Bound Value | Return the table value in the greater key less than or equal to the key position of the table. | TABLE[<​nowiki><​=</​nowiki>​@@@EXPR] \\ <​del>​TABLE{EXPR}</​del>​ | t2[<​nowiki><​=</​nowiki>​@@@14] \\ <​del>​t2{14}</​del>​ | +| Get Table Equal Lower Bound Value | Return the table value associated to the greater key less than or equal to the EXPR key in the table. | TABLE[<​nowiki><​=</​nowiki>​@@@EXPR] \\ <​del>​TABLE{EXPR}</​del>​ | t2[<​nowiki><​=</​nowiki>​@@@14] \\ <​del>​t2{14}</​del>​ | 
-| Get Table Lower Bound Value | Return the table value in the greater key less than the key position of the table. | TABLE[<​@@@EXPR] | t2[<​@@@i1@@@+@@@2] | +| Get Table Lower Bound Value | Return the table value associated to the greater key less than the EXPR key in the table. | TABLE[<​@@@EXPR] | t2[<​@@@i1@@@+@@@2] | 
-| Get Table Equal Upper Bound Value | Return the table value in the lesser key greater than or equal to the key position of the table. | TABLE[>​=@@@EXPR] | t2[>​=@@@i1@@@+@@@i3] | +| Get Table Equal Upper Bound Value | Return the table value associated to the lesser key greater than or equal to the EXPR key in the table. | TABLE[>​=@@@EXPR] | t2[>​=@@@i1@@@+@@@i3] | 
-| Get Table Upper Bound Value | Return the table value in the lesser key greater than the key position of the table. | TABLE[>​@@@EXPR] | t2[>​@@@i7] | +| Get Table Upper Bound Value | Return the table value associated to lesser key greater than the EXPR key in the table. | TABLE[>​@@@EXPR] | t2[>​@@@i7] | 
-| Get Table Closest Value | Return the table value in the key closest to the key position of the table. | TABLE[><​@@@EXPR] | t2[><​@@@3@@@+@@@i7] | +| Get Table Closest Value | Return the table value associated to the key closest to the EXPR key in the table. | TABLE[><​@@@EXPR] | t2[><​@@@3@@@+@@@i7] | 
-| Get Table Interpoled ​Value | Return a linear ​interpoled ​value drawn through the neighbor keys of the key position of the table. | TABLE[/​@@@EXPR] | t2[/@@@i2] |+| Get Table Interpolaled ​Value | Return a linear ​interpolated ​value drawn through the neighbor keys of the EXPR key in the table. | TABLE[/​@@@EXPR] | t2[/@@@i2] |
 | Test Table Key | Return 1, if expression corresponds to a key stored in the table, and 0, otherwise. | TABLE[?​@@@EXPR] \\ TABLE[=?​@@@EXPR] \\ TABLE[==?​@@@EXPR] | t2[?@@@i2] \\ t2[=?@@@i2] |  | Test Table Key | Return 1, if expression corresponds to a key stored in the table, and 0, otherwise. | TABLE[?​@@@EXPR] \\ TABLE[=?​@@@EXPR] \\ TABLE[==?​@@@EXPR] | t2[?@@@i2] \\ t2[=?@@@i2] | 
 | Get Table Value Using Predefined Name | Return the table value bound to a key corresponding to a predefined name. //This can only used to retrieve results produced by [[Extract Map Attributes]] e [[Extract Lookup Table Attributes]]. The documentation of these operators provides a list of all supported predefined names.// | TABLE["​NAME"​] | t2["​cellArea"​] | | Get Table Value Using Predefined Name | Return the table value bound to a key corresponding to a predefined name. //This can only used to retrieve results produced by [[Extract Map Attributes]] e [[Extract Lookup Table Attributes]]. The documentation of these operators provides a list of all supported predefined names.// | TABLE["​NAME"​] | t2["​cellArea"​] |
Line 103: Line 103:
 Table operators return the value corresponding to a given set of keys.  Table operators return the value corresponding to a given set of keys. 
  
-They have the following syntax: \\ @@@@@@@@@TABLE[@@@[@@@]@@@[@@@]@@@] \\ where: \\ @@@@@@@@@TABLE is a table identifier corresponding to a **[[Table Type|table]]**. //Beware that, if the identifier ​corresponds ​to a [[Lookup Table Type|lookup table]], an error will be reported//;+They have the following syntax: \\ @@@@@@@@@TABLE[@@@[@@@]@@@[@@@]@@@] \\ where: \\ @@@@@@@@@TABLE is a table identifier corresponding to a **[[Table Type|table]]**. //Beware that, if the identifier ​is bound to a [[Lookup Table Type|lookup table]], an error will be reported//;
  
 The expressions representing the set of keys must be separated by commas. ​ The expressions representing the set of keys must be separated by commas. ​
  
 ^ Operator ^ Description ^ Syntax ^ Usage Example ^ ^ Operator ^ Description ^ Syntax ^ Usage Example ^
-| Get Table Value At Default Column | Return the table value corresponding ​to the set of keys at the first data column. | TABLE[@@@[EXPR,​@@@EXPR,​@@@EXPR,​@@@...@@@]@@@] | t2[@@@[i1@@@+@@@2,​@@@i2/​2,​@@@t1[v2]]@@@] | +| Get Table Value At Default Column | Return the table value associated ​to the set of keys in the first data column. | TABLE[@@@[EXPR,​@@@EXPR,​@@@EXPR,​@@@...@@@]@@@] | t2[@@@[i1@@@+@@@2,​@@@i2/​2,​@@@t1[v2]]@@@] | 
-| Get Table Value At Named Column | Return the table value corresponding ​to the set of keys at the column named by the given name. | TABLE[@@@[EXPR,​@@@EXPR,​@@@EXPR,​@@@...@@@]@@@[@@@NAME@@@]@@@] | t2[@@@[i1@@@+@@@2,​@@@i2/​2,​@@@t1[v2]]@@@[@@@"​Area_In_Hectares"​@@@]@@@] | +| Get Table Value At Named Column | Return the table value associated ​to the set of keys in the column named by the given name. | TABLE[@@@[EXPR,​@@@EXPR,​@@@EXPR,​@@@...@@@]@@@[@@@NAME@@@]@@@] | t2[@@@[i1@@@+@@@2,​@@@i2/​2,​@@@t1[v2]]@@@[@@@"​Area_In_Hectares"​@@@]@@@] | 
-| Get Table Value At Column Index | Return the table value corresponding ​to the set of keys at the column indexed by the given expression. | TABLE[@@@[EXPR,​@@@EXPR,​@@@EXPR,​@@@...@@@]@@@[@@@EXPR@@@]@@@] | t2[@@@[i1@@@+@@@2,​@@@i2/​2,​@@@t1[v2]]@@@[@@@v1+2@@@]@@@] |+| Get Table Value At Column Index | Return the table value associated  ​to the set of keys in the column indexed by the given expression. | TABLE[@@@[EXPR,​@@@EXPR,​@@@EXPR,​@@@...@@@]@@@[@@@EXPR@@@]@@@] | t2[@@@[i1@@@+@@@2,​@@@i2/​2,​@@@t1[v2]]@@@[@@@v1+2@@@]@@@] |
 ==== Image Neighborhood Functions ==== ==== Image Neighborhood Functions ====