ST_GeometryType (A: Geometry)
SELECT ST_GeometryType(ST_GeomFromText('LINESTRING(77.29 29.07,77.42 29.26,77.27 29.31,77.29 29.07)'))
ST_LineString
Was this page helpful?