ST_POINT
Descriptionβ
With the given X coordinate value, the Y coordinate value returns the corresponding Point.
The current value is only meaningful in the sphere set, X/Y corresponds to longitude/latitude;
Syntaxβ
ST_Point( <x>, <y>)
Parametersβ
Parameters | Instructions |
---|---|
<x> | x-coordinate |
<y> | y-coordinate |
Return Valueβ
Given horizontal coordinate and vertical coordinate corresponding position information
Examplesβ
SELECT ST_AsText(ST_Point(24.7, 56.7));
+---------------------------------+
| st_astext(st_point(24.7, 56.7)) |
+---------------------------------+
| POINT (24.7 56.7) |
+---------------------------------+