toGeometry

toGeometry

toGeometry 함수는 구형 지리(spherical geography) 객체를 Geometry 객체로 변환하는 함수예요.

출처: 문서

본문

구형 지리 객체를 Geometry 객체로 변환해요.

시그니처 (Signature)

toGeometry(geographyObject)

사용 예시 (Usage Examples)

select toGeometry(
    STPOINT(-122, 37, 1)
) AS value
from ignoreMe 
value
00c05e8000000000004042800000000000

STPOINT와 ST_GeogFromText 함수를 사용해 지리 객체를 만들 수 있어요.

더 알아보기 (Learn more)