<?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: calculating driving distances in ArcGIS Network Analyst Questions</title>
    <link>https://community.esri.com/t5/arcgis-network-analyst-questions/calculating-driving-distances/m-p/365443#M3443</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;As the message says, the problem is with the network dataset and not with the route layer.&lt;BR /&gt;If the network has no edges perhaps it needs to be "built". Also if it has no edges then the&lt;BR /&gt;stops you loaded have no where to snap to and will need to be re-loaded or their locations&lt;BR /&gt;re-calculated once the edges are there.&lt;BR /&gt; &lt;BR /&gt;You mention that you created and build the network. When you add the network dataset to&lt;BR /&gt;ArcMap, say NO to adding the source features. Now, does anything draw? Or if you bring&lt;BR /&gt;up the properties of the network dataset, what does it say on it's status?&lt;BR /&gt; &lt;BR /&gt;Jay Sandhu&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jay thank you very much for the reply! I figured out how to it finally. I used "New Closest Facility" Function to load origins and destinations separately and then all routes were calculated and showed up. I thought the previous issue I had is, my dataset is too large. I have more than 50,000 patients point data which I wanted to&amp;nbsp; connect with their respective closest of more than 10,000 health care facilities. Once I selected a small sample of both and tried, there is no problem at all.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you so much for the answer. It helped a lot. I just wonder, do you happen to have any experience about how to play with large dataset? Like in my case, is there a way that I can do the route calculation for all 50,000 patients at once?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Xiaomin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Aug 2011 22:16:07 GMT</pubDate>
    <dc:creator>XiaominRuan</dc:creator>
    <dc:date>2011-08-04T22:16:07Z</dc:date>
    <item>
      <title>calculating driving distances</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/calculating-driving-distances/m-p/365436#M3436</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;BR /&gt;&lt;SPAN&gt;i am new to arcgis and am trying to calculate the driving distances between 2 sets of xy coordinates.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i have a data set with 5 columns--id, x-origin, y-origin, x-destination, y-destination--and would like to create a new showing the driving distance between the respective xy coordinates.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i was told that this might be possible using network analyst but have never worked with that tool.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;any help would be appreciated!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Daniel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 May 2011 17:21:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/calculating-driving-distances/m-p/365436#M3436</guid>
      <dc:creator>DANIELWEBSTER</dc:creator>
      <dc:date>2011-05-19T17:21:29Z</dc:date>
    </item>
    <item>
      <title>Re: calculating driving distances</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/calculating-driving-distances/m-p/365437#M3437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes this is very easy, there is also a tutorial with installation and also in the help file. Look here &lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://www.esri.com/flashmedia/na_drivedirect.swf"&gt;http://www.esri.com/flashmedia/na_drivedirect.swf&lt;/A&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you dont find the files, let me know. I will explain further.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sriram&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;hello,&lt;BR /&gt;&lt;BR /&gt;i am new to arcgis and am trying to calculate the driving distances between 2 sets of xy coordinates.&lt;BR /&gt;&lt;BR /&gt;i have a data set with 5 columns--id, x-origin, y-origin, x-destination, y-destination--and would like to create a new showing the driving distance between the respective xy coordinates.&lt;BR /&gt;&lt;BR /&gt;i was told that this might be possible using network analyst but have never worked with that tool.&lt;BR /&gt;&lt;BR /&gt;any help would be appreciated!&lt;BR /&gt;&lt;BR /&gt;Daniel&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 May 2011 16:26:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/calculating-driving-distances/m-p/365437#M3437</guid>
      <dc:creator>RamB</dc:creator>
      <dc:date>2011-05-21T16:26:57Z</dc:date>
    </item>
    <item>
      <title>Re: calculating driving distances</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/calculating-driving-distances/m-p/365438#M3438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If I understand your objective correctly, you want to find the driving distance from one specific origin to one specific destination, not from all origins to all destinations. This is important because, at first glance, you might think the OD cost matrix solver would work best, but actually it's probably best to do the following using a route layer instead:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. On your dataset, create a new field named RouteName and calculate its value so that it is the same value as your current ID field. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Add your origins to ArcMap as a layer. (Tip: File &amp;gt; Add Data &amp;gt; Add XY Data.) Only specify the origin X and Y fields.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. Rename the output layer that appears in the table of contents to something like Origins.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4. Add your destinations to ArcMap as a layer. Only specify the destination X and Y fields.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;5. Rename the output layer to Destinations.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;6. Make a Route layer using the Network Analyst toolbar (or a GP tool).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;7. Load the Origins layer into the Stops class. (Tip: Right-click Stops in the Network Analyst window and choose Load Locations.) Make sure the RouteName field is mapped to the RouteName field you created.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;8. Load the Destinations layer into the Stops class using the same method.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;9. Solve &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;By specifying the route name when loading, the stops are grouped together and routes are calculated only for the stops that are in the same group, which in your case is limited to a single origin and destination pair. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can open, and optionally export, the Routes class, which contains the calculated shortest-path driving distances. The Name field values will match the values of your original IDs.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2011 16:16:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/calculating-driving-distances/m-p/365438#M3438</guid>
      <dc:creator>RobertGarrity</dc:creator>
      <dc:date>2011-05-24T16:16:58Z</dc:date>
    </item>
    <item>
      <title>Re: calculating driving distances</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/calculating-driving-distances/m-p/365439#M3439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all, I have a similar query. I need to calculate the shortest network distance (driving distance) between a set of Origins and a set of destinations from a travel survey. I need to also built in constraints like one-way, no U-turns except on dead ends, speed limits, etc. Please let me know how this can be done. I have more than 10,000 trips for which I need to calculate driving distances. This is part of my dissertation research.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help and tips would be appreciated!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks, Sweta Byahut&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Jul 2011 14:27:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/calculating-driving-distances/m-p/365439#M3439</guid>
      <dc:creator>SWETABYAHUT</dc:creator>
      <dc:date>2011-07-10T14:27:13Z</dc:date>
    </item>
    <item>
      <title>Re: calculating driving distances</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/calculating-driving-distances/m-p/365440#M3440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;All this can be done with network analyst, but you'll need to take some time to learn how to use the extension.&amp;nbsp; There is an ESRI tutorial available and you can search the on line help for specific information.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Jul 2011 15:27:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/calculating-driving-distances/m-p/365440#M3440</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2011-07-10T15:27:31Z</dc:date>
    </item>
    <item>
      <title>Re: calculating driving distances</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/calculating-driving-distances/m-p/365441#M3441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;If I understand your objective correctly, you want to find the driving distance from one specific origin to one specific destination, not from all origins to all destinations. This is important because, at first glance, you might think the OD cost matrix solver would work best, but actually it's probably best to do the following using a route layer instead:&lt;BR /&gt;&lt;BR /&gt;1. On your dataset, create a new field named RouteName and calculate its value so that it is the same value as your current ID field. &lt;BR /&gt;2. Add your origins to ArcMap as a layer. (Tip: File &amp;gt; Add Data &amp;gt; Add XY Data.) Only specify the origin X and Y fields.&lt;BR /&gt;3. Rename the output layer that appears in the table of contents to something like Origins.&lt;BR /&gt;4. Add your destinations to ArcMap as a layer. Only specify the destination X and Y fields.&lt;BR /&gt;5. Rename the output layer to Destinations.&lt;BR /&gt;6. Make a Route layer using the Network Analyst toolbar (or a GP tool).&lt;BR /&gt;7. Load the Origins layer into the Stops class. (Tip: Right-click Stops in the Network Analyst window and choose Load Locations.) Make sure the RouteName field is mapped to the RouteName field you created.&lt;BR /&gt;8. Load the Destinations layer into the Stops class using the same method.&lt;BR /&gt;9. Solve &lt;BR /&gt;&lt;BR /&gt;By specifying the route name when loading, the stops are grouped together and routes are calculated only for the stops that are in the same group, which in your case is limited to a single origin and destination pair. &lt;BR /&gt;&lt;BR /&gt;You can open, and optionally export, the Routes class, which contains the calculated shortest-path driving distances. The Name field values will match the values of your original IDs.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a lot for the step by step description. I'm also new to Network Analyst but I did follow the same steps trying to calculate the driving distance from a patients layer to their closest doctor's locations. I can populate the stops exactly as you described, but looks my route layer didn't get populated because in Network Analysts window, the number of routes is 0.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I used a single statewide road shapefile to create my new network dataset and then built a network dataset that contains three features, the source road layer, the edge layer, and the junction layer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After that, I read in origins and destinations data from an Excel table exactly as you described.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After read in point XY data, I clicked to create a new route, so the Network Analyst window is populated with bunch of layers, but with all layers including the stops layer and the route layer empty.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I then loaded the origins and destinations layer to stops, click on "solve" on the Network Analyst Toolbar that is beside the "Directions Window". Then ArcINFO 10 gave me an error saying "The network dataset has no edge elements. It may be unbuilt."&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I guess I might did something wrong when creating the new route but not sure. I would highly appreciate if you or anybody could give a more detailed step by step instruction about what's wrong in my steps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Xiaomin&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Geosptial &amp;amp; Population Studies, UNM&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Aug 2011 20:08:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/calculating-driving-distances/m-p/365441#M3441</guid>
      <dc:creator>XiaominRuan</dc:creator>
      <dc:date>2011-08-01T20:08:30Z</dc:date>
    </item>
    <item>
      <title>Re: calculating driving distances</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/calculating-driving-distances/m-p/365442#M3442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;"The network dataset has no edge elements. It may be unbuilt."&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As the message says, the problem is with the network dataset and not with the route layer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If the network has no edges perhaps it needs to be "built". Also if it has no edges then the&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;stops you loaded have no where to snap to and will need to be re-loaded or their locations&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;re-calculated once the edges are there.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You mention that you created and build the network. When you add the network dataset to&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ArcMap, say NO to adding the source features. Now, does anything draw? Or if you bring&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;up the properties of the network dataset, what does it say on it's status?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jay Sandhu&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Aug 2011 17:34:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/calculating-driving-distances/m-p/365442#M3442</guid>
      <dc:creator>JaySandhu</dc:creator>
      <dc:date>2011-08-03T17:34:09Z</dc:date>
    </item>
    <item>
      <title>Re: calculating driving distances</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/calculating-driving-distances/m-p/365443#M3443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;As the message says, the problem is with the network dataset and not with the route layer.&lt;BR /&gt;If the network has no edges perhaps it needs to be "built". Also if it has no edges then the&lt;BR /&gt;stops you loaded have no where to snap to and will need to be re-loaded or their locations&lt;BR /&gt;re-calculated once the edges are there.&lt;BR /&gt; &lt;BR /&gt;You mention that you created and build the network. When you add the network dataset to&lt;BR /&gt;ArcMap, say NO to adding the source features. Now, does anything draw? Or if you bring&lt;BR /&gt;up the properties of the network dataset, what does it say on it's status?&lt;BR /&gt; &lt;BR /&gt;Jay Sandhu&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jay thank you very much for the reply! I figured out how to it finally. I used "New Closest Facility" Function to load origins and destinations separately and then all routes were calculated and showed up. I thought the previous issue I had is, my dataset is too large. I have more than 50,000 patients point data which I wanted to&amp;nbsp; connect with their respective closest of more than 10,000 health care facilities. Once I selected a small sample of both and tried, there is no problem at all.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you so much for the answer. It helped a lot. I just wonder, do you happen to have any experience about how to play with large dataset? Like in my case, is there a way that I can do the route calculation for all 50,000 patients at once?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Xiaomin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2011 22:16:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/calculating-driving-distances/m-p/365443#M3443</guid>
      <dc:creator>XiaominRuan</dc:creator>
      <dc:date>2011-08-04T22:16:07Z</dc:date>
    </item>
    <item>
      <title>Re: calculating driving distances</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/calculating-driving-distances/m-p/365444#M3444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you only need to know the location and distance then use the OD Cost Matrix solver. But if you need the actual route to be shown then continue to use Closest Facility.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;To solve your problem of finding ONE closest hospital, set a cutoff distance or time, say 60 miles or 60 minutes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(i.e.. what ever is reasonable in your case).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Turn off hierarchy.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Set number of facilities to find as 1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Solve.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;it should work with 50,000 incidents and 10,000 facilities.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If it does not, can you report back to how far it gets or what error message is reported.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, If you are using these points over and over again, I will suggest that you run the GP tool, Calculate Locations on your hospitals and patients so that you can load them by network locations (not geometry) into a new network layer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jay Sandhu&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2011 17:41:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/calculating-driving-distances/m-p/365444#M3444</guid>
      <dc:creator>JaySandhu</dc:creator>
      <dc:date>2011-08-05T17:41:46Z</dc:date>
    </item>
    <item>
      <title>Re: calculating driving distances</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/calculating-driving-distances/m-p/365445#M3445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;If you only need to know the location and distance then use the OD Cost Matrix solver. But if you need the actual route to be shown then continue to use Closest Facility.&lt;BR /&gt; &lt;BR /&gt;To solve your problem of finding ONE closest hospital, set a cutoff distance or time, say 60 miles or 60 minutes.&lt;BR /&gt;(i.e.. what ever is reasonable in your case).&lt;BR /&gt;Turn off hierarchy.&lt;BR /&gt;Set number of facilities to find as 1.&lt;BR /&gt;Solve.&lt;BR /&gt; &lt;BR /&gt;it should work with 50,000 incidents and 10,000 facilities.&lt;BR /&gt;If it does not, can you report back to how far it gets or what error message is reported.&lt;BR /&gt; &lt;BR /&gt;Also, If you are using these points over and over again, I will suggest that you run the GP tool, Calculate Locations on your hospitals and patients so that you can load them by network locations (not geometry) into a new network layer.&lt;BR /&gt; &lt;BR /&gt;Jay Sandhu&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Now I understand more about what you are talking. Really helpful! Thanks. I just hope it will work with more than million patients in one SOLVE.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Have a nice weekend!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Xiaomin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2011 19:49:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/calculating-driving-distances/m-p/365445#M3445</guid>
      <dc:creator>XiaominRuan</dc:creator>
      <dc:date>2011-08-05T19:49:55Z</dc:date>
    </item>
    <item>
      <title>Re: calculating driving distances</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/calculating-driving-distances/m-p/365446#M3446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think it may not work with one million patients. I will suggest that you split it into 10 solves of 100,000 patients each, write out the results and combine them at the end.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Couple of other things you can do is to run ArcGIS on a windows 64 bit machine with 4 GB RAM. On a 32 bit OS, the maximum memory it can use is 2 GB but on a 64 bit OS it can use 4 GB.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If you have multiple cores, like a quad core machine, you can use the GP background processing to run more than one solve simultaneously to speed it up. For example, run two solves of 100,000 each.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jay Sandhu&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2011 20:48:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/calculating-driving-distances/m-p/365446#M3446</guid>
      <dc:creator>JaySandhu</dc:creator>
      <dc:date>2011-08-05T20:48:21Z</dc:date>
    </item>
    <item>
      <title>Re: calculating driving distances</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/calculating-driving-distances/m-p/365447#M3447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;If I understand your objective correctly, you want to find the driving distance from one specific origin to one specific destination, not from all origins to all destinations. This is important because, at first glance, you might think the OD cost matrix solver would work best, but actually it's probably best to do the following using a route layer instead:&lt;BR /&gt;&lt;BR /&gt;1. On your dataset, create a new field named RouteName and calculate its value so that it is the same value as your current ID field. &lt;BR /&gt;2. Add your origins to ArcMap as a layer. (Tip: File &amp;gt; Add Data &amp;gt; Add XY Data.) Only specify the origin X and Y fields.&lt;BR /&gt;3. Rename the output layer that appears in the table of contents to something like Origins.&lt;BR /&gt;4. Add your destinations to ArcMap as a layer. Only specify the destination X and Y fields.&lt;BR /&gt;5. Rename the output layer to Destinations.&lt;BR /&gt;6. Make a Route layer using the Network Analyst toolbar (or a GP tool).&lt;BR /&gt;7. Load the Origins layer into the Stops class. (Tip: Right-click Stops in the Network Analyst window and choose Load Locations.) Make sure the RouteName field is mapped to the RouteName field you created.&lt;BR /&gt;8. Load the Destinations layer into the Stops class using the same method.&lt;BR /&gt;9. Solve &lt;BR /&gt;&lt;BR /&gt;By specifying the route name when loading, the stops are grouped together and routes are calculated only for the stops that are in the same group, which in your case is limited to a single origin and destination pair. &lt;BR /&gt;&lt;BR /&gt;You can open, and optionally export, the Routes class, which contains the calculated shortest-path driving distances. The Name field values will match the values of your original IDs.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi, thank you Robert Garrity and Jay Sandhu for step-by-step guidance to this query. I followed it, but for some reason only some of the O-D pairs are solved. My data set has more than 35,000 trips, or pairs or OD points, but only 5700 were solved. I get two kinds of error warnings, the samples are below: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Warning: Location "Location 11" in "Stops" is on a non-traversable network element position.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Warning: No route for "9901" from location "Location 9902" to location "Location 47260"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What is want to do is find the shortest route between each pair of O-D points on each of these trips. The data has been obtained from a travel survey using GPS that gives X,Y coordinates for each origin and each destination for each trip.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think in my case, all the street center-lines have been identified as edges, however, all OD points not falling directly on the edges are showing up as errors and not able to snap to closest edge/street.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help will be appreciated! I am new to Network Analysis and this forms a critical part of my doctoral thesis!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks, Sweta&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Aug 2011 22:00:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/calculating-driving-distances/m-p/365447#M3447</guid>
      <dc:creator>SWETABYAHUT</dc:creator>
      <dc:date>2011-08-25T22:00:43Z</dc:date>
    </item>
    <item>
      <title>Re: calculating driving distances</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/calculating-driving-distances/m-p/365448#M3448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;&amp;gt;1. Warning: Location "Location 11" in "Stops" is on a non-traversable network element position.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This means that your location is located on an edge which is restrictred due to some restriction like oneway. So check the properties of your route layer and see what restrictions are on. Can some of them be turned off? If not, then on the network locations tab of your route layer, at the bottom, there is a property called "Exclude restricted portions of the network". Check on this property. Now you will have to "re-locate" your stops. So in the NAWindow, right-click on the Stops and choose Re-calculate Location Fields and choose All (or select only the problem stops before and relocate only the selected ones).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;gt;2. Warning: No route for "9901" from location "Location 9902" to location "Location 47260"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is becase there is no path between these two locations. Most likely this could be due to restrictions that are on in the data or there is disconnected pieces in the network. So you will have to investigate that be turning off ALL restrictions and seeing if you can find a path or not.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;gt;I am new to Network Analysis and this forms a critical part of my doctoral thesis!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Just an observation: If you choose to use a tool that is critical to the thesis then you need to be a master at it before you make it a critical part....but it is probably too late for that now.&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>Thu, 25 Aug 2011 22:52:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/calculating-driving-distances/m-p/365448#M3448</guid>
      <dc:creator>JaySandhu</dc:creator>
      <dc:date>2011-08-25T22:52:50Z</dc:date>
    </item>
    <item>
      <title>Re: calculating driving distances</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/calculating-driving-distances/m-p/365449#M3449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Jay Sandhu, yes that solved the problem! Most of the errors related to "one-way" restrictions on the Route Layer which was easily corrected. However, I had a tough time trying to save results and had to repeat the procedure several times before I could manage to do it. The file size increased from 180MB to about 550MB. I have about 70,000 stops, and more than 30,000 routes. Is that normal?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I agree, ideally I should have mastered this extension before I made this an important part of my dissertation. Its an important, but small part.... hoping to learn along the way, and these ArcGIS forums are very useful! Thanks again for the help!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards, Sweta&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Aug 2011 19:38:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/calculating-driving-distances/m-p/365449#M3449</guid>
      <dc:creator>SWETABYAHUT</dc:creator>
      <dc:date>2011-08-31T19:38:12Z</dc:date>
    </item>
    <item>
      <title>Re: calculating driving distances</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/calculating-driving-distances/m-p/365450#M3450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Glad to know you have it working. As far as file size, it may depend on how many route layers you have in ArcMap. Each will require it's own memory for that many stops/routes. One thing you can do is instead of Save, do a Save As to a new file name and that will most likley be smaller as it will get rid of any unnecessary information being stored in that map document.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;As far as "observation" it was more of a helpful suggestion that when it comes to defending your thesis, you do not want to admit ignorance about any aspect of your work!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jay Sandhu, Ph.D. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Aug 2011 20:03:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/calculating-driving-distances/m-p/365450#M3450</guid>
      <dc:creator>JaySandhu</dc:creator>
      <dc:date>2011-08-31T20:03:21Z</dc:date>
    </item>
    <item>
      <title>Re: calculating driving distances</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/calculating-driving-distances/m-p/365451#M3451</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 also have an extremely large MXD (1.6GB!) that I'm trying to work with.&amp;nbsp; I've got routes worked out for 80 facilities and 76,000 incidents over a national network dataset using the &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;closest facilty&lt;/SPAN&gt;&lt;SPAN&gt; geoprocess.&amp;nbsp; Just wondering if you've established some form of 'best practices' for working with rather large MXDs?&amp;nbsp; Your help would be much appreciated.&amp;nbsp; Arc 10, SP3, XP.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Matt&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Nov 2011 20:20:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/calculating-driving-distances/m-p/365451#M3451</guid>
      <dc:creator>MattWootton</dc:creator>
      <dc:date>2011-11-09T20:20:26Z</dc:date>
    </item>
    <item>
      <title>Re: calculating driving distances</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/calculating-driving-distances/m-p/365452#M3452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you solve a large closest facility problem in ArcMap and then write it out as an MXD it will take a lot of space. Is there a reason you need to save this in a map document? Can you export out the lines layer to a feature class (shape file or geodatabase) and then add it to the ArcMap TOC and save that map document? that way the data is not saved in the map document. You could also export the entire CF layer to disk to save a copy as well.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jay Sandhu&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2011 20:32:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/calculating-driving-distances/m-p/365452#M3452</guid>
      <dc:creator>JaySandhu</dc:creator>
      <dc:date>2011-11-10T20:32:30Z</dc:date>
    </item>
    <item>
      <title>Re: calculating driving distances</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/calculating-driving-distances/m-p/365453#M3453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;If I understand your objective correctly, you want to find the driving distance from one specific origin to one specific destination, not from all origins to all destinations. This is important because, at first glance, you might think the OD cost matrix solver would work best, but actually it's probably best to do the following using a route layer instead:&lt;BR /&gt;&lt;BR /&gt;1. On your dataset, create a new field named RouteName and calculate its value so that it is the same value as your current ID field. &lt;BR /&gt;2. Add your origins to ArcMap as a layer. (Tip: File &amp;gt; Add Data &amp;gt; Add XY Data.) Only specify the origin X and Y fields.&lt;BR /&gt;3. Rename the output layer that appears in the table of contents to something like Origins.&lt;BR /&gt;4. Add your destinations to ArcMap as a layer. Only specify the destination X and Y fields.&lt;BR /&gt;5. Rename the output layer to Destinations.&lt;BR /&gt;6. Make a Route layer using the Network Analyst toolbar (or a GP tool).&lt;BR /&gt;7. Load the Origins layer into the Stops class. (Tip: Right-click Stops in the Network Analyst window and choose Load Locations.) Make sure the RouteName field is mapped to the RouteName field you created.&lt;BR /&gt;8. Load the Destinations layer into the Stops class using the same method.&lt;BR /&gt;9. Solve &lt;BR /&gt;&lt;BR /&gt;By specifying the route name when loading, the stops are grouped together and routes are calculated only for the stops that are in the same group, which in your case is limited to a single origin and destination pair. &lt;BR /&gt;&lt;BR /&gt;You can open, and optionally export, the Routes class, which contains the calculated shortest-path driving distances. The Name field values will match the values of your original IDs.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm having problems with this.&amp;nbsp; I'm able to load the origins and destinations into the Stops and assign the Route Name for each.&amp;nbsp; My stops then show up paired by the Route Name values, which seems correct - I want to know the driving distances for paths between specific pairs of points. When I solve, the solve fails and give the errors "Warning: Location "Location 1" in "Stops" is unlocated." for a lot of locations.&amp;nbsp; These are locations of where women live and the mammography screening facility they attended.&amp;nbsp; I don't have the facility for some women, so I figured those would be unsolved, but it doesn't solve any routes for those that have both locations.&amp;nbsp; When I loaded origins and destinations into OD Cost Matrix, it solved everything, but was obviously more than I wanted since it did all routes, not the specific route per woman.&amp;nbsp; Any suggestions are appreciated!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Mar 2013 18:28:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/calculating-driving-distances/m-p/365453#M3453</guid>
      <dc:creator>JennaKhan</dc:creator>
      <dc:date>2013-03-11T18:28:33Z</dc:date>
    </item>
    <item>
      <title>Re: calculating driving distances</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/calculating-driving-distances/m-p/365454#M3454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Jenna,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When you load the stops, are you loading using geometry or network location fields? (This option is at the bottom of the Load Locations dialog box.) If so, what is the Search Tolerance you are using?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, zoom into an unlocated stop and use the Measure tool on the Tools toolbar to see how far the stop is from the nearest street. What's the distance? If you're using geometry to load locations and the point is farther than the search tolerance, the stop won't locate. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The default search tolerance is 5000 meters, so if you're using the default, it's unlikely the stops are not going to be located. But it's a good place to start looking.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you're using network location fields to load, were the network location fields calculated using the same network dataset you're using to create the route layer? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Robert&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Mar 2013 21:42:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/calculating-driving-distances/m-p/365454#M3454</guid>
      <dc:creator>RobertGarrity</dc:creator>
      <dc:date>2013-03-11T21:42:42Z</dc:date>
    </item>
    <item>
      <title>Re: calculating driving distances</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/calculating-driving-distances/m-p/365455#M3455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Robert!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I was using the default search tolerance and those that had addresses were located.&amp;nbsp; I actually ended up getting rid of the pairs that didn't have both an origin and a destination.&amp;nbsp; A lot of them did not have a location for the destination and those were the ones that were unlocated - I just thought those routes would be 0 or unsolved, but that the other pairs would solve.&amp;nbsp; So now all of the stops are located and when I solve I don't get any of the previous 'unlocated' errors, but it still fails.&amp;nbsp; I don't get any error message now, I just see 'solve failed' in the network analyst sidebar at the bottom.&amp;nbsp; I had 758 pairs of locations and thought that maybe there were too many, so I tried with 10 pairs of locations and it still doesn't work, no message other than 'solve failed'.&amp;nbsp; I'm using files that were geocoded using the 10.0 North American Geocode Service (ArcGIS Online) and using the StreetMap Pro 2007 streets network - I'm&amp;nbsp; not sure if that answers your last question.&amp;nbsp; Any other thoughts Robert?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jenna&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Mar 2013 02:01:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/calculating-driving-distances/m-p/365455#M3455</guid>
      <dc:creator>JennaKhan</dc:creator>
      <dc:date>2013-03-12T02:01:24Z</dc:date>
    </item>
  </channel>
</rss>

