Community of MapPoint and Virtual Earth Users and Developers
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 ...
| |||||||
| Today's Posts | Twitter Feed | Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Extract the best route 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 |
| |||
|
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.
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
| |||
|
Hi Marcello, There are 3 of them: Code: geoSegmentQuickest = 0,
geoSegmentShortest = 1,
geoSegmentPreferred = 2,
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
| |||
|
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 |
| |||
|
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 ...
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
| |||
|
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 |
| |||
|
Hi Marcello, Dont understeand Please try to explayn exacly what customar wants. This is to get a more clear view on the problem.
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
| |||
|
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 |
| |||
|
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 !!!!
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
![]() |
| Tags |
| extract, route |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| 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 |
Dalaman Holiday
Enjoy a wonderfully peaceful Dalaman holiday... Book through UlookUbook and save!