ST_CoordDim
Updated at:
Returns the coordinate dimension information.
Syntax
int2 ST_CoordDim(meshgeom geom);
int2 ST_CoordDim(sfmesh sfmeshObject);Parameters
Parameter name | Description |
geom | The meshgeom object. |
sfmeshObject | The sfmesh object. |
Description
This function returns the dimension of the coordinate values of a meshgeom or sfmesh object.
Examples
select ST_CoordDim('MESHGEOM(PATCH(INDEXSURFACE(VERTEX(0 0 2,0 10 3,10 10 1,10 0 1), INDEX((0,1,2),(1,2,3)))))'::meshgeom);
-------------
3 Is this page helpful?