Convert 5 miles (half your square side) in your table XY units. If your
table is in degrees, change to a pertinent projection. If the projection
unit is meters, that value will be something like 8045

In the MBW write and run

Update your_table set obj=mbr(createline(centroidx(obj)-8045,
centroidY(obj)-8045, centroidX(obj)+8045, centroidY(obj)+8045))

Jacques Paris
e-mail  [EMAIL PROTECTED]
MapBasic-MapInfo support  http://www.paris-pc-gis.com
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Kent Treichel
Sent: January 10, 2002 10:48
To: Mapinfo List
Subject: MI-L Creating square areas around centroids

I have a table of centroids and am looking for a way to turn each
centroid into a square region, approximately 10 miles aside, for the
purposes of thematically mapping it.
Any ideas?
--
Kent Treichel
Research Analyst-GIS
Tax Research
Minnesota Department of Revenue
600 North Robert St.
St. Paul, MN  55146
(651) 296-3020
______________________________

STOP PLATE TECTONICS



_______________________________________________________________________
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, send e-mail to [EMAIL PROTECTED] and
put "unsubscribe MapInfo-L" in the message body.



_______________________________________________________________________
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, send e-mail to [EMAIL PROTECTED] and
put "unsubscribe MapInfo-L" in the message body.

Reply via email to