<?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: Network Analysis Service will not Solve Route in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/network-analysis-service-will-not-solve-route/m-p/411168#M37873</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;John,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; The first issue I see is the URL to the route service:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;routeTask = new RouteTask("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://masgis2.asu.edu:6080/arcgis/rest/services/jpapageo/Road_Network_Maricopa_Co_v4/" rel="nofollow" target="_blank"&gt;http://masgis2.asu.edu:6080/arcgis/rest/services/jpapageo/Road_Network_Maricopa_Co_v4/&lt;/A&gt;&lt;STRONG style="color: #e23d39;"&gt;MapServer/&lt;/STRONG&gt;NAServer/Route");&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;should be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;routeTask = new RouteTask("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://masgis2.asu.edu:6080/arcgis/rest/services/jpapageo/Road_Network_Maricopa_Co_v4/NAServer/Route" rel="nofollow" target="_blank"&gt;http://masgis2.asu.edu:6080/arcgis/rest/services/jpapageo/Road_Network_Maricopa_Co_v4/NAServer/Route&lt;/A&gt;&lt;SPAN&gt;");&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Robert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 19 Jul 2014 12:54:32 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2014-07-19T12:54:32Z</dc:date>
    <item>
      <title>Network Analysis Service will not Solve Route</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/network-analysis-service-will-not-solve-route/m-p/411167#M37872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created a network analysis service of the Phoenix Metro area that works in ArcMap, the route solves.&amp;nbsp; However, when I insert the NA Service REST URL in a basic javascript api, the route will not solve.&amp;nbsp; Any ideas as to why this may be?&amp;nbsp; The data is in NAD83 Arizona State Plane Central Intl Feet.&amp;nbsp; I followed the steps here &lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#/Tutorial_Publishing_a_network_analysis_service/0154000002pn000000/" title="http://resources.arcgis.com/en/help/main/10.1/index.html#/Tutorial_Publishing_a_network_analysis_service/0154000002pn000000/"&gt;ArcGIS Help 10.1&lt;/A&gt; to create the service, and used the code sample at the end to test it.&amp;nbsp; I also used the code here &lt;A href="https://developers.arcgis.com/javascript/jssamples/routetask_find_route.html" title="https://developers.arcgis.com/javascript/jssamples/routetask_find_route.html"&gt;Find a route | ArcGIS API for JavaScript&lt;/A&gt; to test as well.&amp;nbsp; Attached is the code with the REST service URL I used, the map zooms to the area of interest.&amp;nbsp; The errors that appear in the javascript console in Chrome do not make sense me (I have attached them as well).&amp;nbsp; Any help is appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Jul 2014 08:24:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/network-analysis-service-will-not-solve-route/m-p/411167#M37872</guid>
      <dc:creator>JohnPapageorgiou</dc:creator>
      <dc:date>2014-07-19T08:24:26Z</dc:date>
    </item>
    <item>
      <title>Re: Network Analysis Service will not Solve Route</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/network-analysis-service-will-not-solve-route/m-p/411168#M37873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;John,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; The first issue I see is the URL to the route service:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;routeTask = new RouteTask("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://masgis2.asu.edu:6080/arcgis/rest/services/jpapageo/Road_Network_Maricopa_Co_v4/" rel="nofollow" target="_blank"&gt;http://masgis2.asu.edu:6080/arcgis/rest/services/jpapageo/Road_Network_Maricopa_Co_v4/&lt;/A&gt;&lt;STRONG style="color: #e23d39;"&gt;MapServer/&lt;/STRONG&gt;NAServer/Route");&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;should be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;routeTask = new RouteTask("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://masgis2.asu.edu:6080/arcgis/rest/services/jpapageo/Road_Network_Maricopa_Co_v4/NAServer/Route" rel="nofollow" target="_blank"&gt;http://masgis2.asu.edu:6080/arcgis/rest/services/jpapageo/Road_Network_Maricopa_Co_v4/NAServer/Route&lt;/A&gt;&lt;SPAN&gt;");&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Robert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Jul 2014 12:54:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/network-analysis-service-will-not-solve-route/m-p/411168#M37873</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2014-07-19T12:54:32Z</dc:date>
    </item>
    <item>
      <title>Re: Network Analysis Service will not Solve Route</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/network-analysis-service-will-not-solve-route/m-p/411169#M37874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THANK YOU!&amp;nbsp; This has been a headache for days.&amp;nbsp; The instructions gave me the impression that all I needed to do&amp;nbsp; was copy and paste the REST URL, apparently "MapServer" needs to be eliminated and "Route" needs to be added at the end.&amp;nbsp; Hopefully that can be added to the instructions somehow, or maybe it was written somewhere and I missed it.&amp;nbsp; Either way thanks, it works now, the routes it gives are a little odd, but nevertheless it does draw one from point A to point B, better than before.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Jul 2014 18:10:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/network-analysis-service-will-not-solve-route/m-p/411169#M37874</guid>
      <dc:creator>JohnPapageorgiou</dc:creator>
      <dc:date>2014-07-19T18:10:38Z</dc:date>
    </item>
    <item>
      <title>Re: Network Analysis Service will not Solve Route</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/network-analysis-service-will-not-solve-route/m-p/411170#M37875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;John,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Glad I could help. Do you mind marking my post as the "Correct Answer"?&lt;/P&gt;&lt;P&gt;You can refer to this document if you need to: &lt;A href="https://community.esri.com/docs/DOC-1693"&gt;How to help in the GeoNet Community&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Robert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Jul 2014 21:05:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/network-analysis-service-will-not-solve-route/m-p/411170#M37875</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2014-07-19T21:05:52Z</dc:date>
    </item>
  </channel>
</rss>

