Community of VE/MapPoint Users and Developers
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 ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| 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 |
| |||
|
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 |
![]() |
| Tags |
| addin, built, wondering |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Built-in Undo/Redo functionality? | Boelling | MapPoint 2006/2009 Discussion | 0 | 11-15-2004 04:52 AM |
| I was wondering if Mappoint 2002 had an API that I.... | Anonymous | MapPoint 2006/2009 Discussion | 1 | 05-22-2002 02:58 PM |
| I was wondering if there was any direct method to .... | Anonymous | MapPoint 2006/2009 Discussion | 1 | 09-13-2001 07:29 AM |
| Hello, I'm wondering if there is a way to include.... | Anonymous | MapPoint 2006/2009 Discussion | 1 | 09-04-2001 12:52 PM |
| My company was wondering what is the accuracy of y.... | Anonymous | MapPoint 2006/2009 Discussion | 1 | 05-11-2001 01:30 PM |