How to check what geometry types are present in a MapInfo table

How to check what geometry types are present in a MapInfo table

In MapInfo Pro, the following query will summarize the contents of a layer by geometry type:

(type this into the MapBasic window, or use the SQL builder)
 

Select str$(obj), Count(*) from MyTable group by 1 into Selection

Browse * From Selection

 

Str$(Obj) returns a text string such as "Polyline" or "Region".

 

Comments

Comments are closed on this post.
Find out more