<?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: Second shortest path in ArcGIS Network Analyst Questions</title>
    <link>https://community.esri.com/t5/arcgis-network-analyst-questions/second-shortest-path/m-p/2766#M29</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;As a second/third shortest path I mean a route between my points, which is a little longer than the standard shortest path. I would like to be able to prepare 3 possible routes connecting my points, where I can say something like: you can go from point A to point B by route 1 and this will take 5 minutes, by route 2 and this will take 6 minutes or by a route 3 and this will take 7 minutes.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Mar 2011 15:19:43 GMT</pubDate>
    <dc:creator>JoannaLaroussi</dc:creator>
    <dc:date>2011-03-22T15:19:43Z</dc:date>
    <item>
      <title>Second shortest path</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/second-shortest-path/m-p/2764#M27</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is any option in Network Analyst to create not only the shortest path between points, but also second and third shortest path?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2011 14:58:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/second-shortest-path/m-p/2764#M27</guid>
      <dc:creator>JoannaLaroussi</dc:creator>
      <dc:date>2011-03-22T14:58:42Z</dc:date>
    </item>
    <item>
      <title>Re: Second shortest path</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/second-shortest-path/m-p/2765#M28</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can you describe what would be an acceptable second or third shortest path for your application?&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>Tue, 22 Mar 2011 15:05:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/second-shortest-path/m-p/2765#M28</guid>
      <dc:creator>JaySandhu</dc:creator>
      <dc:date>2011-03-22T15:05:34Z</dc:date>
    </item>
    <item>
      <title>Re: Second shortest path</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/second-shortest-path/m-p/2766#M29</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;As a second/third shortest path I mean a route between my points, which is a little longer than the standard shortest path. I would like to be able to prepare 3 possible routes connecting my points, where I can say something like: you can go from point A to point B by route 1 and this will take 5 minutes, by route 2 and this will take 6 minutes or by a route 3 and this will take 7 minutes.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2011 15:19:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/second-shortest-path/m-p/2766#M29</guid>
      <dc:creator>JoannaLaroussi</dc:creator>
      <dc:date>2011-03-22T15:19:43Z</dc:date>
    </item>
    <item>
      <title>Re: Second shortest path</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/second-shortest-path/m-p/2767#M30</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can do this by a simple process:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;First solve the shortest path between the two locations.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Save/export the results.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Now in the NA Window, right click on the Line Barriers and select Load Locations&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In the "Load From:", pick the existing route layer's Routes sub layer and click OK.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The current shortest path will now be loaded in as restriction!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Double-click on the newly added line restriction to open it's properties.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Change the "BarrierType" from Restriction to Scaled Cost and in the next column,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;some thing like Attr_Time (or what ever your impedance attribute was), change the value to be 1.2&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Solve. You should get a new path. Save/export this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Now repeate the above process to load the new path as a scaled cost restriction and solve again.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The 1.2 means you are penalizing the current path by 20 percent. So it may find another path.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You can change the penalty factor as needed for your area. e.g., 1.1 may work better.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So what we did was to use the existing shortest path to penalize the underlying roads a little bit and force the solver to find an alternate solution.&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>Tue, 22 Mar 2011 15:45:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/second-shortest-path/m-p/2767#M30</guid>
      <dc:creator>JaySandhu</dc:creator>
      <dc:date>2011-03-22T15:45:39Z</dc:date>
    </item>
    <item>
      <title>Re: Second shortest path</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/second-shortest-path/m-p/2768#M31</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you. I hoped for some out of the box solution, but this will also work for me.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2011 16:07:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/second-shortest-path/m-p/2768#M31</guid>
      <dc:creator>JoannaLaroussi</dc:creator>
      <dc:date>2011-03-22T16:07:05Z</dc:date>
    </item>
  </channel>
</rss>

