Community of VE/MapPoint Users and Developers
This is a discussion on Route distance processing speed within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; I am working on a app that automates the process of getting route distances between zip codes in vb.net. I ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Route distance processing speed objRoute = map.ActiveRoute objRoute.Waypoints.Add(map.FindAddressResults(, , , , div, ).Item(1)) objRoute.Waypoints.Add(map.FindAddressResults(, , , , zip, ).Item(1)) objRoute.Calculate() distance = objRoute.Distance This code produces the results I want but it is really slow. Thanks, Tony |
| |||
|
I originally went the route of the great circle (crow flies) method, however my company is using this for an estimation for freight. If we ship some where and estimate the freight using crow files and ther is a big lake between each point a freight truck would have to go around the lake, thus making the mileage more. |
| |||
|
I'm working on a similar problem. However I geocode the addresses before I send them to the route locator. It can do roughly 3 a second, I'm still looking for a way to make this faster as I'm processing more than 50K records. More ram is on the way for the box, so I'm hoping that will help some. any other sugestions are appreciated |
| ||||
|
3 a second is pretty good going in my experience. I usually allow 1 per second. I'm guessing that your routes are fairly short, and that you're working through the add-in mechanism? Add-ins run "in-process" which avoids the thread->thread communication overhead. Distance makes a huge difference as well. My 1 per second is averaged from batch work that can include routes contained within a city, or spanning multiple states. Closing various MapPoint windows helps, as does minimising it. This removes the re-display overhead. 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 |
| |||
|
I'm using the API, via the objects model instead of a controller. So no rendering is done for the image. The routes are usually less than 50 miles. Thanks for the input on processing speed tho. Guess 3/sec isn't that bad. Thanks, Chris |
| |||
| re:driving distance calculation speeds
I too have started to use mappoint for processing distances with the same frustration over the speed of using the routing. I also need driving distances for freight purposes. I develop network optimization packages that I am embedding this function in. Previous to Mappoint, I used PCMiler with PCMiler Batch and it could process 50,000 records in maybe half an hour. In fact I have one user with a database of over 4 million records containing distances between 2 points, all processed by PC Miler. The downside of this option is that the software cost $3,000 and didn't provide any of the unique mapping capabilities of Mappoint. However, it is an option to consider if your primary goal is the generation of mileages and you can justify the time saving. Ralph Skrzydlo www.technologix.ca |
![]() |
| Tags |
| distance, processing, route, speed |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to calculate distance between location and route ? | tontaegu | MapPoint 2006/2009 Discussion | 1 | 10-19-2005 02:14 PM |
| Route Distance in Miles | plastipak | MapPoint 2006/2009 Discussion | 0 | 07-01-2004 10:59 AM |
| Route comparison speed | sjmorin | MapPoint 2006/2009 Discussion | 3 | 06-14-2004 10:52 AM |
| How do I calculate a route distance without displaying route | spideybud | MapPoint 2006/2009 Discussion | 4 | 09-09-2003 11:14 AM |
| Change the Speed and the route changes -Can this be stopped? | mizzy | MapPoint 2006/2009 Discussion | 0 | 09-09-2003 05:49 AM |