<?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 Service Area using ArcGIS API Javascript in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/calculating-service-area-using-arcgis-api/m-p/1004257#M70893</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Probably you have considered task duration, for synchronous execution mode is 5 minutes and for asynchronous execution mode is 2 hours.&lt;BR /&gt;If time execution exceed 5min or 2h you have a timeout. In this case you can check the appropriate http error code in the response.&lt;BR /&gt;Also you have to consider other limitations, for async see Usage Limits in &lt;A href="https://developers.arcgis.com/rest/network/api-reference/service-area-asynchronous-service.htm#ESRI_SECTION1_1E7E5FFDE27643B89EC1960952DDF516" target="_blank"&gt;https://developers.arcgis.com/rest/network/api-reference/service-area-asynchronous-service.htm#ESRI_SECTION1_1E7E5FFDE27643B89EC1960952DDF516&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;</description>
    <pubDate>Tue, 24 Nov 2020 13:33:01 GMT</pubDate>
    <dc:creator>Marco_E_Cadario</dc:creator>
    <dc:date>2020-11-24T13:33:01Z</dc:date>
    <item>
      <title>Calculating Service Area using ArcGIS API Javascript</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/calculating-service-area-using-arcgis-api/m-p/1004249#M70892</link>
      <description>&lt;P&gt;Hello All,&lt;BR /&gt;&lt;BR /&gt;I am calculating the service area of facilities by using ArcGIS API Javascript in my application. I have 661 facilities but it only calculates the service area for 380 then gives the error of "Timeout". I am not understanding why it is happening?&lt;BR /&gt;&lt;BR /&gt;Similarly, if I calculate the service area for 10 facilities, sometimes it calculates for 7, sometimes 9 or 10. Please help me what is the problem? I am using version 3.34 of ArcGIS API JS.&amp;nbsp;&lt;/P&gt;&lt;P&gt;And for Service Area I am using following link;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;serviceAreaTask&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;=&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;new&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;ServiceAreaTask&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;A href="https://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Network/USA/NAServer/Service&amp;nbsp;Area" target="_blank" rel="noopener"&gt;https://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Network/USA/NAServer/Service&amp;nbsp;Area&lt;/A&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Regards,&lt;BR /&gt;Hamid Ali&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Nov 2020 12:48:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/calculating-service-area-using-arcgis-api/m-p/1004249#M70892</guid>
      <dc:creator>idhamid2</dc:creator>
      <dc:date>2020-11-24T12:48:41Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating Service Area using ArcGIS API Javascript</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/calculating-service-area-using-arcgis-api/m-p/1004257#M70893</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Probably you have considered task duration, for synchronous execution mode is 5 minutes and for asynchronous execution mode is 2 hours.&lt;BR /&gt;If time execution exceed 5min or 2h you have a timeout. In this case you can check the appropriate http error code in the response.&lt;BR /&gt;Also you have to consider other limitations, for async see Usage Limits in &lt;A href="https://developers.arcgis.com/rest/network/api-reference/service-area-asynchronous-service.htm#ESRI_SECTION1_1E7E5FFDE27643B89EC1960952DDF516" target="_blank"&gt;https://developers.arcgis.com/rest/network/api-reference/service-area-asynchronous-service.htm#ESRI_SECTION1_1E7E5FFDE27643B89EC1960952DDF516&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;</description>
      <pubDate>Tue, 24 Nov 2020 13:33:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/calculating-service-area-using-arcgis-api/m-p/1004257#M70893</guid>
      <dc:creator>Marco_E_Cadario</dc:creator>
      <dc:date>2020-11-24T13:33:01Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating Service Area using ArcGIS API Javascript</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/calculating-service-area-using-arcgis-api/m-p/1004260#M70894</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/367663"&gt;@Marco_E_Cadario&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;Thank you for your reply.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;But it gives error before 5 minutes. I am not understanding what is the problem? If I calculate Service Area task for only 10 facilities, it also computes for 7 or 8 at everytime.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using the sample server, due to thinking is that problem?&lt;/P&gt;</description>
      <pubDate>Tue, 24 Nov 2020 13:47:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/calculating-service-area-using-arcgis-api/m-p/1004260#M70894</guid>
      <dc:creator>idhamid2</dc:creator>
      <dc:date>2020-11-24T13:47:15Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating Service Area using ArcGIS API Javascript</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/calculating-service-area-using-arcgis-api/m-p/1004275#M70895</link>
      <description>&lt;P&gt;Probably there are limitation on sample server.&lt;/P&gt;&lt;P&gt;Try to use&amp;nbsp;&lt;SPAN&gt;&lt;A href="https://route.arcgis.com/arcgis/rest/services/World" target="_blank"&gt;https://route.arcgis.com/arcgis/rest/services/World&lt;/A&gt;/ServiceAreas/NAServer/ServiceArea_World/solveServiceArea?parameters&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Nov 2020 14:51:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/calculating-service-area-using-arcgis-api/m-p/1004275#M70895</guid>
      <dc:creator>Marco_E_Cadario</dc:creator>
      <dc:date>2020-11-24T14:51:28Z</dc:date>
    </item>
  </channel>
</rss>

