<?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: How can you set the stop time on RouteParameters? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-you-set-the-stop-time-on-routeparameters/m-p/226726#M21188</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thats what I was looking for. Tho, We're not using the Esri service my co-worker just told me and the &lt;A href="http://resources.arcgis.com/en/help/arcgis-rest-api/#/Solve_Route/02r3000000q3000000/"&gt;own service&lt;/A&gt;​ does not seem to support that attribute.&lt;BR /&gt;I guess I'll need to work arround it somehow. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Oct 2015 08:28:54 GMT</pubDate>
    <dc:creator>SantoPfingsten</dc:creator>
    <dc:date>2015-10-28T08:28:54Z</dc:date>
    <item>
      <title>How can you set the stop time on RouteParameters?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-you-set-the-stop-time-on-routeparameters/m-p/226722#M21184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to use &lt;A href="https://developers.arcgis.com/javascript/jsapi/routetask-amd.html"&gt;RouteTask&lt;/A&gt; with &lt;A href="https://developers.arcgis.com/javascript/jsapi/routeparameters-amd.html"&gt;RouteParameters&lt;/A&gt; to calculate a route with stops. But I want to specify a time to wait at each stop.&lt;BR /&gt;The &lt;A href="https://developers.arcgis.com/rest/analysis/api-reference/plan-routes.htm" title="https://developers.arcgis.com/rest/analysis/api-reference/plan-routes.htm"&gt;Plan Routes&lt;/A&gt;​ REST API seems to have a field &lt;SPAN style="color: #595959; font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace; font-size: 12.6438px; background-color: #f8f8f8;"&gt;stopServiceTime&lt;/SPAN&gt;, but it seems to be missing in the &lt;A href="https://developers.arcgis.com/javascript/jsapi/planroutes-amd.html"&gt;Javascript API&lt;/A&gt; as well.&lt;/P&gt;&lt;P&gt;Is there any way to do this right now? Or is the RouteTask API not capable of this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Oct 2015 09:17:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-you-set-the-stop-time-on-routeparameters/m-p/226722#M21184</guid>
      <dc:creator>SantoPfingsten</dc:creator>
      <dc:date>2015-10-27T09:17:08Z</dc:date>
    </item>
    <item>
      <title>Re: How can you set the stop time on RouteParameters?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-you-set-the-stop-time-on-routeparameters/m-p/226723#M21185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you plan to use Spatial Analyst service, it seems that you have a dedicated Widget in the ArcGIS API for JavaScript : &lt;A href="https://developers.arcgis.com/javascript/jshelp/intro_analysiswidgets.html" title="https://developers.arcgis.com/javascript/jshelp/intro_analysiswidgets.html"&gt;Working with Analysis Widgets | Guide | ArcGIS API for JavaScript,&lt;/A&gt;&lt;/P&gt;&lt;P&gt;And it contains the &lt;A href="https://developers.arcgis.com/javascript/jsapi/planroutes-amd.html"&gt;PlanRoutes&lt;/A&gt; operation you mentioned. Be aware that this operation may consume some credits in your organization.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may notice that the execute method doesn't take a RouteParameters in parameter but an object (array of parameters). You can find the list of parameters available in the Spatial Analyst Rest API documentation for the &lt;A href="https://developers.arcgis.com/rest/analysis/api-reference/plan-routes.htm"&gt;PlanRoutes Task &lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that you can access a REST operation without specific API. You just need to be able to send HTTP Request (and of course known the parameters). This is detailed in the documentation &lt;A href="https://developers.arcgis.com/rest/analysis/api-reference/programmatically-accessing-analysis-services.htm"&gt;here&lt;/A&gt;​​.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P style="margin: 0cm; margin-bottom: .0001pt; line-height: 12.1pt;"&gt;&lt;SPAN lang="EN-US" style="font-size: 8pt; font-family: Helvetica, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Oct 2015 13:21:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-you-set-the-stop-time-on-routeparameters/m-p/226723#M21185</guid>
      <dc:creator>GuillaumeBARRAS</dc:creator>
      <dc:date>2015-10-27T13:21:47Z</dc:date>
    </item>
    <item>
      <title>Re: How can you set the stop time on RouteParameters?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-you-set-the-stop-time-on-routeparameters/m-p/226724#M21186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you failed to see my Problem. I don't have a Problem using the Javascript API instead of the REST API, I have the Problem, that the JS API does not seem to offer the parameters I need.&lt;BR /&gt;Besides, I'd much rather use RouteTask/RouteParameters instead of PlanRoutes and I want to use my own UI, not the one provided.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Oct 2015 15:11:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-you-set-the-stop-time-on-routeparameters/m-p/226724#M21186</guid>
      <dc:creator>SantoPfingsten</dc:creator>
      <dc:date>2015-10-27T15:11:15Z</dc:date>
    </item>
    <item>
      <title>Re: How can you set the stop time on RouteParameters?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-you-set-the-stop-time-on-routeparameters/m-p/226725#M21187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my previous reply, I assumed you want to consume Spatial Analyst Services from Esri and told you it was possible with out of the box digit or by sending REST request with "standard" HTTP Request (so without UI).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RouteTask/RouteParameters are objets design to help JavaScript developer to consume Network Analysis/Route Services (coming from Esri or from your own services/ArcGIS Server), not spatial analyst services.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Route Service from Esri, you can specify the time that will be spent at each stop by adding the attribute Attr_TravelTime to each of your input stops (&lt;A href="http://resources.arcgis.com/en/help/arcgis-rest-api/#/Route_service_with_synchronous_execution/02r300000036000000/"&gt;as describe in the REST API required parameters "stops"&lt;/A&gt;).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0cm; margin-bottom: .0001pt; line-height: 12.1pt;"&gt;&lt;SPAN lang="EN-US" style="font-size: 8pt; font-family: Helvetica, sans-serif;"&gt;Hello,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0.0001pt; line-height: 12.1pt;"&gt;&lt;SPAN lang="EN-US" style="font-size: 8pt; font-family: Helvetica, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0.0001pt; line-height: 12.1pt;"&gt;&lt;SPAN lang="EN-US" style="font-size: 8pt; font-family: Helvetica, sans-serif;"&gt;In my previous reply, I assumed you want to consume Spatial Analyst Services from Esri and told you it was possible with out of the box digit or by sending REST request with "standard" HTTP Request (so without UI).&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0.0001pt; line-height: 12.1pt;"&gt;&lt;SPAN lang="EN-US" style="font-size: 8pt; font-family: Helvetica, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0.0001pt; line-height: 12.1pt;"&gt;&lt;SPAN lang="EN-US" style="font-size: 8pt; font-family: Helvetica, sans-serif;"&gt;RouteTask/RouteParameters are design to help JavaScript developer to consume Network Analysis/Route Services (coming from Esri or from your own services/ArcGIS Server), not spatial analyst services.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0.0001pt; line-height: 12.1pt;"&gt;&lt;SPAN lang="EN-US" style="font-size: 8pt; font-family: Helvetica, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0.0001pt; line-height: 12.1pt;"&gt;&lt;SPAN lang="EN-US" style="font-size: 8pt; font-family: Helvetica, sans-serif;"&gt;With Route Service from Esri, you can specify the time that will be spent at each stop by adding the attribute Attr_TravelTime to each of your input stops (as describe in the REST API required parameters "stops").&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0.0001pt; line-height: 12.1pt;"&gt;&lt;SPAN lang="EN-US" style="font-size: 8pt; font-family: Helvetica, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0.0001pt; line-height: 12.1pt;"&gt;&lt;SPAN style="font-size: 8pt; font-family: Helvetica, sans-serif;"&gt;Hope this helps&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0.0001pt; line-height: 12.1pt;"&gt;&lt;SPAN style="font-size: 8pt; font-family: Helvetica, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0.0001pt; line-height: 12.1pt;"&gt;&lt;SPAN style="font-size: 8pt; font-family: Helvetica, sans-serif;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Oct 2015 17:24:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-you-set-the-stop-time-on-routeparameters/m-p/226725#M21187</guid>
      <dc:creator>GuillaumeBARRAS</dc:creator>
      <dc:date>2015-10-27T17:24:02Z</dc:date>
    </item>
    <item>
      <title>Re: How can you set the stop time on RouteParameters?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-you-set-the-stop-time-on-routeparameters/m-p/226726#M21188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thats what I was looking for. Tho, We're not using the Esri service my co-worker just told me and the &lt;A href="http://resources.arcgis.com/en/help/arcgis-rest-api/#/Solve_Route/02r3000000q3000000/"&gt;own service&lt;/A&gt;​ does not seem to support that attribute.&lt;BR /&gt;I guess I'll need to work arround it somehow. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Oct 2015 08:28:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-you-set-the-stop-time-on-routeparameters/m-p/226726#M21188</guid>
      <dc:creator>SantoPfingsten</dc:creator>
      <dc:date>2015-10-28T08:28:54Z</dc:date>
    </item>
  </channel>
</rss>

