Hi Keith
Here is one way to get your lines: First of all, your line file (ie
newline.tab) will need 4 columns with the start and end point information
(I'll call them: x1, y1, x2, y2 where x1,y1 is start point and x2,y2
endpoint).  (newline can be created from the files containing the start and
the end points by  joining them with SQL) 

Open up the mapbasic window and type:

update newline set obj = CreateLine(x1, y1, x2, y2)

If this doesn't work, make sure your projection is Lat/Long and try again.
It's been years since I ran this, and when I tried it just now, I lost the
point symbols when the line was created (which is probably why I had noted
to myself to have 'newline' be a separate file from the point files mapping
start and end points.)  Clear as mud?  Hope that works!  Cheers Christine
phone: (819) 997 - 6082
fax:      (819) 953 - 6612
email:   [EMAIL PROTECTED]

Address: Christine Eberl 
              Migratory Birds Technician
              Canadian Wildlife Service
              100 Gamelin Blvd
               Hull, PQ
               K1A 0H3


-----Original Message-----
From: Keith Campbell [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 17, 2000 4:55 AM
To: [EMAIL PROTECTED]
Subject: MI Automatically Create Lines Between Points


Hello All,

Does anyone know of a utility that will take a list containing 
co-ordinates of start and end points, and create links between them.

Thanks,

Keith
Keith Campbell
GIS Consultant
W S Atkins Consultants Ltd
UK
----------------------------------------------------------------------
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]

Reply via email to