Greetings,

If you have version 8.0 of MapInfo Professional and MapBasic there are some new functions that may help make this task quite easy for you.  There is the ObjectDistance(), function will which will calculate the shortest distance between two objects and the ConnectObjects() function which will draw a line between two objects that represents their closest or farthest points.

I hope this helps,

        Tom

************************************************************
Thomas M Probert
EMEA Desktop Product Manager
MapInfo Corporation - Be Location Intelligent

Minton Place, Victoria Street
Windsor, Berkshire SL4 5ED
United Kingdom
Main +44 (0) 1753 848 200    Fax +44 (0) 1753 621 140
Direct +44 (0) 1753 848 247

http://www.mapinfo.co.uk
************************************************************



"Christophe Brabant" <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]

22/03/2006 13:40

To
<[email protected]>
cc
Subject
[MI-L] distance between 2 polylines





Hi everyone
 
How could I compute, with Mapbasic language, the lowest distance between two polylines ?
 
Thank you
 
Chris_______________________________________________
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