Fork me on GitHub

ST_Point

Signatures

POINT ST_Point(DOUBLE x, DOUBLE y);
POINT ST_Point(DOUBLE x, DOUBLE y, DOUBLE z);

Description

Constructs a POINT from x and y (and possibly z).

This function is an alias for the ST_MakePoint function.

Examples

SELECT ST_Point(1.4, -3.7);
-- Answer:     POINT(1.4 -3.7)

SELECT ST_Point(1.4, -3.7, 6.2);
-- Answer:     POINT(1.4 -3.7 6.2)

See also