MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




If Mappoint can't do this - any ideas what can?

This is a discussion on If Mappoint can't do this - any ideas what can? within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Thanks for the help i have been getting on this forum so far - but i think it is game ...


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

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 06-08-2005
Junior Member
White Belt
 
Join Date: Jun 2005
Posts: 4
If Mappoint can't do this - any ideas what can?

Thanks for the help i have been getting on this forum so far - but i think it is game over for me and mappoint

Basically, we have this app that does some real time stuff that needs up to 60 autoroute calculations per second (just travelling time).

For starters, mappoint using ActiveX (COM) will only fire back about 1
route calc per 0.7 seconds - thats on a dual 2.8gig pentium system, 1GB RAM, anything slower, forget it.

Also, the ULA seems to forbid the use of the software to do automated route calculations (cynical ones might say 'well that's why its soooooo
slooooowwww' )

So i'm back on the drawing board - our inhouse application is ready but for a reliable autoroute call . I have 2 systems in the offerring (mapquest being one) but costs are 20K USD plus.

Before i am forced to write the cheque and abandon MP, anyone got any last minute ideas?

Thanks and Regards

ChaosT
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 06-08-2005
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,122
Hi,

I never seen that part in the end user agreement. Are you sure of that ?

Anyway for such an amount of route calculations you need it is indeed slow if you serialize it. Can you not execute a lot of them in parallel ? Eventually in multiple threads (threads will not nececarly gains speed, it could even be the way around, but it can be tryed).

I think you heve such amount in peaks, but not 24/7, do you can make a separate object to do the calculation with his own invisible mappoint control in it, and when you need more calculations, you just create more objects of that type.

so thats all idea I hve at the moment... If you decide to leave, then at least all I can say is 'good luck with the pjoject'...
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 06-08-2005
Junior Member
White Belt
 
Join Date: Jun 2005
Posts: 4
Wilfried,

Thanks for the help (again!)...

I have tried running it in parrellel using multiple copies of this script (php):

Code:
$ex = new COM("MapPoint.application");
$ex->Visible = FALSE;
$ex->UserControl = FALSE;

$objMap = $ex->ActiveMap;
$objRoute = $objMap->ActiveRoute;

$start = $objMap->GetLocation($s_lat, $s_lon); //Lat - Lon coords
$end = $objMap->GetLocation($e_lat, $e_lon);

$objRoute->Waypoints->Add($start);
$objRoute->Waypoints->Add($end);

$route = $objRoute->Calculate();
$time = $objRoute->TripTime();
but each time it runs, it starts a new instance of mappoint.exe and begins chewing up resources, any more than 3 instances at a time, all doing route calcs kills the system.

Is there a better way to run mappoint then?
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 06-08-2005
Winwaed's Avatar
Mapping-Tools.com
Red Belt
 
Join Date: Feb 2004
Posts: 901
Blog Entries: 10
Parallel calculations are only going to be of benefit if you have multiple cpus. The main slow bit in route find is the intense computation being performed - and not waiting on hardware.
When you look at what is required to find the best route, MapPoint does a pretty good job of doing it quickly.

Back to multiple calculations: match the number of MapPoint instances to the number of cpus in use. I haven't tried this, but this should give you the best speed. I would consider hyper-threaded cpus as one cpu - let the OS take up the extra few percent of theoretical slack.


Richard
__________________
Winwaed Software Technology LLC
http://www.winwaed.com
See http://www.mapping-tools.com for MapPoint Tools
Pre-Order MapPoint 2009 today: http://www.mapping-tools.com/mappoint2009
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 06-09-2005
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,122
Hi,

Also running with a hidden or minimized map saves some memory witch gains speed again.
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
ideas, mappoint


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
Mappoint 2004 won't load after install. Any ideas? Wavshrdr MapPoint 2006/2009 Discussion 7 12-13-2004 12:55 PM
Territories - Regions - Reps and other great ideas. Anonymous Wish List 0 03-21-2003 01:43 PM


All times are GMT -5. The time now is 05:45 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
MP2K Magazine
Visitor Map


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