MapPoint VBA - Radii

Phil Holt
01-23-2006, 03:49 PM
Is it possible to use a macro to do:

1) Find the highest concentration of pushpins within a circle of a set radius, within a wider region e.g. state / country?
2) Same idea as above but searching for highest concentration of values in the data.
?

Eric Frost
01-24-2006, 05:32 AM
I think you could.. I could consider drawing lots of radii and then doing a QuerybyShape on each one to see what's inside. To do the same with values would require more programming. It's not a trivial programming exercise (not with one line of code) but certainly do-able.
Eric

Winwaed
01-24-2006, 07:26 AM
For a sophisticated solution, you might want to investigate cluster analysis algorithms. They would probably work best if your pin coordinates are in your own data structures and not MapPoint.

Again not a simple one line, but do-able with a little research.
(cluster analysis is performed in data mining, for example)


Richard

 
Web mp2kmag.com
mapforums.com