point_xy

geometric-functions point_xy function

syntax

  • point_xy(X coordinate, Y coordinate, optional coordinate unit)

definition

point(X coordinate, Y coordinate, optional coordinate unit) results in a two-dimensional point data-item.

conditions

  1. The value type of the X coordinate and Y coordinate data items must match with each other and with the coordinate unit:
    • uint16 data items for wpoint units;
    • int16 data items for spoint units;
    • uint32 data items for upoint units;
    • int32 data items for ipoint units;
    • float32 data items for fpoint units;
    • float64 data items for dpoint units.
  2. The domain units of the X coordinate, Y coordinate and resulting data items must match.

since version

14.9.0

example

attribute<point> pointXY (ADomain) := point_xy(Xcoord, Ycoord, fpoint);
Ycoord Xcoord pointXY 1)
401331 115135 {401331, 115135}
399476 111803 {399476, 111803}
399289 114903 {399289, 114903}
401729 111353 {401729, 111353}
398696 111741 {398696, 111741}

ADomain, nr of rows = 5

1) default visualisation order of point data items in the table view is YX.

see also