Export/display distance matrix?

752
7
03-22-2012 01:59 AM
AndreaLaimer
New Contributor
hey,

is it possible to display or export the distance matrix for each routing folder which uses ArcLogistics for the buidling of routes?

best regards
0 Kudos
7 Replies
JeffWickstrom
Esri Contributor
Hello,

You could do this using the api.  IALRoutingFolder has a ExportToNALayer() method you would call first (export to Network Analyst Layer).  That gives you a VRP layer which has the OD matrix.

Jeff
0 Kudos
AndreaLaimer
New Contributor
Hi Jeff,

thank you for your quick reply.
How does this work?
When I right-click on a routing folder selecting "Export Routing Folders" it says "Error exporting routing folders"..

Andrea
0 Kudos
BertYagrich
New Contributor
Hi Andrea, this exporting error pops up from time to time.  To fix:


1. Browse to C:\Program Files\ArcGIS\Engine10.0\ArcLogistics\Bin (or wherever you installed, if it's a 64 bit machine it's likely in Program Files (x86) folder)
2. Right click ArcLogistics.exe > Properties > Compatibility tab.
3. Choose to run program in Windows XP Service pack 2 mode.

However, this isn't really what Jeff is talking about.  To do what you're asking, you'd need to write some code as a plug-in.  It shouldn't be too complicated if you have some experience with coding.
0 Kudos
AndreaLaimer
New Contributor
Hi,

I did as you told me to, but the exporting error is still not fixed.
However, if I don't get the OD matrix that way, it's a secondary problem, because I need the matrix...
I don't have experience with coding, so I can't write some code as a plug-in..

Andrea
0 Kudos
BertYagrich
New Contributor
Hi Andrea, sorry you're still experiencing issues.  I suggest you contact technical support for the export error, I'm sure it's something simple but it will be easier for them to diagnose this.

As for exporting the OD matrix, sorry, that's an advanced type of functionality that is really only available through writing a plug-in or alternatively through using the Network Analyst extension in ArcMap if you have access to that.
0 Kudos
AndreaLaimer
New Contributor
Yes, I have access to ArcMap. How does the exporting of the OD matrix work by using the Network Analyst extension?
0 Kudos
BertYagrich
New Contributor
I'm sorry, that goes well beyond what we can discuss in a forum post.  I suggest you have a look at the appropriate Network Analyst help topics pertaining to OD Cost Matrix analysis
0 Kudos