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
Like Tree1Likes
  • 1 Post By Winwaed

Steiner trees on MapPoint

This is a discussion on Steiner trees on MapPoint within the MapPoint Desktop Discussion forums, part of the Map Forums category; I have a quick question guys and I really hope you can help me because i am about to lose ...

  1. #1
    APP
    APP is offline Junior Member White Belt
    Join Date
    May 2012
    Posts
    8

    Steiner trees on MapPoint

    I have a quick question guys and I really hope you can help me because i am about to lose my mind here.

    What I am trying to do is enter two points in MapPoint (using Excel and VBA) and then calculate the distance between those two points. Then I want to extract other points (postcodes) which lie on the tour calculated by MapPoint. For example, assume that I am entering two postcodes in route planner, one in London and one in Newcastle. MapPoint will calculate the shortest tour between those two cities but along that tour numerous other points (postcodes) will, quite naturally, exist. Do you have any idea on how I can extract those points?

    thank you very much

    PS: entering the postcodes and calculating the distance between two points is something that i have already done

  2. #2
    Mattys Consulting's Avatar
    Mattys Consulting is offline Senior Member Black Belt
    Join Date
    Dec 2002
    Posts
    1,027

    Re: Steiner trees on MapPoint

    A non-programmatic solution consists of the following:
    - using the Data Mapping Wizard, create a shaded area map using area of postcodes.
    - draw a shape that encloses the area (or the whole country) and export to Excel (delete shape, no longer needed)
    - import the postcodes as pushpins
    - recalculate the route and draw a shape that traces over the route.
    - move postcode pushpins into this shape where the route intersects that postcode (zoom in and inspect)
    - when finished, right click on the shape and export to Excel

    We can automate this process using a COM Addin, if you require this service.
    Michael R Mattys
    Business Process Developers
    www.mattysconsulting.com

  3. #3
    APP
    APP is offline Junior Member White Belt
    Join Date
    May 2012
    Posts
    8

    Re: Steiner trees on MapPoint

    Thanks a lot for the reply Michael. Unfortunately I cannot afford to pay for any addins so I will try the non-programmatic solution that you have proposed

  4. #4
    Winwaed's Avatar
    Winwaed is offline Mapping-Tools.com Black Belt
    Join Date
    Feb 2004
    Posts
    1,766
    Blog Entries
    51

    Re: Steiner trees on MapPoint

    Michael's solution will not work with the full postcode level (AAnn nAA), but will work down to the level supported by MapPoint (I forget how deep that is - definitely AAnn, but possibly AAnn n). That's a fair number of postcodes! If "within X miles of a postcode centroid" is sufficient then "going through a postcode" could be implemented using straight line distance measuring. Yes a programming solution - if you have zero budget, you'd have to do that yourself (and time consuming if you are not familiar with programming).
    Winwaed Software Technology LLC
    http://www.winwaed.com
    See http://www.mapping-tools.com for MapPoint Tools

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 0
    Last Post: 02-08-2010, 05:31 AM
  2. Replies: 0
    Last Post: 01-14-2010, 04:00 PM

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