GeometryType(g)

Returns as a binary string the name of the geometry type of which the
geometry instance g is a member. The name corresponds to one of the
instantiable Geometry subclasses.

URL: https://mariadb.com/kb/en/geometrytype/

