MapPoint Forums

MapForums

Community of MapPoint and Virtual Earth Users and Developers




Extract the best route

This is a discussion on Extract the best route within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Hi, I am evaluating the use of MapPoint for a web application, so I'm less than a newbie. My main ...


Go Back   MapPoint Forums > Map Forums > MapPoint 2006/2009 Discussion

Today's Posts Twitter Feed Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read



Click here to register

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-04-2005
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
Extract the best route

Hi,

I am evaluating the use of MapPoint for a web application, so I'm less than a newbie.
My main goal is to extract, having the starting and ending point, "the best route"; where "the best" is not the shortest or the fastest, but the one that best satisfy some criteria.
My question is :

It's possible to extract more than one route with the same start point and the same end?

or, better :

It's possible to create some "points-of-interest" in the MapPoint database, assigning them property like "class of Interest" and "Weight of Interest", and them devolve to MapPoint the job to extract the best route?

I hope that my English is good enough to make me understand.

Thank you to everybody

Marcello
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 03-05-2005
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,177
Hi,

Yes you can set each waypoint to Quickest / Shortesd or Perferred. And for each waypoint you can set all speed limits and preferred roads on a scale 0..10.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 03-07-2005
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
Hi Wilfried,

I was looking in the SDK and for "SegmentPreference Enumeration" the only preference I found were Quickest and Shortest.
There is a particular way to set other criteria?

thank you for the help.

Marcello
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4 (permalink)  
Old 03-07-2005
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,177
Hi Marcello,

There are 3 of them:

Code:
        geoSegmentQuickest = 0,
        geoSegmentShortest = 1,
        geoSegmentPreferred = 2,
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5 (permalink)  
Old 03-08-2005
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
Thanks Wilfred,

I think this is not useful for me. As I can understrand wirh "geoSegmentPreferred" you can select preferences about the type of road (highways, major roads ...).
I need to calculate the "best" road for my criteria, the one for example that pass near some hotels, or restaurants.

Marcello
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6 (permalink)  
Old 03-08-2005
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,177
Hi Marcello,

What you eventually can do is create a database with the interesting points, hotels, restorants, etc that you want. Store also in database the coordinates of it. Then after calculation of the road, you search for each via point if you have interesting points nearby. Then calc the road again with these points as waypoint.

Hope I make sence ...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7 (permalink)  
Old 03-09-2005
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
Yes Wilfried,

that was the solution I was thinking.
But yesterday nigth, during a meeting, the customer changed Idea about the logic .
So now I have to calculate, once extracted from a database a set of 'interesting' waypoint, a route that touck all (or some) of then

Maybe I'm abusing of your patience, but this new logic generate 2 new question :
. It's possible to extract a route without knowing the first and the last waypoints?
. The waypoits must be passed in 'visit order' or you can devolve to MapPoint the work to extract the shortest (fastest) route that incudes all of them?

Thank you for your help

Marcello
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #8 (permalink)  
Old 03-09-2005
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,177
Hi Marcello,

Dont understeand My english is too bad
Please try to explayn exacly what customar wants. This is to get a more clear view on the problem.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #9 (permalink)  
Old 03-10-2005
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
Hi Wilfried,

my English is bad too,I'm Italian, sorry
The problem is (simplified):

. insert in a Database a number of "Point of interest" (museums, parks, lakes, sport spots, ...) and then connect them with MapPoint localization
. the user of the site give his preference (I like fishing and climbing)
. based on the user choiches, I have to extract, from the database, a set of "Point of interest" that the user could visit
. I have then to calculate and suggest the route

So I don't know :
. the starting and the ending point of the route
. the shortest way for touch all the "Point of interest", so the order of the
waypoints


Thank you

Marcello


I hope now i
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #10 (permalink)  
Old 03-10-2005
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,177
Hi Marcello,

You have an intersting problem

So the biggest problem is:
- how to move all the points in such a way that mappoint can calculate a route (because the points can be in _any_ geografical order)
- where to begin and end the route

Have I understeand more or less ?
Hmm I have to think on this... need coffee !!!!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
extract, route


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
Extract all streets names of a country... iko82 MapPoint 2006/2009 Discussion 5 07-19-2006 07:17 AM
Extract icons from MP 2004 Gerhard Faber MapPoint 2006/2009 Discussion 4 03-23-2006 08:07 AM
Extract Lat/Long by Zip Code Anonymous MapPoint 2006/2009 Discussion 2 11-25-2004 06:52 AM
Extract all zipcodes from MapPoint via C#.NET Anonymous MapPoint 2006/2009 Discussion 1 08-09-2004 09:56 PM
Extract route order Anonymous MapPoint 2006/2009 Discussion 3 09-17-2002 09:11 PM


All times are GMT -5. The time now is 06:16 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0 RC2
MP2K Magazine
Visitor Map

Dalaman Holiday
Enjoy a wonderfully peaceful Dalaman holiday... Book through UlookUbook and save!



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