Community of MapPoint and Bing Maps Users and Developers
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 ...
| |||||||
| Today's Posts | Twitter Feed | Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| 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? |
| |||
| 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.
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz www.comfortsoftware.be www.expertsoftware.be MapPoint coding demo |
| |||
| 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. |
| |||
| 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.
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz www.comfortsoftware.be www.expertsoftware.be MapPoint coding demo |
![]() |
| Tags |
| address, getlocation, number, phone |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| 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 |