If you make a copy of your data, open it up, then open the mapbasic window and type 
the following:

update <YourTableName> Set obj = CreatePoint(CentroidX(obj),centroidY(obj))

(Substitute in your table name), you will have a table where the polygons have been 
replaced by points.

Rob.



-----Original Message-----
From:   Jon Spinney [SMTP:[EMAIL PROTECTED]]
Sent:   Saturday, October 02, 1999 6:02 AM
To:     'Mapinfo User List'
Subject:        MI centroids to points?

Hi List, 

Can anyone tell me how to generate points from polygon centroids, and
automatically attach the polygon attributes to the newly generated point?  I
can't remember if I have seen an MBX that does this?

Thanks!

Jon Spinney
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>    
----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
----------------------------------------------------------------------
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