MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




I am wondering if anyone has built a COM add-in ap....

This is a discussion on I am wondering if anyone has built a COM add-in ap.... within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; I am wondering if anyone has built a COM add-in application or has written VB code that will query two ...


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

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-13-2002
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
I am wondering if anyone has built a COM add-in application or has written VB code that will query two sets of data in MapPoint 2002 and determine whether the locations of dataset 1 (imported address info from excel) are within a given radius of dataset 2 (also imported address info from excel)

Would like to eventually create a form that accepts the following inputs:
DATASET 1: user may select a dataset already imported to the current MapPoint file
DATASET 2 same operation as dataset 1
RADIUS: the distance in miles from the data points within dataset 1 that will be used to find the data points within dataset 2.
OUTPUT FILENAME: allows the user to specify the filename of a new excel file where the results of the query will be stored.

I am guessing that the records from dataset 1 would have to be converted to lat/long in order to create the radius and capture the resulting pushpins from dataset 2?

Appreciate any response that might help me address and solve this problem

Regards,
Jonathan Martin
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 05-13-2002
Senior Member
Green Belt
 
Join Date: Aug 2002
Posts: 124
I don't know of anyone who has specifically done this, but it certainly can be done. The only question would be performance, which would mostly depend on the size of the datasets. If dataset 1 has x records and dataset 2 has y records, you'd have to do x*y calculations of distance.


While lat/lon would be helpful for importing the data, it is not necessary. The Distance method will work using the Location objects of any 2 Pushpins. Check the programming help documentation. This assumes you want a crow's flight distance. If you want a driving distance, you will need to create a route by adding pushpins as waypoints, then calculating the route and reading the Distance property.


- Walt Cygan
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


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
Built-in Undo/Redo functionality? Boelling MapPoint 2006/2009 Discussion 0 11-15-2004 03:52 AM
I was wondering if Mappoint 2002 had an API that I.... Anonymous MapPoint 2006/2009 Discussion 1 05-22-2002 01:58 PM
I was wondering if there was any direct method to .... Anonymous MapPoint 2006/2009 Discussion 1 09-13-2001 06:29 AM
Hello, I'm wondering if there is a way to include.... Anonymous MapPoint 2006/2009 Discussion 1 09-04-2001 11:52 AM
My company was wondering what is the accuracy of y.... Anonymous MapPoint 2006/2009 Discussion 1 05-11-2001 12:30 PM


All times are GMT -5. The time now is 01:32 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

Ski Holiday Soldeu
Ski holidays in Soldeu are renowned for the fantastic snow and sunshine records combined with the high standard of accommodation. Book a ski holiday in Soldeu online.

Cyprus Weather
Check out Cyprus Weather - Travel Counsellors details information on Cyprus including, weather, flights and accommodation.

Turkey Holiday
Any Turkey Holiday should include a visit to Anadolu; the Anatolian high central plateau is where Turkish culture is rooted. Book a cheap Turkey Holiday online at dealchecker.co.uk.

Holidays to Dominican Republic
Holidays to Dominican Republic offer a wealth of natural beauty and magnificent views. Come alive in the splendor of the Dominican Republic!

Greece
Greece covers a large area and as a result there is an abundance of things to do, see and taste. You can relax on a beach, visit ancient sites or make a trip to one of the islands like Corfu, Crete or Rhodes.

Compare holiday prices
Compare holiday prices online where you can see all the possibilities at Travel.co.uk

Holidays in Sharm el Sheikh
Need booking info on holidays in Sharm el Sheikh? Visit On The Beach for more information!


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