Brian Gallant wrote:
> 
> 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 works for some reason.
Hope this helps.

Regards, Mats.E
-- 
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:Email/ [EMAIL PROTECTED]                     ICQ#9517386       :
:---------------------------------------------------------------------:
:Mail/ GISKRAFT, Mats Elfstroem, Vaepplingv 21, SE-227 38 LUND, SWEDEN:
:Phones: +46 46 145959, +46 70 595 3935                               :
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]

Reply via email to