ST_GeometryType — Returns the name of the instantiable subtype of Geometry of which the input geometric object is a member, as a string
varchar ST_GeometryType(
bytea
Geometry)
;
Returns the name of the instantiable subtype of Geometry of which the input geometric object is a member, as a string. E.g. "ST_POLYGON", "ST_LINESTRING", "ST_POINT".
2D | 3D | M |
---|---|---|
OGC SFS for SQL. 1.1 (1999) | OGC SFS for SQL. 1.1.0 (2005) | OGC SFS for SQL. 1.2.0 (2006) | SQL-MM Part 3 |
---|---|---|---|
2.1.1.1 | 7.2.10.1 | 7.2.8.2 | 5.1.4 |