objectinfo(obj,21) or ...,obj_info_npolygons) yields the number of
polygons for the object.
e.g.
if you
select * from your_table where
objectinfo(obj,21)>1 into selec
you will get the table "selec" with all your
multi-polygons regions (records)
To
"explode" those regions you have to write an iterative program, going
through each region and for each one reading the required info
with
objectinfo(obj,21+poly_num) to get the
number of nodes in each polygon abd
objectnodeX(obj,poly_num,node_num) and objectnodeY(..)
for each node coordinates
then create a single-polygon region with these
nodes.
A
rather straight forward progam! Good luck.
Jacques
Paris
============================================================ e-mail [EMAIL PROTECTED] alternate [EMAIL PROTECTED] gis activity (MapInfo
mainly)
http://www.total.net/~rparis/gisproducts.htm ============================================================
|
- MI Splitting polygons Graham Smith
- RE: MI Splitting polygons Jacques Paris
- RE: MI Splitting polygons Shane Barrett
- RE: MI Splitting polygons Perry Chris
- Re: MI Splitting Polygons brian . forrester
- RE: MI Splitting polygons pel
- MI Splitting polygons SenGupta,Georges
- Re: MI Splitting polygons Spencer Simpson
- MI Splitting Polygons SenGupta,Georges