Try this:

Open a  Mapbasic Window and type:


Update mapname Set obj = CreatePoint (CentroidX(obj), CentroidY(obj))
<enter>

 

-----Original Message-----
From: Sam Shelley [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 11, 2004 7:01 PM
To: [EMAIL PROTECTED]
Subject: MI-L Create points save in new table

Does anyone know, using MapBasic commands, how to get the centroid of region
objects stored in a table and create a new table of points from those
centroids along with the attribute data of the original table.

 

Basically converting a table of regions to a table of points.

 

Thanks in advance Sam



---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 10846

Reply via email to