OD matrix in ArcGIS Network Analyst for large dataset
#1
Posted 19 February 2010 - 02:51 PM
I am working with large national road network dataset [800k edges] build from TeleAtlas data.
I wanted to build OD Matrix for a set of 116k origins and 154k destinations. Each location should have info for 5k destinations eventually.
All datasets are stored in single file geodatabase.
Needless to say my attempt culminated in 'out of memory' msg :/
I followed the tips on esri forum but it didnt work out for me..
Is task like that possible to solve thru Network Analyst at all? Does anyone of you have experience/tips for solving such large problems on network? Are there any software alternatives?
Thanks a lot for help :]
#2
Posted 19 February 2010 - 07:22 PM
I feel your pain, especially after the lengthy time it takes to load the data, then to find out it fails.
Good luck.
Doug
www.geotechmap.com
#3
Posted 20 February 2010 - 09:53 AM
You can also set the memory limits of NA on your system to handle workloads in chunks. Network Analyst Memory Fix
#4
Posted 21 February 2010 - 11:46 AM
Doug,
i'm working on 8core machine with 8G of RAM and fast HD.. cant get anything more than that :/
Doug and MapMedia,
smaller subsection of origins would work fine.. is there any neat way of looping thru them automatically?
thanks again
r
#5
Posted 21 February 2010 - 12:02 PM
smaller subsection of origins would work fine.. is there any neat way of looping thru them automatically?
One at a time I guess. I just ran a 'closest facility' analysis from center points of every US zip code, so broke the zip codes into batches of 3,000 and ran them sequentially, one after the other. I prefer this way for a few reasons, one being QA QC as I could interrogate the results before proceeding. The drive time/distances were largely equal to Google Map directions.
Bumping up virtual memory and making sure coordinate system of all layers will help.
Good luck.
#6
Posted 21 February 2010 - 10:12 PM
smaller subsection of origins would work fine.. is there any neat way of looping thru them automatically?
One at a time I guess. I just ran a 'closest facility' analysis from center points of every US zip code, so broke the zip codes into batches of 3,000 and ran them sequentially, one after the other. I prefer this way for a few reasons, one being QA QC as I could interrogate the results before proceeding. The drive time/distances were largely equal to Google Map directions.
Bumping up virtual memory and making sure coordinate system of all layers will help.
Good luck.
I agree...One session at time is the key. Unfortunately, NA can be quite memory consuming. You may want to close and re-start ArcGIS before each processing attempt if you continue to have memory issues. I would stick with up to 25K batches, although but you may do better with your power machine. I've been able to process up to 75K routes on my quad machine with 8 G's (point to point routes). Also, clean data is important...And eliminate any outliers that may induce extremely long distance processing (that will kill your memory).
Doug
www.geotechmap.com
#7
Posted 22 February 2010 - 06:25 AM
#8
Posted 01 March 2010 - 06:22 AM
This is an example for 9.2 using VB6 which could be converted to VBA.
Python might also speed things up.
Cheers,
David
#9
Posted 01 March 2010 - 02:35 PM
I'm trying to cook some python to do that.. so will be most likely back here for some more help..
#10
Posted 03 March 2010 - 03:21 AM
#11
Posted 03 March 2010 - 09:35 AM
It doesn't seem for me like NA is optimized for multicore processing at the moment..
So it would be great if python could help here..
Thanks for reply :]
#12
Posted 03 March 2010 - 11:15 AM
Hugo,
It doesn't seem for me like NA is optimized for multicore processing at the moment..
So it would be great if python could help here..
Thanks for reply :]
Yet you can tell ArcMap to break up the work in chunks by modifying the HSKEY parms. I use this when running complex closest facility or travel time queries. I haven't set it back so its default.
#13
Posted 04 March 2010 - 03:42 AM
MapMedia - what are the hskey params, never heard of that... Breaking up processing in chunks does not necessarily mean processing in parallel, by the way.
#14
Posted 04 March 2010 - 04:10 AM
HSKEY sounds interesting for me as well.. would you mind sharing some tips on that?
Thanks
#15
Posted 09 March 2010 - 02:45 PM
I am back with some findings and couple new problems problems :[
I managed to put the task into python script that adds origins one at a time. Tested it with small dataset and it works without a flaw.
When I run it on larger dataset though, I got some strange error messages in IDLE looking like that:
Error
Location "360323" in "Origins" is on a non-traversable network element.
Location "2876122" in "Destinations" is on a non-traversable network element.
< and several dozen simmilar lines about destinations...>
So I went back to do some manual checks suspecting errors in dataset..
However, when I loaded the same destinations with this one particular origin manually in ArcMap - the OD matrix worked without any problems and solved everything :/
I did noticed tho that all these problematic locations lie right next to the street network with strange attribute that look like:
Attribute | Along | Against
____________________________________
Oneway | Restricted | Restricted
So I suspect that this might be causing the drama :/
Is there any way to solve this issue?
Thanks again for your help..
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users


Sign In
Create Account

Switzerland
Back to top
United States
Sweden








