Welcome to MapForums!

Register, sign in, or use Facebook Connect above to join in and participate in the forum.

When you are signed in, this message, the ads in this row, and the red-underlined link ads all go away.

Subscribe to receive our newsletter.
Subscribe Unsubscribe
Results 1 to 5 of 5

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 ...

  1. #1
    JoeBo is offline 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

  2. #2
    Wilfried is offline Senior Member Black Belt
    Join Date
    Nov 2004
    Location
    Belgium
    Posts
    2,433

    Re: Reverse Geocoding

    Hi,

    You can use FindNearby to find nearby places.

  3. #3
    JoeBo is offline 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

  4. #4
    Wilfried is offline Senior Member Black Belt
    Join Date
    Nov 2004
    Location
    Belgium
    Posts
    2,433

    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.

  5. #5
    JoeBo is offline 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

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Reverse geocoding with c#
    By ayazaliuk in forum MapPoint Desktop Discussion
    Replies: 3
    Last Post: 06-16-2005, 07:52 AM
  2. Reverse Geocoding
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 03-16-2005, 01:10 PM
  3. Reverse GeoCoding
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 04-16-2004, 11:56 AM
  4. Reverse Geocoding, Pt. III
    By Anonymous in forum MP2K Magazine Articles
    Replies: 1
    Last Post: 12-17-2003, 11:10 AM
  5. Reverse Geocoding
    By joesebi in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 07-10-2003, 03:26 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


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