Geopointset Macro functions
Note
For an overview, please see Geopointset.
- geopoints et ( geopointset op geopointset )
Operation between two geopointsets. op is one of the following:
+ Addition
- Subtraction
* Multiplication
/ Division
^ Power
The geopoints in the geopointsets returned by these boolean operators contain boolean values (containing only 1 where result is true, 0 where it is false):
> Larger Than
< Smaller Than
>= Larger or Equal
<= Smaller or Equal
= Equal
<> Not Equal
- geopoints et ( geopointset op number )
- geopoints et ( number op geopointset )
Operations between geopointsets and numbers. op is any of the operations defined above. See Geopointset for details of how the operations are performed
- geopoints et ( geopointset op fieldset )
- geopoints et ( fieldset op geopointset )
Operations between geopointsets and fieldsets. op is any of the operations defined above. See Geopointset for details of how the operations are performed.
- geopoints et ( geopointset and geopointset )
- geopoints et ( geopointset or geopointset )
- geopoints et ( not geopointset)
Conjunction, Disjunction and Negation. See Geopointset for details of how the operations are performed.
- geopoints et ( geopointset & geopointset & ... )
- geopoints et ( nil & geopointset & ... )
- geopoints et ( geopointset & nil )
- geopoints et ( geopointset & geopoints )
- geopoints et merge ( geopointset,geopointset,... )
Merge several geopointsets. The output is the concatenation of each geopointset. Merging with the value nil does nothing, and can be used to initialise when building a geopointset in a loop. A geopoints variable can also be merged into a geopointset.
- geopoints geopointset[ number ]
Returns the geopoints variable with the given index (first index is 1 in Macro, but 0 in Python).
- geopoints et abs ( geopointset )
- geopoints et asin ( geopointset )
- geopoints et acos ( geopointset )
- geopoints et atan ( geopointset )
- geopoints et cos ( geopointset )
- geopoints et exp ( geopointset )
- geopoints et int ( geopointset )
- number intbits ( geopointset,number )
- number intbits ( geopointset,number,number )
- geopoints et log ( geopointset )
- geopoints et log10 ( geopointset )
- geopoints et neg ( geopointset )
- geopoints et sgn ( geopointset )
- geopoints et sin ( geopointset )
- geopoints et sqrt ( geopointset )
- geopoints et tan ( geopointset )
Performs the given function on each component geopoints variable of the geopointset.
- number count ( geopointset )
Returns the number of geopoints variables in the given geopointset.
- geopoints create_geo_set ( )
Creates a new empty geopointset variable.
- geopoints et filter ( geopointset, definition)
From the given geopointset, this function extracts the set of geopoints variables whose metadata matches that given in the definition. See Geopoints for a description of how metadata is set and stored. As an example:
gfilt = filter(gptset, (level:500, step:[6, 12, 18]))
This will return a geopointset containing the geopoints variables whose metadata contains the key ‘level’ with a value of 500, AND the key ‘step’ with a value of 6 OR 12 OR 18. If the filter definition is empty, the original geopointset is returned. If it is non-empty and no geopoints matches its conditions, the filter function will return nil.