This topic describes the ST_Srid function. This function returns the spatial reference identifier (SRID) of an object.

Syntax

int4 ST_Srid(meshgeom geom);
int4 ST_Srid(sfmesh sfmeshObject);

Parameters

ParameterDescription
geomThe meshgeom object.
sfmeshObjectThe sfmesh object.

Description

This function returns the SRID of an object.

Examples

select ST_Srid(ST_MeshGeomFromText('Srid=4490;MESHGEOM(PATCH(INDEXSURFACE(VERTEX(0 0 2,0 10 3,10 10 1,10 0 1),INDEX((0,1,2),(1,2,3)))))'));

---------
    4490