Hi Marius, 1.. Make a copy of the table (myTable) 2.. Open the MapBasic window and enter 3.. Set CoordSys Table myTable 4.. Update myTable Set OBJ = CreateLine(myXCol, myYCol, myXCol + Cos(myAngleCol) * desiredLength, myYCol + Sin(myAngleCol) * desiredLength) 5.. Hit return after each command (3 and 4) Angle values need to be in radian, and desiredLength in the same unit as the coordinate units are in.
Best regards / Med venlig hilsen Lars V. Nielsen -------------------------------------------------------- Hvenegaard & Meklenborg Rugaardsvej 55, DK-5000 Odense C Denmark http://www.hvm.dk ----- Original Message ----- From: "Marius van Wyk" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 01, 2003 6:56 PM Subject: MI-L Creation of lines from table with points and angles/bearing > Hi, > > I have a table which contains coordinates and a bearing at each of these > coordinates. I need to show on a map, these points, with a line then > pointing in the direction of the bearing in the table. Could anyone please > give me a few pointers/help how to do this? > > Best regards > Marius van Wyk > > > > ________________________________________________________________________ > > This e-mail message (including any attachment) is intended only for the personal > use of the recipient(s) named above. This message is confidential and may be > legally privileged. If you are not an intended recipient, you may not review, copy > or > distribute this message. If you have received this communication in error, please > notify > us immediately by e-mail and delete the original message. > > Any views or opinions expressed in this message are those of the author only. > Furthermore, this message (including any attachment) does not create any legally > binding rights or obligations whatsoever, which may only be created by the exchange > of hard copy documents signed by a duly authorised representative of Hutchison > 3G UK Limited. > ________________________________________________________________________ > >
