Hi Duncan

Open a mapbasic window and paste in these 4 commands:

update <tablename> set x1=ObjectGeography(obj,1)
update <tablename> set y1=ObjectGeography(obj,2)
update <tablename> set x2=ObjectGeography(obj,3)
update <tablename> set y2=ObjectGeography(obj,4)

If you are not using latitude/longitude, you should first issue this
command:
set coordsys table <tablename>

Kind regards

Uffe Kousgaard
www.routeware.dk

----- Original Message -----
From: "Duncan" <[EMAIL PROTECTED]>
To: "MapInfo-L" <[EMAIL PROTECTED]>
Sent: Wednesday, October 17, 2001 3:35 PM
Subject: MI-L Region co-ords

> Listers,
>
> I get the feeling this should be particularly easy. I want to write to =
> four columns in a table the bounds (X1, X2, Y1, Y2) of a series of =
> rectangular regions I have created. Is there a mbx or specific function =
> (similar to CentroidX() ) in MI.=20
>
> Thanks=20
>
> Duncan





_______________________________________________________________________
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