MapPoint Forums

MapForums

Community of MapPoint and Bing Maps Users and Developers




Reverse Geocoding

This is a discussion on Reverse Geocoding within the MapPoint Desktop Discussion forums, part of the Map Forums category; Hello I have used Walt Cygan’s excellent code for Reverse Geocoding in a vb.net application, this works well on most ...


Go Back   MapPoint Forums > Map Forums > MapPoint Desktop Discussion

Today's Posts Twitter Feed Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-11-2007
Member
Yellow Belt
 
Join Date: May 2007
Posts: 31
Reverse Geocoding

Hello

I have used Walt Cygan’s excellent code for Reverse Geocoding in a vb.net application, this works well on most occasions. I would like to be able on the occasions’ when no street address is found to find other details, for example is it possible to find the nearest Town or any other information relevant to the known latitude, longitude?

Regards
Joe
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-12-2007
Senior Member
Black Belt
 
Join Date: Nov 2004
Location: Belgium
Posts: 2,389
Re: Reverse Geocoding

Hi,

You can use FindNearby to find nearby places.
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-12-2007
Member
Yellow Belt
 
Join Date: May 2007
Posts: 31
Re: Reverse Geocoding

Hi Wilfried

Thanks for the response, I have tried the following:

objLoc = objMap.GetLocation(rs.Fields("latitude").Value, rs.Fields("longitude").Value, 1)
objResults = objLoc.FindNearby(1.5)
If objResults.Count > 0 Then MsgBox(objResults(1).Name)

The latitude = 51.12682
The longitude = -1.32759

There is a Village and a major road within the selected radius, I would be happy to return either as a result.

Regards
Joe
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-13-2007
Senior Member
Black Belt
 
Join Date: Nov 2004
Location: Belgium
Posts: 2,389
Re: Reverse Geocoding

Hi Joe,

Oups, I think FindNearby only returns points of interest and pushpins. So that is not what you wants. Sorry to give you incorrect information

You have 2 alternatives. First the easy and fast one:

- Go higher in Altitude. Eventually in 2 steps. If Altitude is higher lots of points are visible at same location (cities / streets)..

- scan the area around the position. This is very accurate but take a lot of time.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5 (permalink)  
Old 07-14-2007
Member
Yellow Belt
 
Join Date: May 2007
Posts: 31
Re: Reverse Geocoding

Hi Wilfried

I have used your suggested method and incremented the altitude for records who do not return a known address. This has resolved the problem.

Regards
Joe
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
geocoding, reverse


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
Reverse geocoding with c# ayazaliuk MapPoint Desktop Discussion 3 06-16-2005 06:52 AM
Reverse Geocoding Anonymous MapPoint Desktop Discussion 0 03-16-2005 12:10 PM
Reverse GeoCoding Anonymous MapPoint Desktop Discussion 1 04-16-2004 10:56 AM
Reverse Geocoding, Pt. III Anonymous MP2K Magazine Articles 1 12-17-2003 10:10 AM
Reverse Geocoding joesebi MapPoint Desktop Discussion 2 07-10-2003 02:26 PM


All times are GMT -5. The time now is 05:09 PM.


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