Community of MapPoint and Bing Maps Users and Developers
This is a discussion on Finding the center of a group of pushpins within the MapPoint Desktop Discussion forums, part of the Map Forums category; I am mapping the addresses of contacts for a survey and want to find central locations among those addresses to ...
| |||||||
| Today's Posts | Twitter Feed | Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Finding the center of a group of pushpins |
| ||||
|
What kind of central locations? If you are looking for a simple centroid then this can be calculated and would give you mathematical centre of the locations. It and could be easily coded up in Visual Basic, or the language of your choice. As you are only using pins over the area of a city, then a simple euclidean calculation could be used - ie. ignore that the Earth is a sphere. You're talking about multiple locations for a group - do you mean finding multiple places of interest that MapPoint knows about that are also near the mathematical centre? Richard
__________________ Winwaed Software Technology LLC http://www.winwaed.com See http://www.mapping-tools.com for MapPoint Tools See the Geoweb Guru for online mapping |
| |||
|
winaed, Yes, I thought about developing an application in vb to find the mathematical center of group also(a euclidean algorithm would work), but thought that there may be a built-in function or add-on for such a thing. Using MapPoint to find a location(such as a resturant) near the mathematical center would be the ultimate solution. What I'm looking to do is identify clusters of contacts(say within 15mins of each other) among those in each region and then find a central meeting point for those contacts. To be able to highlight those groupings and have MapPoint find the meeting point(or close approximation) would be the goal. Thanks for your help. |
| ||||
|
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 See the Geoweb Guru for online mapping |
![]() |
| Tags |
| center, finding, group, pushpins |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to list the name of all group of pushpins ? | Elbarto | MapPoint Desktop Discussion | 6 | 03-06-2006 02:40 PM |
| Finding Center of Data | kerleyp | MapPoint Desktop Discussion | 2 | 08-18-2005 03:34 PM |
| Finding nearest pushpins in dataset | Dazzer | MapPoint Desktop Discussion | 3 | 10-17-2003 08:38 AM |
| More efficient search capabilities - finding Pushpins | Anonymous | Wish List | 0 | 08-12-2003 08:42 AM |
| Is it possible to group several pushpins together,.... | Anonymous | MapPoint Desktop Discussion | 1 | 08-27-2001 12:03 PM |