All Products
Search
Document Center

PolarDB:ST_Srid

Last Updated:Mar 28, 2026

Returns the spatial reference system identifier (SRID) of a scene object. The SRID identifies the coordinate reference system used by the object, which determines how coordinates are interpreted and how spatial operations such as transformations are performed.

Syntax

int4 ST_Srid(scene sceneObject)

Parameters

ParameterDescription
sceneObjectThe scene object whose SRID is retrieved.

Return value

Returns an int4 value representing the SRID.

Example

SELECT ST_Srid(
  ST_sceneFromText('{"type" : "gltf", "srid" : 4326 , "content" : {"accessors":...}}')
);
-- result
4326

SRID 4326 corresponds to the WGS 84 geographic coordinate system, the standard reference system used for GPS coordinates worldwide.

What's next

  • ST_sceneFromText — construct a scene object from a JSON string