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
Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18

Extract the best route

This is a discussion on Extract the best route within the MapPoint Desktop Discussion forums, part of the Map Forums category; Yes Wilfried, that is the problem, calulate a route with points with no order and no starting or ending point. ...

  1. #11
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137
    Yes Wilfried,

    that is the problem, calulate a route with points with no order and no starting or ending point.

    I visit your site and I found you are a Delphin (and also a "Clipper-man").
    It's exactly my professionalbackground!

    Was the coffee good?

    Marcello

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

    Clipper is a long time ago, and yes the coffee was good

    I assume the user has to pick somewhere a starting point (where he is), and where he wants to end, and you have to give him all the points that are near to his "tour" he wants to make.

    I have code to calculate bearing and distance (trough the bird's eye) from 2 points latitude and longitude. So this way it is easy to find the nearest place in a particular direction. I have it in C and in Delphi, if you wants it then I drop it here.

    So if that is more or less waht you have to accomplish I think the algoritm has to be something like:

    - find nearest point of interest from starting place in direction of end place
    - put it as waypoint to mappoint
    - do again until eind point is closer than next point.

    I "think" it has to be something like that. Maybe it is a start ? What do you think ?

  3. #13
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137
    Hi Wilfried,

    also for me Clipper is only a postcard from the past.

    I think that your suggestions are good and I will follow them.
    Thank you for the code, but in this moment I'm just offering the solution to my customer, Monday evening I will have a meeting, I will inform you about.

    So, if I will need the code, I will ask you in a second moment.

    Thank you for your kindness.

    Marcello

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

    Ok. I hope this go trought. because it is an interesing project
    Have success with you meeting.

  5. #15
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137
    Hi Wilfried,

    in the weekend I was looking information in MSDN, and I discovered that in MapPoint 2004 there is a feature of "Route optimization".
    Do you know if is this usefull for my problems and if is posssible to use both services (MapPoint 2004 and MapPoint Web Services) in the same project?

    Tomorrow I will tell you about the results of the meeting.

    Bye

    Marcello

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

    You mean the Optimize method ? I never tryed that one. As for the 2 project in one I dont think this can give any problem, but again: I did never try it. Maybe someone else can confirm this ?

  7. #17
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137
    Hi Wilfried,

    yes I was thinking about Optimize method, that should resolve my problem.
    I will try, at the moment I don't still have MapPoint, and then I will tell you.

    It seems me that westerday night meeting was good (now I'm starting to belive to catch the project), the customer introduced some new requests. so nothing is still decided.

    I have a new meeting on Monday night.


    Thank you & bye

    Marcello

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

    Quote Originally Posted by Marcello
    now I'm starting to belive to catch the project
    I hope you catch it. Your project seems not easy but interesting and that is what matters, because it sharpes programmers imagination. An intersting project is like a good old Italian wine, you enjoy whilst tasting it

Page 2 of 2 FirstFirst 12

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Extract all streets names of a country...
    By iko82 in forum MapPoint Desktop Discussion
    Replies: 5
    Last Post: 07-19-2006, 08:17 AM
  2. Extract icons from MP 2004
    By Gerhard Faber in forum MapPoint Desktop Discussion
    Replies: 4
    Last Post: 03-23-2006, 09:07 AM
  3. Extract Lat/Long by Zip Code
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 11-25-2004, 07:52 AM
  4. Extract all zipcodes from MapPoint via C#.NET
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 08-09-2004, 10:56 PM
  5. Extract route order
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 3
    Last Post: 09-17-2002, 10:11 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