Hi
use this from Mapbasic window
 
set coordsys table TABLENAME
Update TABLENAME set obj = MBR( Createline(x1,y1,x2,y2) )
 
the table must be mappable and the coordinate system of table must be same as your coordinates
 
Regards...
 
Ahmet DABANLI
 
 
----- Original Message -----
Sent: Friday, November 18, 2005 9:40 PM
Subject: [MI-L] "Create Rect" for SQL line

I have MapInfo 7.0 and several tables which have opposite corners defined so I could create rectangles.  Example:
 
ID,X1,Y1,X2,Y2,dbm
1,-107.642,41.6925,-107.64,41.6908,-97.9
 
Any solutions?

 
 
David C Cotton, Jr, PE
RF Engineering
Union Telephone Company
850 N Hwy 414
PO Box 160
Mountain View, WY 82939-0160
Personal:  [EMAIL PROTECTED]
PH:  307-747-0070
 


_______________________________________________
MapInfo-L mailing list
[email protected]
http://www.directionsmag.com/mailman/listinfo/mapinfo-l
_______________________________________________
MapInfo-L mailing list
[email protected]
http://www.directionsmag.com/mailman/listinfo/mapinfo-l

Reply via email to