<?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: Is there a limitation number of facilities for &amp;quot;Find Closest Facilities&amp;quot; API Samp in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-there-a-limitation-number-of-facilities-for-amp/m-p/613095#M57366</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Does it time out does it return an error? And are you able to get the same request to work from the services directory?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Assuming you're talking about the sample at &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/demos/routetask/routetask_closest_facility.html"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/demos/routetask/routetask_closest_facility.html&lt;/A&gt;&lt;SPAN&gt; it returns an error message when you place a point more than a few hundred metres from a facility:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;"code":400,"message":"Unable to complete&amp;nbsp; operation.","details":["No \"Facilities\" found for \"Location 1\" in \"Incidents\".&amp;nbsp; No solution found&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It looks like the sample server at &lt;/SPAN&gt;&lt;A href="http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Network/USA/NAServer/Closest%20Facility"&gt;http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Network/USA/NAServer/Closest%20Facility&lt;/A&gt;&lt;SPAN&gt; only contains a small road section around downtown San Francisco - it's designed to demonstrate just this Find Task sample only, I guess.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Steve&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Dec 2011 20:31:39 GMT</pubDate>
    <dc:creator>StephenLead</dc:creator>
    <dc:date>2011-12-05T20:31:39Z</dc:date>
    <item>
      <title>Is there a limitation number of facilities for &amp;amp;quot;Find Closest Facilities&amp;amp;quot; API Sample?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-there-a-limitation-number-of-facilities-for-amp/m-p/613090#M57361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to customize "Find Closest Facilities" (under "Network Analyst") from JavaScript API Samples at &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/demos/routetask/routetask_closest_facility.html"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/demos/routetask/routetask_closest_facility.html&lt;/A&gt;&lt;SPAN&gt; and I found that it seemed there was a limitation number of facilities. When I used 10 or below facilities, my customized Web application worked well, but if I used over 10 facilities, my customized Web application did not work. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It only showed the point user clicked, but no route was shown. Here is my customized Web application of 6 facilities: &lt;/SPAN&gt;&lt;A href="http://egis.artsci.uc.edu/wang_fp1201.htm"&gt;http://egis.artsci.uc.edu/wang_fp1201.htm&lt;/A&gt;&lt;SPAN&gt; and here is my customized Web application of 38 facilities: &lt;/SPAN&gt;&lt;A href="http://egis.artsci.uc.edu/wang_fp1202.htm"&gt;http://egis.artsci.uc.edu/wang_fp1202.htm&lt;/A&gt;&lt;SPAN&gt; . &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could you please help figure out what is the problem of my Web application? I would appreciate your help a lot!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for any suggestions!!!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Dec 2011 20:39:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-there-a-limitation-number-of-facilities-for-amp/m-p/613090#M57361</guid>
      <dc:creator>ZhengxiWang</dc:creator>
      <dc:date>2011-12-02T20:39:46Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a limitation number of facilities for "Find Closest Facilities" API Samp</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-there-a-limitation-number-of-facilities-for-amp/m-p/613091#M57362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;There isn't a hard limit on the number of facilities you can use. The problem you're probably having is that using more facilities generates a longer URL. When the API tries to load a URL over 2048 characters, it automatically switches to doing a POST instead of a GET. Doing a POST with a long URL requires a proxy page due to limitations imposed by some browsers. It's pretty straightforward to set up a proxy page. We have instructions on how to do this in the &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jshelp/ags_proxy.htm"&gt;proxy page documentation&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Dec 2011 22:08:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-there-a-limitation-number-of-facilities-for-amp/m-p/613091#M57362</guid>
      <dc:creator>derekswingley1</dc:creator>
      <dc:date>2011-12-02T22:08:56Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a limitation number of facilities for "Find Closest Facilities" API Samp</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-there-a-limitation-number-of-facilities-for-amp/m-p/613092#M57363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;There isn't a hard limit on the number of facilities you can use. The problem you're probably having is that using more facilities generates a longer URL. When the API tries to load a URL over 2048 characters, it automatically switches to doing a POST instead of a GET. Doing a POST with a long URL requires a proxy page due to limitations imposed by some browsers. It's pretty straightforward to set up a proxy page. We have instructions on how to do this in the &lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jshelp/ags_proxy.htm"&gt;proxy page documentation&lt;/A&gt;.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I really appreciate you help!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Dec 2011 22:40:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-there-a-limitation-number-of-facilities-for-amp/m-p/613092#M57363</guid>
      <dc:creator>ZhengxiWang</dc:creator>
      <dc:date>2011-12-02T22:40:51Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a limitation number of facilities for "Find Closest Facilities" API Samp</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-there-a-limitation-number-of-facilities-for-amp/m-p/613093#M57364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We have the proxy page correctly set up on our site and I still have never gotten this task to work, particularly over long distances.&amp;nbsp; Is it meant to be a short-range solution?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Dec 2011 17:22:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-there-a-limitation-number-of-facilities-for-amp/m-p/613093#M57364</guid>
      <dc:creator>MarkHoover</dc:creator>
      <dc:date>2011-12-05T17:22:09Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a limitation number of facilities for "Find Closest Facilities" API Samp</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-there-a-limitation-number-of-facilities-for-amp/m-p/613094#M57365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;We have the proxy page correctly set up on our site and I still have never gotten this task to work, particularly over long distances.&amp;nbsp; Is it meant to be a short-range solution?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;That's a better question for someone who knows Network Analyst better than me...maybe try the &lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/forums/102-Network-Analyst"&gt;Netowrk Analyst forum&lt;/A&gt;&lt;SPAN&gt;? What's the response from your service? Does it time out does it return an error? And are you able to get the same request to work from the services directory?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Dec 2011 17:41:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-there-a-limitation-number-of-facilities-for-amp/m-p/613094#M57365</guid>
      <dc:creator>derekswingley1</dc:creator>
      <dc:date>2011-12-05T17:41:57Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a limitation number of facilities for "Find Closest Facilities" API Samp</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-there-a-limitation-number-of-facilities-for-amp/m-p/613095#M57366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Does it time out does it return an error? And are you able to get the same request to work from the services directory?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Assuming you're talking about the sample at &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/demos/routetask/routetask_closest_facility.html"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/demos/routetask/routetask_closest_facility.html&lt;/A&gt;&lt;SPAN&gt; it returns an error message when you place a point more than a few hundred metres from a facility:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;"code":400,"message":"Unable to complete&amp;nbsp; operation.","details":["No \"Facilities\" found for \"Location 1\" in \"Incidents\".&amp;nbsp; No solution found&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It looks like the sample server at &lt;/SPAN&gt;&lt;A href="http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Network/USA/NAServer/Closest%20Facility"&gt;http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Network/USA/NAServer/Closest%20Facility&lt;/A&gt;&lt;SPAN&gt; only contains a small road section around downtown San Francisco - it's designed to demonstrate just this Find Task sample only, I guess.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Steve&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Dec 2011 20:31:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-there-a-limitation-number-of-facilities-for-amp/m-p/613095#M57366</guid>
      <dc:creator>StephenLead</dc:creator>
      <dc:date>2011-12-05T20:31:39Z</dc:date>
    </item>
  </channel>
</rss>

