Nome

ST_SRID — Returns the spatial reference identifier for a topogeometry.

Sinopse

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 Seção 4.5, “The SPATIAL_REF_SYS Table and Spatial Reference Systems”.

Availability: 3.2.0

Exemplos

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';
Raster Outputs
srid
------
 3438