Nome

ST_CoordDim — Retorna a dimensão da coordenada do valor ST_Geometry.

Sinopse

integer ST_CoordDim(geometry geomA);

Descrição

Retorna a dimensão da coordenada do valor ST_Geometry.

Esse é o pseudônimo condescendente do MM para 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).

Exemplos

Code
SELECT ST_CoordDim('CIRCULARSTRING(1 2 3,1 3 4,5 6 7,8 9 10,11 12 13)');
Raster Outputs
3
Code
SELECT ST_CoordDim(ST_Point(1, 2));
Raster Outputs
2

Veja também

ST_NDims