I have an issue using an ArcMap model in batch mode. The purpose of my model is to obtain the result of an OD cost matrix from a selected network and a set of origins and destinations. My goal is to be able to get these results without having to add the data to the display in ArcMap (time and resource consuming), but most of all, I want to be able to automatically process several OD cost matrix one after another. For these reasons, I rebuilt the OD cost matrix routine using ArcMap's Model Builder.
If I test the model on only only network, it works great. However, when I try to batch the process where each time I have a different network with different locations, I have a problem since ArcCatalog seems to mix the different steps. For example, if I batch with only two different networks...
Instead of having:
1. Create OD cost layer (1)
2. Load Origins 1 in network 1
3. Load Destinations 1 in network 1
4. Solve OD cost matrix (1)
5. Create OD cost layer (2)
6. Load Origins 2 in network 2
7. Load Destinations 2 in network 2
8. Solve OD cost matrix (2)
ArcCatalog does this:
1. Create OD cost layer (1)
2. Create OD cost layer (2)
3. Load origins 1 in network 2
4. Load origins 2 in network 2
5. Load destinations 1 in network 2
6. Load destinations 2 in network 2
7. Solve OD cost matrix (1)
8. Solve OD cost matrix (2)
I thought that when batching a model ArcCatalog would do the first task completely before even looking at the second. Why are the steps of my model mixed up?
Thanks for your help!