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 3 of 3

GeoDecoding

This is a discussion on GeoDecoding within the Development forums, part of the MapPoint Desktop Discussion category; Hello, I have the latitude and longitude of a position. I need to get the nearest street for that point ...

  1. #1
    zanabonir is offline Junior Member Yellow Belt
    Join Date
    Aug 2007
    Posts
    14

    GeoDecoding

    Hello,

    I have the latitude and longitude of a position. I need to get the nearest street for that point
    whit Mappoint 2006.
    Does anyone have VisualBasic examples.

    Thanks in advance

  2. #2
    Eric Frost's Avatar
    Eric Frost is offline Administrator Black Belt
    Join Date
    Jul 1992
    Posts
    5,094
    Blog Entries
    4

    Re: GeoDecoding

    Yes, definitely. Search this forum for "reverse geocoding", this is discussed frequently..

    Eric

  3. #3
    JoeBo is offline Member Yellow Belt
    Join Date
    May 2007
    Posts
    31

    Re: GeoDecoding

    Hi Zanabonir

    I posted a similar question a short while ago and was pointed towards Walt Cygan's excellent code. I found that it was accurate in finding a place name for the location on most occasions. I added another loop to the code which adjusts increments the altitude by 10 miles if a location is not found and passes through the code again. This has been successful with all the data I have passed to the routine.

    The code is in the attachment. The example works with an SQL table on the local machine, but it will work with any data source. The sample is written in vb.net




    Regards
    Joe
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

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