Hello,
>> Is there a way to select regions only if they are complex objects.
>Hi Brian!
>By 'complex' I assume you mean 'multiple objects' for instance islands
>in a lake belongin to the same property.
>Well , ObjectInfo(obj,21) will return the number of polygons so I tried
>Select * from world where objectinfo(obj,21) > 1 into Selection
>got a datatype mismatch. Using Val.. did not help.
>So my tip is to add a column and populate that with said value, then
>select on that. Like this:
>Alter Table "World" ( add Num_Poly Smallint ) Interactive
>Update World Set Num_Poly = objectinfo(obj,21)
This would work:
Select * from world where val(str$(objectinfo(obj,21))) > 1 into Selection
Dmitry
Dmitry Bogdanov
GIS Department Manager
Kiev Software Factory Ltd.
room 46 9/12 Baumana St, Kiev, Ukraine 252190
Tel: (380 44) 442-6077; (380 44) 443-7925
Fax: (380 44) 443-7925
Internet: http://www.ksf.kiev.ua
----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]