Well, it can almost solve your problem, but not quite, because I got lazy when 
I made the application, so it requires the objects in the origin table are 
points and if they are not the application automatically uses the centroid of 
these. But the objects in the destination table can be any kind of object 
(point, polyline, line and polygon) and the application will find the shortest 
distance to the any point on this object.

Peter Horsb�ll M�ller
GIS Developer
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


-----Original Message-----
From: Uffe Kousgaard [mailto:[EMAIL PROTECTED] 
Sent: Thursday, December 09, 2004 4:29 PM
To: Mapinfo-L
Subject: Re: MI-L Finding nearest neighbour of a polygon by boundary notcentroid


Hi Alan,

This tool should be able to do it, but I haven't tried it: 
http://www.directionsmag.com/files/index.php/view/588

Regards
Uffe

----- Original Message ----- 
From: "Alan Hale" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, December 09, 2004 10:10 AM
Subject: MI-L Finding nearest neighbour of a polygon by boundary notcentroid


Hi

Given a layer with a number of polygon regions, if you select one how could you 
find the polygon nearest to it, on the basis of their boundaries rather than 
centroids?

Many thanks

Alan Hale
Ecolegydd Isblanhigion/Lower Plant Ecologist
Cyngor Cefn Gwlad Cymru/Countryside Council for Wales Aberystwyth


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



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

Reply via email to