|Functions / Geometry Observer Functions (return a scalar value)|
Returns a string indicating the type of a geometry object.
MI_GeometryType ( geometry )
geometry is an expression which returns a geometry.
Returns the geometry type for the specified countries.
select MI_GeometryType([Geometry_Column]) as MI_GEOMETRYTYPE from countries where country in ('Canada','Brazil','China')
The value returned is one of the following (which is also found in the MapInfo.Geometry.GeometryType enumeration):