<?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: Routetask limitation when using findBestSequence=true in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/routetask-limitation-when-using-findbestsequence/m-p/150627#M14030</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm not all that familiar with our routing functionality but what's the specific error you're seeing? Can you post a simple test page that shows the problem?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Sep 2012 18:41:30 GMT</pubDate>
    <dc:creator>derekswingley1</dc:creator>
    <dc:date>2012-09-06T18:41:30Z</dc:date>
    <item>
      <title>Routetask limitation when using findBestSequence=true</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/routetask-limitation-when-using-findbestsequence/m-p/150626#M14029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am finding a limit of 7 stops when setting findBestSequence to true, when using Routetask in a simple javascript routing application.&amp;nbsp; Has any one else run into this?&amp;nbsp; Is this a permanent limitation, or just on the free version of the ArcGIS online?&amp;nbsp; I seem to be able to route more than 7 points if the parameter is false.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2012 18:35:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/routetask-limitation-when-using-findbestsequence/m-p/150626#M14029</guid>
      <dc:creator>FredHejazi</dc:creator>
      <dc:date>2012-09-06T18:35:56Z</dc:date>
    </item>
    <item>
      <title>Re: Routetask limitation when using findBestSequence=true</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/routetask-limitation-when-using-findbestsequence/m-p/150627#M14030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm not all that familiar with our routing functionality but what's the specific error you're seeing? Can you post a simple test page that shows the problem?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2012 18:41:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/routetask-limitation-when-using-findbestsequence/m-p/150627#M14030</guid>
      <dc:creator>derekswingley1</dc:creator>
      <dc:date>2012-09-06T18:41:30Z</dc:date>
    </item>
    <item>
      <title>Re: Routetask limitation when using findBestSequence=true</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/routetask-limitation-when-using-findbestsequence/m-p/150628#M14031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I just modified the sample code with one line added to it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/demos/routetask/routetask_multiple_stops.html"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/demos/routetask/routetask_multiple_stops.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;in Line 38 I added&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;routeParams.findBestSequence=true;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The sample works exactly the same, of course it resequences the stops, but after 7 stops, it does not function.&amp;nbsp; No errors are generated. At least none that show up.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2012 18:56:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/routetask-limitation-when-using-findbestsequence/m-p/150628#M14031</guid>
      <dc:creator>FredHejazi</dc:creator>
      <dc:date>2012-09-06T18:56:26Z</dc:date>
    </item>
    <item>
      <title>Re: Routetask limitation when using findBestSequence=true</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/routetask-limitation-when-using-findbestsequence/m-p/150629#M14032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The solution had nothing to do with findbestSequence.&amp;nbsp; Rather it was the size of the request.&amp;nbsp; Since it was a tricky I am posting the answer here. The problem was the samples use an ESRI proxy. You need a proxy because the request can get bigger than 2048 characters. The following is the line.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;esri.config.defaults.io.proxyUrl = "/arcgisserver/apis/javascript/proxy/proxy.ashx";&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Which is why it stopped working at 7 stops. The request was just bigger than 2048 and was getting cut off. Since there were no error messages, it was tough to diagnose. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There is information on how to setup a proxy page on this link &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="http://help.arcgis.com/en/webapi/jav...help_start.htm" rel="nofollow" target="_blank"&gt;http://help.arcgis.com/en/webapi/jav...help_start.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, if you install the php version, you will need cURL. The instructions that come up if cURL is not installed are for windows. They will not work for Linux and Apache. Use the instructions from the following link&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="http://askubuntu.com/questions/9293/...l-curl-in-php5" rel="nofollow" target="_blank"&gt;http://askubuntu.com/questions/9293/...l-curl-in-php5&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Sep 2012 18:51:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/routetask-limitation-when-using-findbestsequence/m-p/150629#M14032</guid>
      <dc:creator>FredHejazi</dc:creator>
      <dc:date>2012-09-20T18:51:03Z</dc:date>
    </item>
  </channel>
</rss>

