Name

ST_SRID — Returns the spatial reference identifier for a topogeometry.

Synopsis

integer ST_SRID(topogeometry tg);

Description

Returns the spatial reference identifier of the topology containing the TopoGeometry.

The identifier is recorded for the topology when it is created and refers to an entry in Section 4.5, “Spatial Reference Systems”.

Availability: 3.2.0

Examples

Return the SRID of a TopoGeometry stored in the ri_topo topology.

Code
SELECT topology.ST_SRID(topo) AS srid
FROM ri.roads
WHERE road_name = 'Unknown';
Output
 srid
------
 3438