<?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 Incomplete Distance Matrix in ArcGIS Network Analyst Questions</title>
    <link>https://community.esri.com/t5/arcgis-network-analyst-questions/incomplete-distance-matrix/m-p/494859#M4813</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have approximately 6000 locations in Port-Au-Price, Haiti with their coordinates. I need to calculate the distance matrix (real driving distances) for these location. I have street data from &lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fdownload.geofabrik.de%2Fcentral-america%2Fhaiti-and-domrep.html" rel="nofollow" target="_blank"&gt;this link&lt;/A&gt;. I created a network dataset using this shape file. Before loading all locations to the OD Cost Matrix, I just selected 10 locations to verify to distances, initially. When I run the OD Cost Matrix, it doesn't give the full distance matrix. But I need to get the distances from all origins to all destinations. I think the primary problem is the quality of the road map I am using. I make the search tolerance 500 meters. You can see the attribute table and the lines below that I am getting. Could you please help me to create a full &lt;SPAN class="il"&gt;distance&lt;/SPAN&gt; matrix for 6000 locations? I really appreciate any help you can provide on this. I have attached my data. Thank you.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screen Shot 2016-02-27 at 2.28.58 PM.png" class="image-1 jive-image" src="/legacyfs/online/188074_Screen Shot 2016-02-27 at 2.28.58 PM.png" style="width: 620px; height: 304px;" /&gt;&lt;IMG alt="Screen Shot 2016-02-27 at 2.30.05 PM.png" class="image-2 jive-image" src="/legacyfs/online/188075_Screen Shot 2016-02-27 at 2.30.05 PM.png" style="width: auto; height: auto;" /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 27 Feb 2016 22:06:35 GMT</pubDate>
    <dc:creator>EmreKirac</dc:creator>
    <dc:date>2016-02-27T22:06:35Z</dc:date>
    <item>
      <title>Incomplete Distance Matrix</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/incomplete-distance-matrix/m-p/494859#M4813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have approximately 6000 locations in Port-Au-Price, Haiti with their coordinates. I need to calculate the distance matrix (real driving distances) for these location. I have street data from &lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fdownload.geofabrik.de%2Fcentral-america%2Fhaiti-and-domrep.html" rel="nofollow" target="_blank"&gt;this link&lt;/A&gt;. I created a network dataset using this shape file. Before loading all locations to the OD Cost Matrix, I just selected 10 locations to verify to distances, initially. When I run the OD Cost Matrix, it doesn't give the full distance matrix. But I need to get the distances from all origins to all destinations. I think the primary problem is the quality of the road map I am using. I make the search tolerance 500 meters. You can see the attribute table and the lines below that I am getting. Could you please help me to create a full &lt;SPAN class="il"&gt;distance&lt;/SPAN&gt; matrix for 6000 locations? I really appreciate any help you can provide on this. I have attached my data. Thank you.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screen Shot 2016-02-27 at 2.28.58 PM.png" class="image-1 jive-image" src="/legacyfs/online/188074_Screen Shot 2016-02-27 at 2.28.58 PM.png" style="width: 620px; height: 304px;" /&gt;&lt;IMG alt="Screen Shot 2016-02-27 at 2.30.05 PM.png" class="image-2 jive-image" src="/legacyfs/online/188075_Screen Shot 2016-02-27 at 2.30.05 PM.png" style="width: auto; height: auto;" /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Feb 2016 22:06:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/incomplete-distance-matrix/m-p/494859#M4813</guid>
      <dc:creator>EmreKirac</dc:creator>
      <dc:date>2016-02-27T22:06:35Z</dc:date>
    </item>
    <item>
      <title>Re: Incomplete Distance Matrix</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/incomplete-distance-matrix/m-p/494860#M4814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have some strange entries, for example, the first two, they start and end at the same spot? do they do anywhere in between? or is this an artifact of how the OD matrix was constructed?&lt;/P&gt;&lt;P&gt;You might want to do a query (python syntax)&amp;nbsp;&amp;nbsp; !OriginID!&amp;nbsp; !=&amp;nbsp; !DestinationID! and see how many you have and run the analysis on only those OD entries&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS moved this to the &lt;A href="https://community.esri.com/space/2089"&gt;Network Analyst&lt;/A&gt;​ Place to facilitate better exposure.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Feb 2016 23:44:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/incomplete-distance-matrix/m-p/494860#M4814</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2016-02-27T23:44:05Z</dc:date>
    </item>
    <item>
      <title>Re: Incomplete Distance Matrix</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/incomplete-distance-matrix/m-p/494861#M4815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you. I am not sure which the first two you are talking about. But the table was constructed by the OD Matrix. It is possible that some locations are very close to each other. In this case, the OD Matrix should give me approximately 0 km distance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 28 Feb 2016 20:56:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/incomplete-distance-matrix/m-p/494861#M4815</guid>
      <dc:creator>EmreKirac</dc:creator>
      <dc:date>2016-02-28T20:56:38Z</dc:date>
    </item>
    <item>
      <title>Re: Incomplete Distance Matrix</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/incomplete-distance-matrix/m-p/494862#M4816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;that is what I am talking about, the first two rows with a distance of zero... there is little point in doing OD calculations for locations that are on the same street.&amp;nbsp; In cases like that, you could aggregate the locations on a block by block basis, produce a representative location, then perform the OD calculations using those.&lt;/P&gt;&lt;P&gt;You could use&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="http://desktop.arcgis.com/en/arcmap/latest/tools/cartography-toolbox/aggregate-points.htm" title="http://desktop.arcgis.com/en/arcmap/latest/tools/cartography-toolbox/aggregate-points.htm"&gt;Aggregate Points&lt;/A&gt; to produce polygons around close points&lt;/LI&gt;&lt;LI&gt;produce a centroid for those polygons&lt;/LI&gt;&lt;LI&gt;perform the OD matrix calculations using those&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;This will potentially produce a much smaller and more realistic matrix.&amp;nbsp; There is little to be gained to running any type of network calculation when the distance between objects is small, within eyesight or just around the corner.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just some thoughts&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 28 Feb 2016 21:12:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/incomplete-distance-matrix/m-p/494862#M4816</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2016-02-28T21:12:12Z</dc:date>
    </item>
  </channel>
</rss>

