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

Find the nearest address.

This is a discussion on Find the nearest address. within the MapPoint Desktop Discussion forums, part of the Map Forums category; VC++ programmer Mappoint2006 Hello guys, I'm able to get the address from a location, but sometimes I don't get an ...

  1. #1
    VC_Man is offline Member Green Belt
    Join Date
    Nov 2006
    Posts
    93

    Find the nearest address.

    VC++ programmer
    Mappoint2006

    Hello guys,

    I'm able to get the address from a location, but sometimes I don't get an address at all. So when I look for the second result of founded locations, than I get a highway address ( actually just a number ). Even if continue iterating all the founded addresses I get only highway addresses. I've seen an example of how to get the nearest address, but it's written in VB that confuses me to understand what it's really going on.

    Maybe somebody can give me a simple explanation in plain english or simple general code. I assume I need to create another Location near my location and than try to get the address? If somebody has a link to an article just post it plz. Thank you.

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

    Re: Find the nearest address.

    Hi,

    Possible your altitude is too high. Try to set it to 1 km or something.

  3. #3
    VC_Man is offline Member Green Belt
    Join Date
    Nov 2006
    Posts
    93

    Re: Find the nearest address.

    Hi Wilfried,

    Thanx for your reply, yesterday I couldn't get to Mappoint website (maybe server was down?). All my pushpins are set at 1km of Altitude (=1), but it's really strange. Sometimes I get for the same location an address and sometimes not. I can explain you how I did it: I get two positions from two targets, these are fixed because the vehicles don't move. So when I start my app, I get one with an address and the other not. When I close my app and start again, the other target which had not address has now an address and the other not. And I swear it's not I've coded wrong, cause both position will be processed by the same function for resolving the address.

    So could it be that getting the address doesn't work always right with Mappoint?

    But suppose my pushpin is in an area with no address, how can I get the nearest address, can you give me a link to an article please?

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

    Re: Find the nearest address.

    By the MapPoint web site do you mean MP2Kmag? yes it was down sorry, my ISP did some "scheduled maintenance" over the weekend which involved power cycling all the machines and the server that MP2Kmag is on is one that didn't come back up immediately. I guess it took them a while to work through all the machines that needed to be booted back up. Sorry about it. I am going to migrate the site to a better ISP.

    Here's a few articles on reverse geocoding and then a more recent one by Wilfried Mestdagh that using reverse geocoding --


    Reverse Geocoding with MapPoint 2002
    Reverse Geocoding, Another Method
    Reverse Geocoding, Pt. III

    Snap to a Road

    hope this helps.

    Eric

  5. #5
    VC_Man is offline Member Green Belt
    Join Date
    Nov 2006
    Posts
    93

    Re: Find the nearest address.

    Hi Eric,

    I don't know if mp2kmag.com is down often, but it's not that dramatic to me and maybe for others here also. But I guess it was down for whole day, than you can put questions about it.

    Thank you for the linx

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Can Mappoint find a UK Address from a given Postcode?
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 09-19-2004, 03:28 PM
  2. find nearest locality
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 07-09-2003, 04:26 AM
  3. What is the most efficient to find address ---->>??
    By Serge in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 06-17-2003, 10:58 AM
  4. How to find nearest city?
    By Petr Brant in forum MapPoint Desktop Discussion
    Replies: 3
    Last Post: 08-23-2002, 02:49 PM
  5. Find address of location
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 08-23-2002, 11:11 AM

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 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96