point_yx

Geometric functions point_yx function

syntax

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

definition

point_yx(Y coordinate, X coordinate, optional coordinate unit) results in a two-dimensional Point Data item.

conditions

  1. The value type of the Y coordinate and X 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 Y coordinate, X coordinate and resulting data items must match.

since version

14.9.0

example

attribute<fpoint> pointYX (ADomain) := point_yx(Ycoord, Xcoord, fpoint);
Ycoord Xcoord pointYX 1)
401331 115135 xy(115135; 401331)
399476 111803 xy(111803; 399476)
399289 114903 xy(114903; 399289)
401729 111353 xy(111353; 401729)
398696 111741 xy(111741; 398696)

ADomain, nr of rows = 5

1) since GeoDMS 20.14.0 the table view renders a point as xy(x; y), which states the coordinate order rather than leaving it to the reader; before that it showed the untagged {y, x}. See XY order.

see also