Name

ST_CoordDim — ST_Geometry 값의 좌표 차원을 반환합니다.

Synopsis

integer ST_CoordDim(geometry geomA);

설명

ST_Geometry 값의 좌표 차원을 반환합니다.

이 함수는 MM을 준수하는, ST_NDims 와 동일한 함수합니다.

This method implements the OGC Simple Features Implementation Specification for SQL 1.1.

This method implements the SQL/MM specification. SQL-MM 3: 5.1.3

This method supports Circular Strings and Curves.

This function supports 3d and will not drop the z-index.

This function supports Polyhedral surfaces.

This function supports Triangles and Triangulated Irregular Network Surfaces (TIN).

예시

SELECT ST_CoordDim('CIRCULARSTRING(1 2 3, 1 3 4, 5 6 7, 8 9 10, 11 12 13)');
                        ---result--
                                3

                                SELECT ST_CoordDim(ST_Point(1,2));
                        --result--
                                2

                

참고

ST_NDims