<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Computing OD  Matrix using Network Analyst in ArcGIS Network Analyst Questions</title>
    <link>https://community.esri.com/t5/arcgis-network-analyst-questions/computing-od-nbsp-matrix-using-network-analyst/m-p/177219#M1844</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Jay,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I was wondering if you can show me some script that can show how to compute the matrix (looping through all the destinations and a subset of the sources each time) . Also, how and where will I run this script please?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your help,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;TD&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 15 May 2010 14:30:50 GMT</pubDate>
    <dc:creator>TDGoswami</dc:creator>
    <dc:date>2010-05-15T14:30:50Z</dc:date>
    <item>
      <title>Computing OD  Matrix using Network Analyst</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/computing-od-nbsp-matrix-using-network-analyst/m-p/177213#M1838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Our current situation is that we have around 40,000 geolocated settlements across Africa, and each is located on a detailed road network shapefile. We would like to calculate the shortest distances by road from each settlement to every other settlement (i.e. creating a huge 40,000 x 40,000 Origin-Destination matrix of distances) - we have a methodology to do this for smaller datasets within GIS software, but are held back by memory limitations for such a large operation. Hence, we were interested to explore your methods before we consider developing our own solutions. Do you have any advice or suggestions on proceeding with this please ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 May 2010 19:50:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/computing-od-nbsp-matrix-using-network-analyst/m-p/177213#M1838</guid>
      <dc:creator>TDGoswami</dc:creator>
      <dc:date>2010-05-11T19:50:17Z</dc:date>
    </item>
    <item>
      <title>Re: Computing OD  Matrix using Network Analyst</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/computing-od-nbsp-matrix-using-network-analyst/m-p/177214#M1839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;40,000 by 40,000 is quite large. One way to tackle this is to create an OD Matrix Layer, set the output shape type to none (why bother creating straight lines is all you want is distance) and load these 40,000 locations as destinations. Then in a loop do the following: select the first 100 destinations, load them as origins, Solve, Write out the results to a file geodatabase table. Remove the 100 origins and repeate this for the next 100.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So basically do a 100 by 40000, 400 times. You maybe able to 200 by 40000.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you have the ArcGIS 10 pre-release, you could run this on a machine with at least 4 GB of RAM and 64 bit OS (windows 7 or vista) then you can run larger problems. Also in ArcGIS 10, if you upgrade your network dataset and dissolve it with a new tool, you will get better performance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jay Sandhu&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 May 2010 13:54:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/computing-od-nbsp-matrix-using-network-analyst/m-p/177214#M1839</guid>
      <dc:creator>JaySandhu</dc:creator>
      <dc:date>2010-05-12T13:54:08Z</dc:date>
    </item>
    <item>
      <title>Re: Computing OD  Matrix using Network Analyst</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/computing-od-nbsp-matrix-using-network-analyst/m-p/177215#M1840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the reply Jay. Can you show me how to write the loop to automate this. I am a fresh newbie to this and would really appreciate any help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;TD&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 May 2010 14:44:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/computing-od-nbsp-matrix-using-network-analyst/m-p/177215#M1840</guid>
      <dc:creator>TDGoswami</dc:creator>
      <dc:date>2010-05-14T14:44:49Z</dc:date>
    </item>
    <item>
      <title>Re: Computing OD  Matrix using Network Analyst</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/computing-od-nbsp-matrix-using-network-analyst/m-p/177216#M1841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Also to let you know, I am using ArcGIS 9.3. How do I create a geodatabase?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;TD&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 May 2010 14:46:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/computing-od-nbsp-matrix-using-network-analyst/m-p/177216#M1841</guid>
      <dc:creator>TDGoswami</dc:creator>
      <dc:date>2010-05-14T14:46:40Z</dc:date>
    </item>
    <item>
      <title>Re: Computing OD  Matrix using Network Analyst</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/computing-od-nbsp-matrix-using-network-analyst/m-p/177217#M1842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Creating a geodatabase:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Start ArcCatalog. Navigate to the location you want to create the geodatabase. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Right-click in the folder and choose New and then File Geodatabase. Give it a name.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;May I ask what will you be doing with the 1.6 Billion distance pairs you plan to compute?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jay Sandhu&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 May 2010 19:44:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/computing-od-nbsp-matrix-using-network-analyst/m-p/177217#M1842</guid>
      <dc:creator>JaySandhu</dc:creator>
      <dc:date>2010-05-14T19:44:19Z</dc:date>
    </item>
    <item>
      <title>Re: Computing OD  Matrix using Network Analyst</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/computing-od-nbsp-matrix-using-network-analyst/m-p/177218#M1843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;After computing the pairwise distance matrix, I would like to write the contents of this matrix into a text file. Subsequently, I plan to use&amp;nbsp; this matrix in a&amp;nbsp; C++ and/or Matlab program which I have written, for doing some data mining. This is all a part of my research that I am doing on finding some useful patterns in the data. I work as a post-doc at the University of Florida.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 May 2010 13:40:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/computing-od-nbsp-matrix-using-network-analyst/m-p/177218#M1843</guid>
      <dc:creator>TDGoswami</dc:creator>
      <dc:date>2010-05-15T13:40:19Z</dc:date>
    </item>
    <item>
      <title>Re: Computing OD  Matrix using Network Analyst</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/computing-od-nbsp-matrix-using-network-analyst/m-p/177219#M1844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Jay,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I was wondering if you can show me some script that can show how to compute the matrix (looping through all the destinations and a subset of the sources each time) . Also, how and where will I run this script please?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your help,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;TD&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 May 2010 14:30:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/computing-od-nbsp-matrix-using-network-analyst/m-p/177219#M1844</guid>
      <dc:creator>TDGoswami</dc:creator>
      <dc:date>2010-05-15T14:30:50Z</dc:date>
    </item>
    <item>
      <title>Re: Computing OD  Matrix using Network Analyst</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/computing-od-nbsp-matrix-using-network-analyst/m-p/177220#M1845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I&amp;nbsp; noticed that the road network I have has several discontinuities along thje roads. So, is there a tool (like Create Topology) that I can use which sets the tolerance and joins these discontinuities with small line fragments. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;TD&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 May 2010 16:27:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/computing-od-nbsp-matrix-using-network-analyst/m-p/177220#M1845</guid>
      <dc:creator>TDGoswami</dc:creator>
      <dc:date>2010-05-18T16:27:15Z</dc:date>
    </item>
    <item>
      <title>Re: Computing OD  Matrix using Network Analyst</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/computing-od-nbsp-matrix-using-network-analyst/m-p/177221#M1846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I never used Network Analyst and OD matrices in ArcGIS, but here are some thoughts/hints before you obtain a better answer..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;One way to build a loop is by programming it in Python and calling the ArcGIS Geoprocessor's methods (that correspond to the tool(s)) that you need to use. If you already program in C++/MATLAB, Python will not be an issue. An easy way to start is to open the Model Builder in ArcMap, drag and drop the tool(s) that you want to use, parameterize it/them, and export your model as a Python script (this way you will see how to create the Geoprocessor object, set the license, etc). Once done, try to run it and see if it works (on a small dataset) by typing "python yourScriptName.py" in a shell from the relevant folder (see note 1). If python is not recognized as an executable, you will have to update your PATH (environment variables, update the PATH by adding the path to your Python25 directory). When this simple code (directly exported from the Model Builder) works, the next step is to nest part of it in a loop that modifies the input/output parameters of the different tools/functions/methods calls.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In case you want to implement most of the computation by yourself, I did something quite similar 15 years ago based on Dijkstra's algorithm (well described on Wikipedia). I implemented it in C and it was extremely fast. There might be different ways to implement it, more or less fast or/and memory efficient, but I don't know/remember by heart.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you are using Matlab, there are implementations of Dijkstra on Matlab Central, and you could use the Mapping toolbox - if you have it - to directly read a shapefile that contains edges lengths (or compute them using the distance() function of this toolbox on the lines or polylines that link your nodes).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cedric&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;Note 1: editing/running you code in Eclipse would be a good thing to do if you are planning to play a bit with Python. Once you've installed a version of Eclipse (e.g. the Classic), install the PyDev extension ('Help/Install New Software' and specify the PyDev repository: "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://pydev.org/updates" rel="nofollow" target="_blank"&gt;http://pydev.org/updates&lt;/A&gt;&lt;SPAN&gt;"), you just have a few things to do: in 'Windows/Preferences'PyDev/Interpreter - Python', add your python interpreter ("YourPath\Python25\python.exe"). When asked for the PYTHONPATH, check the "YourPath\ArcGIS\bin" entry. When done, you can create a new PyDev project, add a new file (yourFilename.py), and run it ("as Python run"). Cutting and pasting the export from the Model Builder should work if you have absolute paths to your resources (shapefiles, tables/dbf, filegeodatabase/..) in the export (which I guess is the case), otherwise you'll have to update the paths.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 May 2010 18:01:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/computing-od-nbsp-matrix-using-network-analyst/m-p/177221#M1846</guid>
      <dc:creator>CedricWannaz</dc:creator>
      <dc:date>2010-05-18T18:01:06Z</dc:date>
    </item>
    <item>
      <title>Re: Computing OD  Matrix using Network Analyst</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/computing-od-nbsp-matrix-using-network-analyst/m-p/177222#M1847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I thought a little about it and I was wondering if you couldn't first analyze links between clusters before trying to compute shortest paths between all the nodes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I guess that there are multiple reasons for clustering to happen, rivers and like bridges at specific locations, borders and control points, valleys, etc. Wouldn't it be more efficient to build a solution around the following strategy (?) ..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Define clusters based on the aforementioned criteria.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Build a list of nodes that connect these clusters.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. Determine shortest path "intra-cluster" for each cluster.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4. Based on 2. and 3., build a second ("virtual") network whose nodes are connection nodes from 2. and whose edges&amp;nbsp; lengths are the shortest paths between these nodes obtained in 3.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Once done, you can determine the shortest path between two nodes by:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; - If the two nodes are in the same cluster, it is given by 3.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; - If the two nodes are in different clusters, add them to the virtual network, connected to each connection node of their own clusters by edges whose lengths are the shortest path to these nodes. Compute shortest path on this extended virtual network.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It would have several major advantages I guess. The obvious one is to reduce the dimension of your "objects" (matrices, etc) in memory by splitting it/them into multiple smaller ones. This would also be relevant for your processing in Matlab because it would not require a huge amount of contiguous memory (that is smaller than the free memory that is left on your machine). Moreover, as these clusters are not represented as directly connected within the same matrix, the sum of the smaller matrices are likely to require significantly less memory than a 40,000x40,000 full/dense matrix (you could see all your smaller matrices as blocs of a 40k x 40k bloc/sparse matrix). The price to pay would be a little more algorithm to develop in comparison to the direct, "brute-force" method.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This might not be adapted to the data-mining that you want to perform and I am far to be a specialist, so you might want to ask a real computer/network person or wait for my post to be fairly criticized &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cedric&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 May 2010 00:28:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/computing-od-nbsp-matrix-using-network-analyst/m-p/177222#M1847</guid>
      <dc:creator>CedricWannaz</dc:creator>
      <dc:date>2010-05-19T00:28:03Z</dc:date>
    </item>
    <item>
      <title>Re: Computing OD  Matrix using Network Analyst</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/computing-od-nbsp-matrix-using-network-analyst/m-p/177223#M1848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Cedric,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I think TD here is not generating all nodes to all nodes OD. I believe he has discrete locations that he wants to use as input. So comuting distances from any location to any location is not as straight-forward as all nodes to all nodes type of algorithms you see in CS books. Also, as the Network Analyst already has this solver implemented why re-invent the wheel but concentrate on other things.&amp;nbsp; Your point on clustering is well taken as 40k by 40 k matrix will be very large and MATLAB will not be able to take the whole thing in. But then TD has not specified if he wants to use the whole matrix or some small part of it for further data mining.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jay Sandhu&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 May 2010 17:08:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/computing-od-nbsp-matrix-using-network-analyst/m-p/177223#M1848</guid>
      <dc:creator>JaySandhu</dc:creator>
      <dc:date>2010-05-19T17:08:34Z</dc:date>
    </item>
    <item>
      <title>Re: Computing OD  Matrix using Network Analyst</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/computing-od-nbsp-matrix-using-network-analyst/m-p/177224#M1849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for all you help guys.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am planning to use the contents of the entire matrix. That is, every element in that matrix is equally important for my further work. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to do a mechanical job of running 80 simulations in subsets of 500 sources covering the entire 40000 points. It is taking a lot of time. Moreover, it is taking even longer time to export the results of the OD Cost Matrix layer into a text file (since it has to write between 9 million to 12 million points). Is there a way I could make this Export faster?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;TD&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 May 2010 13:29:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/computing-od-nbsp-matrix-using-network-analyst/m-p/177224#M1849</guid>
      <dc:creator>TDGoswami</dc:creator>
      <dc:date>2010-05-20T13:29:46Z</dc:date>
    </item>
    <item>
      <title>Re: Computing OD  Matrix using Network Analyst</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/computing-od-nbsp-matrix-using-network-analyst/m-p/177225#M1850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks to everyone for their help. I am faced with a peculiar problem now. I find that the distance computed by the OD Cost Matrix Layer is not symmetric. That is, for example, the distance between settlement 1 and settlement 500 is not the same as that between settlement 500 and settlement 1. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you guys have a reason for this behavior? Whats the solution?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;TD&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jun 2010 21:55:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/computing-od-nbsp-matrix-using-network-analyst/m-p/177225#M1850</guid>
      <dc:creator>TDGoswami</dc:creator>
      <dc:date>2010-06-15T21:55:21Z</dc:date>
    </item>
    <item>
      <title>Re: Computing OD  Matrix using Network Analyst</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/computing-od-nbsp-matrix-using-network-analyst/m-p/177226#M1851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;OD Matrix does not have to be symmetric. A road network may have many one-way streets, turn restrictions or penalties and the fact that it is a directed network, so travel to and travel from impedances may be different for the same edge. All of these can cause the travel time from location 1 to location 500 be different. If you want symmetric values, then either create a network without the above mentioned things (i.e., no turn penalties, no one-way information, no restrictions, and same travel-to/from impedances) OR use one half of the matrix and fill the other side to make it symmetric after the fact.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jay Sandhu&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jun 2010 14:35:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/computing-od-nbsp-matrix-using-network-analyst/m-p/177226#M1851</guid>
      <dc:creator>JaySandhu</dc:creator>
      <dc:date>2010-06-16T14:35:04Z</dc:date>
    </item>
    <item>
      <title>Re: Computing OD  Matrix using Network Analyst</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/computing-od-nbsp-matrix-using-network-analyst/m-p/177227#M1852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am now faced with an extremely peculiar problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I first created the network and then I was running the OD Cost Layer matrix on it. I find that some of the settlements have merged into one, although, these settlements were originally very far away from each other and had no similarities. Is there a reason for this behavior?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jun 2010 21:52:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/computing-od-nbsp-matrix-using-network-analyst/m-p/177227#M1852</guid>
      <dc:creator>TDGoswami</dc:creator>
      <dc:date>2010-06-28T21:52:30Z</dc:date>
    </item>
    <item>
      <title>Re: Computing OD  Matrix using Network Analyst</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/computing-od-nbsp-matrix-using-network-analyst/m-p/177228#M1853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;have you geocoded the points? Adresses with inaccurate quality might risk being placed in the centerpoint of a region (for instance a county, if county name is the only match of the address). In this occation, several villages might be placed at the same location.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jun 2010 07:45:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/computing-od-nbsp-matrix-using-network-analyst/m-p/177228#M1853</guid>
      <dc:creator>ToreBorvik</dc:creator>
      <dc:date>2010-06-29T07:45:02Z</dc:date>
    </item>
    <item>
      <title>Re: Computing OD  Matrix using Network Analyst</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/computing-od-nbsp-matrix-using-network-analyst/m-p/177229#M1854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry to jump in to the discussion with my own problem but its very similar to the original post and I thought its not necessary to open a new thread. In my case,&amp;nbsp; I do not have to worry about memory problems because I have only 131 cities.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I thought that OD matrix would solve the problem by putting the 131 cities as origins and the same 131 cities as destinations and solve it. But the output is always 131 routes with&amp;nbsp; 0 value because it computes only the closest distance between the points that will be given by the distance between the same city (once in origins and once in destination)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How can I do it to compute all the possible 131X131 distances? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm not expert in python but I can manage basic stuff&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Bogdan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Jul 2010 08:51:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/computing-od-nbsp-matrix-using-network-analyst/m-p/177229#M1854</guid>
      <dc:creator>bogdanpalade1</dc:creator>
      <dc:date>2010-07-02T08:51:57Z</dc:date>
    </item>
    <item>
      <title>Re: Computing OD  Matrix using Network Analyst</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/computing-od-nbsp-matrix-using-network-analyst/m-p/177230#M1855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Bogdon,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What network dataset are you using to computer the OD? If the 131 by 131 is returning only 1 closest the most likely there is no path from where those locations are being snapped on the network to rest of the points. Have you tried running a simple shortest path (Route) on a pair of cities and does that work. Possible reasons for not finding paths could be related to the way the network was set up. And of course make sure the OD is not set to compute only 1 closest, by default it is set to find "&amp;lt;All&amp;gt;".&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jay Sandhu&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Jul 2010 14:51:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/computing-od-nbsp-matrix-using-network-analyst/m-p/177230#M1855</guid>
      <dc:creator>JaySandhu</dc:creator>
      <dc:date>2010-07-02T14:51:30Z</dc:date>
    </item>
    <item>
      <title>Re: Computing OD  Matrix using Network Analyst</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/computing-od-nbsp-matrix-using-network-analyst/m-p/177231#M1856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Everyone,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I know this thread is quite old, but I am faced with a similar problem as the original poster. I am trying to compute an OD Cost Matrix with accumulated impedance values for distance from approx. 50,000 origins to ALL of approx. 34,000 destinations.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The "python loop" approach described above sounds promising, and I will certainly experiment with creating an initial model in modelbuilder and exporting to python in order to edit further. But, as I have little experience with Python, I'm wondering if anyone might be able to point me on the right track as far as coding the "loop" described above to select 100 or 200 records, run the OD cost matrix, export results, select the next batch of records, and so on?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This would be extremely helpful to me.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Tosh&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Mar 2011 02:43:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/computing-od-nbsp-matrix-using-network-analyst/m-p/177231#M1856</guid>
      <dc:creator>JonathanWeyman</dc:creator>
      <dc:date>2011-03-03T02:43:11Z</dc:date>
    </item>
    <item>
      <title>Re: Computing OD  Matrix using Network Analyst</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/computing-od-nbsp-matrix-using-network-analyst/m-p/177232#M1857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Jay,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can we restrict the network analysis results to filter calculation between origin and destination with same name or ID? Or can we make the results symmetric so distance between A to B is calculated but not B to A?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I couldn't find any such property in ArcMap.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;OD Matrix does not have to be symmetric. A road network may have many one-way streets, turn restrictions or penalties and the fact that it is a directed network, so travel to and travel from impedances may be different for the same edge. All of these can cause the travel time from location 1 to location 500 be different. If you want symmetric values, then either create a network without the above mentioned things (i.e., no turn penalties, no one-way information, no restrictions, and same travel-to/from impedances) OR use one half of the matrix and fill the other side to make it symmetric after the fact.&lt;BR /&gt;Regards,&lt;BR /&gt;Jay Sandhu&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Feb 2012 18:59:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/computing-od-nbsp-matrix-using-network-analyst/m-p/177232#M1857</guid>
      <dc:creator>jp</dc:creator>
      <dc:date>2012-02-29T18:59:08Z</dc:date>
    </item>
  </channel>
</rss>

