<?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: Analyze and draw response in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/analyze-and-draw-response/m-p/535992#M49972</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Tom&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;on the other hand I have the "output order" &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Foptimocamino.cloudingsoft.net%2Ftasks%2Fresponses%2Foutput_orders.js" rel="nofollow" target="_blank"&gt;http://optimocamino.cloudingsoft.net/tasks/responses/output_orders.js&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I understand that here indicates the order of the stops corresponding to each route / vehicle,&lt;STRONG&gt; but do not tell me the coordinates.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;as you could add this information to map?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you very much!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 May 2016 12:15:10 GMT</pubDate>
    <dc:creator>CloudingSoft</dc:creator>
    <dc:date>2016-05-25T12:15:10Z</dc:date>
    <item>
      <title>Analyze and draw response</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/analyze-and-draw-response/m-p/535984#M49964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;H4 style="margin-bottom: 0.2em; font-size: 12.8px; font-family: Arial, Helvetica, sans-serif; color: #4d4d4d;"&gt;hello I have 2 files with json response service Vehicle Routing Problem, but not analyze this information and draw on the map:&lt;/H4&gt;&lt;P&gt;&lt;/P&gt;&lt;H4 style="margin-bottom: 0.2em; font-size: 12.8px; font-family: Arial, Helvetica, sans-serif; color: #4d4d4d;"&gt;Request URL to return the output routes: &lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Foptimocamino.cloudingsoft.net%2Ftasks%2Fresponses%2Foutput_routes.js" rel="nofollow" style="font-weight: inherit; font-style: inherit; font-size: 12.8px; font-family: inherit; color: #287433;" target="_blank"&gt;http://optimocamino.cloudingsoft.net/tasks/responses/output_routes.js&lt;/A&gt;&lt;/H4&gt;&lt;H4 style="margin-bottom: 0.2em; font-size: 12.8px; font-family: Arial, Helvetica, sans-serif; color: #4d4d4d;"&gt;Request URL to return output orders: &lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Foptimocamino.cloudingsoft.net%2Ftasks%2Fresponses%2Foutput_orders.js" rel="nofollow" style="font-weight: inherit; font-style: inherit; font-size: 12.8px; font-family: inherit; color: #287433;" target="_blank"&gt;http://optimocamino.cloudingsoft.net/tasks/responses/output_orders.js&lt;/A&gt;&lt;/H4&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as it should draw a map from this data?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 May 2016 07:53:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/analyze-and-draw-response/m-p/535984#M49964</guid>
      <dc:creator>CloudingSoft</dc:creator>
      <dc:date>2016-05-16T07:53:22Z</dc:date>
    </item>
    <item>
      <title>Re: Analyze and draw response</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/analyze-and-draw-response/m-p/535985#M49965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;read this json file and loop through the features.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;var saved = dojo.fromJson(data&lt;J&gt;);&lt;/J&gt;&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;A href="https://developers.arcgis.com/javascript/3/jsapi/esri.geometry.jsonutils-amd.html#fromjson" title="https://developers.arcgis.com/javascript/3/jsapi/esri.geometry.jsonutils-amd.html#fromjson"&gt;esri/geometry/jsonUtils | API Reference | ArcGIS API for JavaScript&lt;/A&gt; &lt;/P&gt;&lt;P&gt;for each feature create a graphic &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;var graphic = new esri.Graphic(saved);&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;final push this graphic on a Graphic Layer.&lt;/P&gt;&lt;P&gt; &lt;STRONG&gt;GRAPHICLAYER.add(graphic); &lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 May 2016 09:08:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/analyze-and-draw-response/m-p/535985#M49965</guid>
      <dc:creator>PanagiotisPapadopoulos</dc:creator>
      <dc:date>2016-05-16T09:08:39Z</dc:date>
    </item>
    <item>
      <title>Re: Analyze and draw response</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/analyze-and-draw-response/m-p/535986#M49966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Fabien,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looking at your JSON data, I am not seeing anything resembling geometry.&amp;nbsp; I see statistics for each vehicle like travel times and distances, but not a polyline geometry that would show the route taken.&amp;nbsp; Without this geometry, you can't draw anything to the map.&amp;nbsp; It doesn't look like the JSAPI has a Vehicle Routing Problem module.&amp;nbsp; You must be doing these on the server.&amp;nbsp; Be sure to include the geometry on your output to be able to draw it from your results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 May 2016 15:59:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/analyze-and-draw-response/m-p/535986#M49966</guid>
      <dc:creator>TomSellsted</dc:creator>
      <dc:date>2016-05-16T15:59:50Z</dc:date>
    </item>
    <item>
      <title>Re: Analyze and draw response</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/analyze-and-draw-response/m-p/535987#M49967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi I did so but I still can show the way&lt;/P&gt;&lt;P&gt;&lt;A href="http://optimocamino.cloudingsoft.net/tasks/responses/routes.html" title="http://optimocamino.cloudingsoft.net/tasks/responses/routes.html"&gt;http://optimocamino.cloudingsoft.net/tasks/responses/routes.html&lt;/A&gt; &lt;/P&gt;&lt;P&gt;I could indicate please I'm wrong?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 May 2016 22:17:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/analyze-and-draw-response/m-p/535987#M49967</guid>
      <dc:creator>CloudingSoft</dc:creator>
      <dc:date>2016-05-21T22:17:12Z</dc:date>
    </item>
    <item>
      <title>Re: Analyze and draw response</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/analyze-and-draw-response/m-p/535988#M49968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please see the example mentioned above&lt;/P&gt;&lt;P&gt;&lt;A href="http://optimocamino.cloudingsoft.net/tasks/responses/routes.html" title="http://optimocamino.cloudingsoft.net/tasks/responses/routes.html"&gt;http://optimocamino.cloudingsoft.net/tasks/responses/routes.html&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 May 2016 22:21:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/analyze-and-draw-response/m-p/535988#M49968</guid>
      <dc:creator>CloudingSoft</dc:creator>
      <dc:date>2016-05-21T22:21:34Z</dc:date>
    </item>
    <item>
      <title>Re: Analyze and draw response</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/analyze-and-draw-response/m-p/535989#M49969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Fabien,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I modified your script to read the results and plot the route lines.&amp;nbsp; You were on the right track.&amp;nbsp; The results returned paths instead of a complete polyline that could be plotted.&amp;nbsp; I created a polyline from each path.&amp;nbsp; You can look at the results here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://gis.yakimawa.gov/demo/optimo.html" title="http://gis.yakimawa.gov/demo/optimo.html"&gt;http://gis.yakimawa.gov/demo/optimo.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tom &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 May 2016 18:16:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/analyze-and-draw-response/m-p/535989#M49969</guid>
      <dc:creator>TomSellsted</dc:creator>
      <dc:date>2016-05-23T18:16:17Z</dc:date>
    </item>
    <item>
      <title>Re: Analyze and draw response</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/analyze-and-draw-response/m-p/535990#M49970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;in the example it indicates that they are 3 vehicles, as could distinguish colors such routes and put a marker at each stop?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;on the other hand I have the "output order" &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Foptimocamino.cloudingsoft.net%2Ftasks%2Fresponses%2Foutput_orders.js" rel="nofollow" target="_blank"&gt;http://optimocamino.cloudingsoft.net/tasks/responses/output_orders.js&lt;/A&gt;&lt;/P&gt;&lt;P&gt;what use me this information?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you very much!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 May 2016 18:48:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/analyze-and-draw-response/m-p/535990#M49970</guid>
      <dc:creator>CloudingSoft</dc:creator>
      <dc:date>2016-05-23T18:48:20Z</dc:date>
    </item>
    <item>
      <title>Re: Analyze and draw response</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/analyze-and-draw-response/m-p/535991#M49971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Fabien,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would add a UniqueValueRenderer.&amp;nbsp; I have updated the previous sample to use a UniqueValueRenderer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://gis.yakimawa.gov/demo/optimo.html" title="http://gis.yakimawa.gov/demo/optimo.html"&gt;http://gis.yakimawa.gov/demo/optimo.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tom &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 May 2016 22:13:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/analyze-and-draw-response/m-p/535991#M49971</guid>
      <dc:creator>TomSellsted</dc:creator>
      <dc:date>2016-05-23T22:13:37Z</dc:date>
    </item>
    <item>
      <title>Re: Analyze and draw response</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/analyze-and-draw-response/m-p/535992#M49972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Tom&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;on the other hand I have the "output order" &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Foptimocamino.cloudingsoft.net%2Ftasks%2Fresponses%2Foutput_orders.js" rel="nofollow" target="_blank"&gt;http://optimocamino.cloudingsoft.net/tasks/responses/output_orders.js&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I understand that here indicates the order of the stops corresponding to each route / vehicle,&lt;STRONG&gt; but do not tell me the coordinates.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;as you could add this information to map?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you very much!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 May 2016 12:15:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/analyze-and-draw-response/m-p/535992#M49972</guid>
      <dc:creator>CloudingSoft</dc:creator>
      <dc:date>2016-05-25T12:15:10Z</dc:date>
    </item>
    <item>
      <title>Re: Analyze and draw response</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/analyze-and-draw-response/m-p/535993#M49973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Fabien,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Without the coordinates for each stop, they cannot be placed on the map.&amp;nbsp; I do see that the output orders have distances traveled and you could possibly split the polylines at each of those distances to approximate the stop location.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 May 2016 15:14:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/analyze-and-draw-response/m-p/535993#M49973</guid>
      <dc:creator>TomSellsted</dc:creator>
      <dc:date>2016-05-25T15:14:13Z</dc:date>
    </item>
    <item>
      <title>Re: Analyze and draw response</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/analyze-and-draw-response/m-p/535994#M49974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Tom&lt;/P&gt;&lt;P&gt;when sending solve the problem, it also sends the coordinates of each stop and deposit so they should match the path.&lt;/P&gt;&lt;P&gt;I have been helpful!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 May 2016 16:16:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/analyze-and-draw-response/m-p/535994#M49974</guid>
      <dc:creator>CloudingSoft</dc:creator>
      <dc:date>2016-05-25T16:16:38Z</dc:date>
    </item>
    <item>
      <title>Re: Analyze and draw response</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/analyze-and-draw-response/m-p/535995#M49975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Fabien,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your original request may send the stop coordinates, but the results don't contain the stop data.&amp;nbsp; The app you had posted only showed the results, not the request.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 May 2016 16:29:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/analyze-and-draw-response/m-p/535995#M49975</guid>
      <dc:creator>TomSellsted</dc:creator>
      <dc:date>2016-05-25T16:29:16Z</dc:date>
    </item>
    <item>
      <title>Re: Analyze and draw response</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/analyze-and-draw-response/m-p/535996#M49976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;exactly, I have that data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but right there I have another problem I just asked to give by termianda this question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I would like to see him and give me your opinion: &lt;/SPAN&gt;&lt;A class="jive-link-thread-small" data-containerid="2128" data-containertype="14" data-objectid="177550" data-objecttype="1" href="https://community.esri.com/thread/177550"&gt;https://community.esri.com/thread/177550&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 May 2016 16:37:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/analyze-and-draw-response/m-p/535996#M49976</guid>
      <dc:creator>CloudingSoft</dc:creator>
      <dc:date>2016-05-25T16:37:37Z</dc:date>
    </item>
  </channel>
</rss>

