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

findnearby pushpins

This is a discussion on findnearby pushpins within the MapPoint Desktop Discussion forums, part of the Map Forums category; Hi All, i have imported many pushpins into a map (appr. 15,000). They are structured in 20 pushpin groups. Furthermore ...

  1. #1
    Sebi_Hamburg is offline Junior Member White Belt
    Join Date
    Jan 2007
    Posts
    3

    findnearby pushpins

    Hi All,

    i have imported many pushpins into a map (appr. 15,000). They are structured in 20 pushpin groups. Furthermore i have a dataset of 5,000 addresses. Now i want to receive the distance (as the crow flies) from each address to the closest pushpin of each pushpin group.

    How can i address the different pushpin groups (that i created; no POI) and how can i receive the distance and the name of the closest pushpin of each pushpin group?

    I am using MapPoint 2004 and vb6.

    thx a lot in advance!

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

    Re: findnearby pushpins

    Hi,

    You ask a lot of questions Let's see.

    structured in 20 pushpin groups. Furthermore i have a dataset of 5,000 addresses. Now i want to receive the distance (as the crow flies) from each address to the closest pushpin of each pushpin group.
    Keep in your application a linked list per pushpin group. Keep them in a structure or class that also holds the latitude and longitude. Then you can do easy this calculation in your own application if you only need the distance to the birds eye of view.

    How can i address the different pushpin groups
    I dont understeand this question. Can you please clarify ? You can hold each group in a separate linked list.

    how can i receive the distance and the name of the closest pushpin of each pushpin group?
    Dont understeand this eather

  3. #3
    Sebi_Hamburg is offline Junior Member White Belt
    Join Date
    Jan 2007
    Posts
    3

    Re: findnearby pushpins

    QUOTE:
    Keep in your application a linked list per pushpin group. Keep them in a structure or class that also holds the latitude and longitude. Then you can do easy this calculation in your own application if you only need the distance to the birds eye of view.]

    Ok,

    sorry for replying late. Had to find out first how i can get latitudes and longitudes of the pushpins.

    I can get the latitude and longitude from the pushpin tool, right? And then i keep them in linked lists per pushpin group.

    In the next step i want to receive the distance (as the crow flies) from each of the 5,000 addresses to the closest pushpin of each pushpin group (and the name of that pushpin). Probably its the best to keep these addresses in latitudes and longitudes, too.

    Would you mind to send me an eg. of a vb reference that gives back the distance of the closest pushpin of "pushpin group A" (and the name of that pushpin) to any coordinates (in latitudes and longitudes).

    Thx in advance for helping a mp dummy
    Last edited by Sebi_Hamburg; 01-12-2007 at 07:49 AM.

  4. #4
    Sebi_Hamburg is offline Junior Member White Belt
    Join Date
    Jan 2007
    Posts
    3

    Re: findnearby pushpins

    Ok, finally i solved that problem: The MapPoint tool MileCharter (MileCharter: Create Mileage Charts with Microsoft® MapPoint®) provides a feature that finds the closest pushpins of each group.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. FindNearby or QueryCircle
    By RickS in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 12-27-2005, 10:53 AM
  2. C# FindNearby
    By MD2000 in forum MapPoint Desktop Discussion
    Replies: 6
    Last Post: 06-12-2005, 05:11 PM
  3. FindNearby problem
    By webjagger in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 06-25-2004, 06:56 AM
  4. Help with FindNearby
    By BobIDEAS in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 01-30-2003, 11:17 PM
  5. FindNearby Method
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 09-24-2002, 10:08 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