MI_GeometryType
説明
ジオメトリ オブジェクトのタイプを示す文字列を返します。
構文
MI_GeometryType ( geometry )
引数
geometry は、ジオメトリを返す式です。
例
指定された国のジオメトリ タイプを返します。
select MI_GeometryType([Geometry_Column]) as MI_GEOMETRYTYPE from countries where country in ('Canada','Brazil','China')
コメント
戻り値は次のいずれかです (MapInfo.Geometry.GeometryType の 1 つでもあります)。
- Envelope
- ポイント
- MultiPoint
- MultiCurve
- MultiPolygon
- FeatureGeometryCollection
- Curve
- リング
- ポリゴン
- LineString
- 長方形
- 角丸長方形
- 楕円
- LegacyText
- LegacyArc