MapPoint Forums

MapForums

Community of MapPoint and Bing Maps Users and Developers




.GetLocation gives Phone Number not Address sometimes

This is a discussion on .GetLocation gives Phone Number not Address sometimes within the Development forums, part of the MapPoint Desktop Discussion category; Running code that is 99% that same as Reverse Geocoding, Pt. III - MapPoint Articles - MP2K Magazine to reverse ...


Go Back   MapPoint Forums > Map Forums > MapPoint Desktop Discussion > Development

Today's Posts Twitter Feed Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-18-2008
Junior Member
White Belt
 
Join Date: Jul 2008
Posts: 2
Question .GetLocation gives Phone Number not Address sometimes

Running code that is 99% that same as Reverse Geocoding, Pt. III - MapPoint Articles - MP2K Magazine to reverse geocode. Do quite a lot.

With MP2002 I'd say about 1-2% get returned with Location.StreetAddress.Street being a phone number, .City/.Reigon/.PostalCode being blank.

With MP2004 & 2006 this number goes up drastically to about 15%, does anyone know why or mainly what I can do to fix this?
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 07-22-2008
Senior Member
Black Belt
 
Join Date: Nov 2004
Location: Belgium
Posts: 2,410
Re: .GetLocation gives Phone Number not Address sometimes

Hi,

You can check the results by looping into it and eliminate all what is a phone or a road number. I do the same for filtering out or finding only streetnames.
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 07-22-2008
Junior Member
White Belt
 
Join Date: Jul 2008
Posts: 2
Re: .GetLocation gives Phone Number not Address sometimes

Can you be a little more specific about what you mean by "looping into it"?

I've added code to check the first time and the rounded time to see if it's a phone number and if it is it pushes it onto the squares around the location stage. Based on my tests after that it gets about 4 more address per 1000 phone numbers then it would've if I didn't do that.
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 07-24-2008
Senior Member
Black Belt
 
Join Date: Nov 2004
Location: Belgium
Posts: 2,410
Re: .GetLocation gives Phone Number not Address sometimes

Hi,

I mean you have to check all the FindResults items. It can contain phone numbers, road numbers or the things you want. Also you can check the ResultsQuality.
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
address, getlocation, number, phone


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
problem in GetLocation(); nasirgul MapPoint Desktop Discussion 5 04-24-2008 08:13 AM
Speeding up Getlocation queries? Help! Solo4357 Bing Maps and MapPoint Web Service 0 10-13-2005 02:34 PM
Getlocation in VB .net wallacech MapPoint Desktop Discussion 1 12-11-2003 02:27 PM
is there a way to access the phone number of an it.... Anonymous MapPoint Desktop Discussion 1 12-18-2001 05:04 AM


All times are GMT -5. The time now is 02:42 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.5.0 RC3
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 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70