Hi Brian,
Use mbr(createline(centroidx(obj)-12.5,centroidy(obj)-12.5,centroidx(obj)+12.5,centroidy(obj)+12.5)) for updating your centroids. Remember to change the coordinate system first by calling "set coordsys table ......" in the mapbasic window.
Regards Uffe Kousgaard
----- Original Message ----- From: "Cowper, Brian" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, April 12, 2005 11:14 PM
Subject: MI-L Points to Regions without Mapbasic
I have a database that contains coordinates of 50,000 centroids that make up grid of 25m square cells. I've seen a solution from the archives that uses MapBasic to do this, however I don't have MapBasic. Is there any way I can do this without MapBasic.
The squares have to be orientated to north to south, I tried to use the buffer command but they rotate 45 degrees.
TIA
Brian
--------------------------------------------------------------------- List hosting provided by Directions Magazine | www.directionsmag.com | To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Message number: 16054
