I uploaded a tool called FindNearestObject to Directionsmag some months ago. 
I think that tool will do the trick for you. It will give you a table 
containing a link between each point and the closest polygon. And it will even 
show a line between the point and the point of the polygonn that is closest.

You'll find it here:
http://www.directionsmag.com/files/index.php/view/588

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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 06, 2005 5:57 PM
To: [email protected]
Subject: MI-L Distance calculation



I have a set of  points and a set of polygons that are supposed to contain the 
points.  Unfortunately some of the points fall outside the polygons due to data 
inaccuracy.  What I would like to do is to establish a procedure that would 
identify which polygon is closest to each point.  I am quite at home writing 
Mapbasic but can't think of ways to do this that wouldn't take ages (they are 
quite large datasets).  Any ideas?

Andy




Disclosure of Material Facts
Every Proposer or Insured / Reinsured when seeking new insurance / reinsurance 
or renewing an existing Policy must disclose any information which might 
influence the Insurer / Reinsurer in deciding whether or not to accept the 
risk, what the terms should be, or what premiums to charge.  Failure to do so 
may render the insurance / reinsurance voidable from inception and enable the 
Insurer / Reinsurer to repudiate liability.

This email, together with any attachments, is for the exclusive and 
confidential use of the addressee(s) and may contain legally privileged 
information.  Any other distribution, use or reproduction without the sender's 
prior consent is unauthorised and strictly prohibited.  If you have received 
this message in error, please notify the sender by email immediately and delete 
the message from your computer without making any copies.  While attachments 
are virus checked, Aon Limited does not accept any liability in respect of any 
virus which is not detected.

Aon Limited
Company Number: 210725
Registered Address: 8 Devonshire Square, London, EC2M 4PL

Aon Limited is authorised and regulated by the Financial Services Authority in 
respect of insurance mediation activities only


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



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

Reply via email to