ST_MakePointM — x, y 좌표 및 단위를 가진 포인트를 생성합니다.
geometry ST_MakePointM(
float x, float y, float m)
;
x, y 좌표 및 단위를 가진 포인트를 생성합니다.
Use ST_MakePoint to make points with XY, XYZ, or XYZM coordinates.
For geodetic coordinates, |
Create point with unknown SRID.
SELECT ST_AsEWKT( ST_MakePointM(-71.1043443253471, 42.3150676015829, 10) ); st_asewkt ----------------------------------------------- POINTM(-71.1043443253471 42.3150676015829 10)
x, y 좌표 및 단위를 가진 포인트를 생성합니다.
SELECT ST_AsEWKT( ST_SetSRID( ST_MakePointM(-71.104, 42.315, 10), 4326)); st_asewkt --------------------------------------------------------- SRID=4326;POINTM(-71.104 42.315 10)
Get measure of created point.
SELECT ST_M( ST_MakePointM(-71.104, 42.315, 10) ); result ------- 10