Grant,

You want to use a combination of ObjectInfo(obj,OBJ_INFO_NPNTS) to get the
number of points in the line

And then use ObjectNodeX and ObjectNodeY to get the coordinates.

Do email if you need any more help - i have assumed that you have Mapbasic.

It should also be possible to do this directly in Mapinfo.

Regards

Martin
----- Original Message -----
From: Grant Dickson <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 25, 2000 02:08 PM
Subject: MI Lines to points


> Hello all,
>
> Does anyone know of a Mapbasic function that will
> extract the start and end coordinates of polylines?
>
> Or alternatively replace the line with points?
>
> Grant
>
> ____________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
> or your free @yahoo.ie address at http://mail.yahoo.ie
> ----------------------------------------------------------------------
> 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