MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




Finding the center of a group of pushpins

This is a discussion on Finding the center of a group of pushpins within the MapPoint 2006/2009 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 ...


Go Back   MapPoint Forums > Map Forums > MapPoint 2006/2009 Discussion

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read



Click here to register

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-07-2004
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
Finding the center of a group of pushpins

I am mapping the addresses of contacts for a survey and want to find central locations among those addresses to use as meeting points for the participants. There will be 50+ contacts in each geographic area(roughly city-size) around the country, so it would be very helpful to automatically find central locations among them in each area, perhaps several per area(within 15mins drive time). Anyone know of a way to do this?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 04-07-2004
Winwaed's Avatar
Mapping-Tools.com
Red Belt
 
Join Date: Feb 2004
Posts: 903
Blog Entries: 10
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
Pre-Order MapPoint 2009 today: http://www.mapping-tools.com/mappoint2009
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 04-07-2004
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4 (permalink)  
Old 04-07-2004
Winwaed's Avatar
Mapping-Tools.com
Red Belt
 
Join Date: Feb 2004
Posts: 903
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
center, finding, group, pushpins


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
How to list the name of all group of pushpins ? Elbarto MapPoint 2006/2009 Discussion 6 03-06-2006 03:40 PM
Finding Center of Data kerleyp MapPoint 2006/2009 Discussion 2 08-18-2005 04:34 PM
Finding nearest pushpins in dataset Dazzer MapPoint 2006/2009 Discussion 3 10-17-2003 09:38 AM
More efficient search capabilities - finding Pushpins Anonymous Wish List 0 08-12-2003 09:42 AM
Is it possible to group several pushpins together,.... Anonymous MapPoint 2006/2009 Discussion 1 08-27-2001 01:03 PM


All times are GMT -5. The time now is 12:46 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
MP2K Magazine
Visitor Map


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55