Repository navigation
Get_X
Maarten Hilferink edited this page Sep 27, 2026
·
13 revisions
Geometric functions Get_X

- get_x(point data item)
get_x(point data item) results in a data item with the X coordinates of the argument point data item.
Since GeoDMS 20.22.0 a null point results in a null x-coordinate. Before, a null point of an integer point type (ipoint, spoint, wpoint, upoint) resulted in a number, -2147483648 for an ipoint; a null float point already resulted in null.
data item point data item with a Point value type
attribute<float32> Point_X (ADomain) := get_x(pointXY);
| pointXY | Point_X |
|---|---|
| xy(115135; 401331) | 115135 |
| xy(111803; 399476) | 111803 |
| xy(114903; 399289) | 114903 |
| xy(111353; 401729) | 111353 |
| xy(111741; 398696) | 111741 |
ADomain, nr of rows = 5
GeoDMS ©Object Vision BV. Source code distributed under GNU GPL-3. Documentation distributed under CC BY-SA 4.0.