MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




Automating matching postcodes

This is a discussion on Automating matching postcodes within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Of the 1500 addresses I am importing from an Excel spread sheet about 10% always need matching - however I ...


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 11-12-2005
Junior Member
White Belt
 
Join Date: Jul 2004
Posts: 3
Automating matching postcodes

Of the 1500 addresses I am importing from an Excel spread sheet about 10% always need matching - however I fiddle around with the layout and contents of the addresess. In 99% of cases the first selection offered is perfectly acceptable and I won't worry about the 1% left.

However, I have to select each one and accept the change individually, which is a pain as I have to do this exercise on a weekly basis!!

Is there any way, even via VB, that I can do this automatically in one go - even if I have to press a button to set the process running?

Regards

Roberta
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 11-13-2005
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,112
Hi,

I hope I understeand what you want to do.

What you could do is programatically place the pushpins, check if it is on an address, and if not then find the nearest address by means of a vector, increasing the radius until you find an address on the circumfence. Then move it there. This for every position.
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 11-13-2005
Member
Green Belt
 
Join Date: Mar 2005
Posts: 96
Hi,

This is a supplement to Wilfried suggestion.
(Hi Wilfried, you undestand now why I am using camels in my delivery system, no chance to make them burning !!!! )

2 things:

1°- Programmatically

Quote:
In 99% of cases the first selection offered is perfectly acceptable
If you add the PushPins programmatically, just use the ResultsQuality property

geoFirstResultGood = It's what you are using
geoAmbiguousResults = One of the 2 first results is good.
(it's what you should choose. Programmatically you can get one of them )

as in this example:

Code:
Sub AddPushpinToGoodFindMatch()
    
Dim objApp As New MapPoint.Application
Dim objFR As MapPoint.FindResults
      
'Configure l'application
objApp.Visible = True
objApp.UserControl = True

'Get a FindResults collection
Set objFR = objApp.ActiveMap.FindResults("Seattle")
    
'If one of the two first results is good
If objFR.ResultsQuality = geoAmbiguousResults Then           objApp.ActiveMap.AddPushpin objFR.Item(1)
Else
    MsgBox "More than 2 choices"
End If

End Sub


2° Pragmatically :

If you correct your adresses once manually, and if your 1500 addresses
are not changing, just export the corrected Pushpins from Mappoint to Excel. Now, you have cleaned addresses in your Excel file. The next time you will not have to correct them again.

Ciao
__________________
Mohamed
www.AtlasCouscous.com
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 11-15-2005
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,112
Hi Mohamed,

Thanks for supplement, it has been a while, welcome home
I understeand about the camels, they have many advantages
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
automating, matching, postcodes


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
Help matching data Anonymous MapPoint 2006/2009 Discussion 0 03-01-2005 04:53 PM
Automating Mappoint using VB vennamreddy MapPoint 2006/2009 Discussion 1 10-07-2004 06:19 AM
Automating Mappoint Anonymous MapPoint 2006/2009 Discussion 3 07-26-2004 03:29 PM
Automating MapPoint with Perl Eric Frost MP2K Magazine Articles 12 07-15-2004 03:44 PM
Automating MapPoint with the .NET SDK Anonymous MP2K Magazine Articles 2 10-21-2002 06:41 PM


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