Finding which pins from two data sets are at same location

Anonymous
08-22-2003, 03:26 PM
Is there a way that I can isolate the pins that i plot from two datasets that are at the same exact address? Ideally I would like to be able to just print the hyperlinks and/or pushpin name of those at same locations.

Perhaps there is a way that after I display the pins from both sets, I can hit my button and those pins that arent at location of another disappear and I can then print out the remaining pins.

Or maybe I can use highlight for those that are at same, and then print highlighted.

Either way, I REALLY need to be able to isolate the locations with 2 or more pins.

Many thanks for reading and hope you can help. From what I see you guys are pretty good with MP!

Anonymous
01-08-2004, 03:47 PM
i am looking for the same things. any ideas..

Mossoft
01-12-2004, 07:04 AM
Try something along the lines of:
Loop through each pushpin in "Dataset A" doing a QueryCircle on "Dataset B" centred on the location of the pushpin. If the returned recordset has any entries, then there are 2 co-incident pushpins, so set the Highlight property/move or copy to another dataset/save name of pin etc. (whatever).

HTH

M.

 
Web mp2kmag.com
mapforums.com