John,

There is a CreateLine() function that kind of equals the CreatePoint() 
function. But you don't have a  visual interface to the CreateLine so you'll 
have to live with the MapBasic window.

1. Make the table mappable thru Table Maintenance
2. Open the MapBasic window
3. Enter these lines each followed by hitting the ENTER key
        Set CoordSys Table MYTABLE
        Update MYTABLE Set OBJ = CreateLine(X1, Y1, X2, Y2)
4. Now you have your line work

Peter Horsbøll Møller
GIS Developer, MTM
Geographical Information & IT
 
COWI A/S
Odensevej 95
DK-5260 Odense S.
Denmark
 
Tel     +45 6311 4900
Direct  +45 6311 4908
Mob     +45 5156 1045
Fax     +45 6311 4949
E-mail  [EMAIL PROTECTED]
http://www.cowi.dk/gis

COWI har fået ny hjemmeside. Ydelserne GIS og IT, kort, kortlægning, 3D 
visualisering og arealforvaltning ligger under SAMFUND. Se mere her : 
www.cowi.dk

COWI has changed its homepage. Our services within cadastre and 
landadministration, geodataproducts, mapping and GIS can be seen under SOCIETY. 
See our services here: www.cowi.com


-----Original Message-----
From: John Gosbell [mailto:[EMAIL PROTECTED] 
Sent: Friday, July 15, 2005 9:49 AM
To: [email protected]
Subject: MI-L Import of XLS file with "from & To" Coords 


Howdy all,

I use the MapInfo "Create Points" function often when receiving GPS point 
data, but have just received some linework data where the Excel data file 
contains UTM co-ords with the "from" & "to" coords making up each line ie 
(x1,y1,x2,y2).

Is there an automated process within MapInfo to achieve the import of line 
data from XLS, CSV etc ??  otherwise all I can think of doing is importing 
the (x1,x2) using create points and then the (x2,y2) and re living my 
childhood by playing "join the dots"

Cheers with Beers

Johnno
GIS Administrator
City of Burnside
Adelaide
Australia


CONFIDENTIALITY: This e-mail is from the City of Burnside. The contents 
are confidential and intended only for the named recipient of this email. 
If the reader of this e-mail is not the intended recipient you are hereby 
notified that any use, reproduction, disclosure or distribution of the 
information contained in the email is prohibited. If you have received 
this e-mail in error, please reply to us immediately and delete the 
document.
VIRUSES: Any loss/damage incurred by using this material is not the 
sender's responsibility. The City of Burnside's entire liability will be 
limited to resupplying the material. No warranty is made that this 
material is free from computer virus or other defect.

---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 17165

Reply via email to