toSphericalGeography
toSphericalGeography
toSphericalGeography 함수는 Geometry 객체를 구형 지리(spherical geography) 객체로 변환하는 함수예요.
출처: 문서
본문
Geometry 객체를 구형 지리 객체로 변환해요.
시그니처 (Signature)
toSphericalGeography(geometryObject)
사용 예시 (Usage Examples)
select toSphericalGeography(
STPOINT(-122, 37)
) AS value
from ignoreMe
| value |
|---|
| 80c05e8000000000004042800000000000 |
STPOINT와 ST_GeomFromText 함수를 사용해 지오메트리 객체를 만들 수 있어요.