The below information is for Regions, Poylines, Lines and other objects.
It does not apply to points.
First add four new numeric columns to the table to hold this coordinate
information.
Use Table Update column and in the expression put the following function:
ObjectGeography(obj,1) 'This returns the Min X of the objects' MBR. In
case of Line objects, it returns Begin X of a line.
ObjectGeography(obj,2) 'This returns Min Y of objects' MBR, for lines
its Begin Y.
ObjectGeography(obj,3) 'This returns Max X of objects' MBR, for lines
its End X.
ObjectGeography(obj,4) 'This returns Max Y of Objects' MBR, for lines
its End Y.
-Bill
Mail List:[EMAIL PROTECTED]
From: [EMAIL PROTECTED] on 01/20/99
06:34 AM GMT
To: " - (052)MapInfo-L(a)lists.csn.net"
<[EMAIL PROTECTED]>
cc:
Subject: MI Outputting the MBR (Minimum Bounding Rectangle)
coordinates
Hi all,
Hope I'm not clogging this list with too simple a query.
In MapInfo, is there an easy way of outputting the MBR (Minimum Bounding
Rectangle) coordinates of a polygon, to a text file?
Thanks in advance for any feedback.
----------------------------------------------------------------------
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]