View Single Post

  #4 (permalink)  
Old 04-07-2004
Winwaed's Avatar
Winwaed Winwaed is offline
Mapping-Tools.com
Red Belt
 
Join Date: Feb 2004
Posts: 915
Blog Entries: 10
Create a Location object for your calculated centroid, then use the Location's
FindNearby method to find "places of interest" nearby.

I haven't tried it, but I think you can select the type of place according to what is currently displayed.

Automatically identifying the contacts for each cluster is a bit more involved. A brute force search/comparison is NP-complete of course (takes a long time). There are some cluster analysis algorithms around though - you might find something by Googling. I found some Fortran code to do it, but haven't got around to trying to get it to work yet.


Richard
__________________
Winwaed Software Technology LLC
http://www.winwaed.com
See http://www.mapping-tools.com for MapPoint Tools
Pre-Order MapPoint 2009 today: http://www.mapping-tools.com/mappoint2009
Reply With Quote