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

address from waypoint

This is a discussion on address from waypoint within the MapPoint Desktop Discussion forums, part of the Map Forums category; Hi All Is it possible to get the address from - loc.Waypoints.Item(1).Name and place it into MapPoint.Location property Thanks in ...

  1. #1
    starbuck's Avatar
    starbuck is offline Member Green Belt
    Join Date
    Oct 2003
    Posts
    68

    address from waypoint

    Hi All

    Is it possible to get the address from -
    loc.Waypoints.Item(1).Name
    and place it into MapPoint.Location property

    Thanks in advance for any advice

  2. #2
    John Meyer's Avatar
    John Meyer is offline Senior Member Blue Belt
    Join Date
    Jul 2002
    Posts
    478
    Not sure what you are trying to do but a Waypoints.Item has a location property

  3. #3
    starbuck's Avatar
    starbuck is offline Member Green Belt
    Join Date
    Oct 2003
    Posts
    68

    oops

    How did I miss that, thanks John

  4. #4
    starbuck's Avatar
    starbuck is offline Member Green Belt
    Join Date
    Oct 2003
    Posts
    68

    still stuck

    Still stuck here, probably missing somthing very simple but here goes.

    Dim loc As MapPointCtl.Route
    loc.Waypoints.Item(1).Name ' returns the waypoint name correctly

    but how do I get/convert the full address from - loc.Waypoints.Item(1).Location etc

    Thanks in advance for any advice.

  5. #5
    John Meyer's Avatar
    John Meyer is offline Senior Member Blue Belt
    Join Date
    Jul 2002
    Posts
    478
    What are you trying to do with the location object? What is the desired end result?

  6. #6
    starbuck's Avatar
    starbuck is offline Member Green Belt
    Join Date
    Oct 2003
    Posts
    68

    waypoints

    Hi John

    I want to put the address of the waypoint, street, city etc in the address fields of a new job.
    waypoint 1 being start of job
    waypoint 2 being end of job

  7. #7
    John Meyer's Avatar
    John Meyer is offline Senior Member Blue Belt
    Join Date
    Jul 2002
    Posts
    478
    The location object has a streetaddress property IF the location represents an address. See the help file: Objects | Location Object | Streetaddress
    Code:
    StreetAddress property
    Returns the StreetAddress object for the specified location. Returns "Nothing" if the location does not represent an address. Read-only.
    
    Applies to
    Objects:  Location
    There is an article that describes how to search for the nearest address from a point. You could use this if your waypoint does not have an address.

    Reverse Geocoding, Pt. III by Walt Cygan
    http://www.mp2kmag.com/a50--reverse.....mappoint.html

  8. #8
    starbuck's Avatar
    starbuck is offline Member Green Belt
    Join Date
    Oct 2003
    Posts
    68

    penny drops

    Got it, many thanks

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Geocoordinates from a waypoint
    By chpw in forum MapPoint Desktop Discussion
    Replies: 6
    Last Post: 04-05-2006, 10:53 AM
  2. Zoom to Waypoint
    By BobIDEAS in forum MapPoint Desktop Discussion
    Replies: 3
    Last Post: 09-08-2004, 02:41 PM
  3. Accessing the address information of a waypoint
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 4
    Last Post: 05-12-2004, 01:36 PM
  4. Put a waypoint!
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 11-14-2003, 10:44 AM
  5. Route Waypoint Name
    By Vic in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 10-03-2002, 04:00 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 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