<?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: Route Service &amp;quot;Solve&amp;quot; task for European Data in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/route-service-quot-solve-quot-task-for-european/m-p/61289#M5395</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.esri.com/migrated-users/36951"&gt;Noah Sager&lt;/A&gt;‌, i'm using the code that was listed on the website example above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://route.arcgis.com/arcgis/rest/services/World/Route/NAServer/Route_World/solve?&amp;lt;PARAMETERS&amp;gt;" title="https://route.arcgis.com/arcgis/rest/services/World/Route/NAServer/Route_World/solve?&amp;lt;PARAMETERS&amp;gt;"&gt;https://route.arcgis.com/arcgis/rest/services/World/Route/NAServer/Route_World/solve?&amp;lt;PARAMETERS&amp;gt;&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I''ve tested the full example for North America and it works ok, obviously adding in a real token at the end.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;https://route.arcgis.com/arcgis/rest/services/World/Route/NAServer/Route_World/solve? stops=%7B%22features%22:%5B%7B%22geometry%22:%7B%22x%22:-122.473948,%22y%22:37.7436%7D, %22attributes%22:%7B%22Name%22:%22Office%22, %22Attr_TravelTime%22:0%7D%7D,%7B%22geometry%22:%7B%22x%22:-122.439613,%22y%22:37.746144%7D, %22attributes%22:%7B%22Name%22:%22Store%201%22, %22Attr_TravelTime%22:25%7D%7D,%7B%22geometry%22:%7B%22x%22:-122.488254,%22y%22:37.754092%7D, %22attributes%22:%7B%22Name%22:%22Store%202%22, %22Attr_TravelTime%22:20%7D%7D,%7B%22geometry%22:%7B%22x%22:-122.44915,%22y%22:37.731837%7D, %22attributes%22:%7B%22Name%22:%22Store%203%22, %22Attr_TravelTime%22:30%7D%7D,%7B%22geometry%22:%7B%22x%22:-122.46441,%22y%22:37.774756%7D, %22attributes%22:%7B%22Name%22:%22Store%204%22, %22Attr_TravelTime%22:25%7D%7D,%7B%22geometry%22:%7B%22x%22:-122.426896,%22y%22:37.769352%7D, %22attributes%22:%7B%22Name%22:%22Store%205%22, %22Attr_TravelTime%22:20%7D%7D,%7B%22geometry%22:%7B%22x%22:-122.473948,%22y%22:37.7436%7D, %22attributes%22:%7B%22Name%22:%22Office%22,%22Attr_TravelTime%22:0%7D%7D%5D%7D&amp;amp;findBestSequence=true&amp;amp; preserverFirstStop=true&amp;amp;preserveLastStop=true&amp;amp;returnStops=true&amp;amp;returnDirections=true &amp;amp;returnRoutes=true&amp;amp;f=json&amp;amp;token=&amp;lt;yourToken&amp;gt;&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;I have then taken the above example and added in my own Geometry, for UK points (again, with a real token at the end).&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;A class="unlinked"&gt;https://route.arcgis.com/arcgis/rest/services/World/Route/NAServer/Route_World/solve?stops=%7B%22features%22:%5B%7B%22geometry%22:%7B%22x%22:-478874.691532653,%22y%22:7518246.362416124%7D,%22attributes%22:%7B%22Name%22:%22Council%20HQ%22,%22Attr_TravelTime%22:0%7D%7D,%7B%22geometry%22:%7B%22x%22:-488434.15778981743,%22y%22:7519078.501483244%7D,%22attributes%22:%7B%22Name%22:%22Barrhead%20Office%22,%22Attr_TravelTime%22:25%7D%7D%5D%7D&amp;amp;findBestSequence=true&amp;amp;preserverFirstStop=true&amp;amp;preserveLastStop=true&amp;amp;returnStops=true&amp;amp;returnDirections=true&amp;amp;returnRoutes=true&amp;amp;f=pjson&amp;amp;token=&amp;lt;yourToken&amp;gt;&lt;/A&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;But i get the following error message:&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;PRE style="color: #000000;"&gt;{  "error": {   "code": 400,   "extendedCode": -2147200939,   "message": "Unable to complete operation.",   "details": [    "The input points are not within the data coverage area."   ]  } }&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;So i assume that the Rest Service i'm pointing to only covers NA data, hence why i wondered if there is a Rest url i should be using for European data.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;Either that or my new input points are wrong?&amp;nbsp; I'm projecting my&amp;nbsp;eastling and northing data to&amp;nbsp;102100 Web Mercator.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Nov 2019 09:45:36 GMT</pubDate>
    <dc:creator>ScottWilson2</dc:creator>
    <dc:date>2019-11-21T09:45:36Z</dc:date>
    <item>
      <title>Route Service "Solve" task for European Data</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/route-service-quot-solve-quot-task-for-european/m-p/61287#M5393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, i'm using the following Route Service example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/rest/network/api-reference/route-synchronous-service.htm" title="https://developers.arcgis.com/rest/network/api-reference/route-synchronous-service.htm"&gt;Route service with synchronous execution—ArcGIS REST API: Directions and Routing Services | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've managed to get the example to work for US data pointing to this North America service:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://route.arcgis.com/arcgis/rest/services/World/Route/NAServer/Route_World/solve" title="https://route.arcgis.com/arcgis/rest/services/World/Route/NAServer/Route_World/solve"&gt;https://route.arcgis.com/arcgis/rest/services/World/Route/NAServer/Route_World/solve&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm now trying to use UK geometry, but obviously this is failing for North America data!&amp;nbsp;&lt;EM&gt;The input points are not within the data coverage area.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the corresponding url for the European Route Service so that i can perform a solve query?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, i'm using a debLabs token to get to the NAServer, will this work for European data too, or do i need to generate a different token?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Scott&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Nov 2019 16:44:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/route-service-quot-solve-quot-task-for-european/m-p/61287#M5393</guid>
      <dc:creator>ScottWilson2</dc:creator>
      <dc:date>2019-11-20T16:44:10Z</dc:date>
    </item>
    <item>
      <title>Re: Route Service "Solve" task for European Data</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/route-service-quot-solve-quot-task-for-european/m-p/61288#M5394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The service is applicable for all the countries that are listed here:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/rest/network/api-reference/network-coverage.htm" title="https://developers.arcgis.com/rest/network/api-reference/network-coverage.htm"&gt;Network analysis coverage—ArcGIS REST API: Directions and Routing Services | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So it should work fine. Could you share your code that shows what is failing?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Nov 2019 19:34:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/route-service-quot-solve-quot-task-for-european/m-p/61288#M5394</guid>
      <dc:creator>Noah-Sager</dc:creator>
      <dc:date>2019-11-20T19:34:13Z</dc:date>
    </item>
    <item>
      <title>Re: Route Service "Solve" task for European Data</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/route-service-quot-solve-quot-task-for-european/m-p/61289#M5395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.esri.com/migrated-users/36951"&gt;Noah Sager&lt;/A&gt;‌, i'm using the code that was listed on the website example above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://route.arcgis.com/arcgis/rest/services/World/Route/NAServer/Route_World/solve?&amp;lt;PARAMETERS&amp;gt;" title="https://route.arcgis.com/arcgis/rest/services/World/Route/NAServer/Route_World/solve?&amp;lt;PARAMETERS&amp;gt;"&gt;https://route.arcgis.com/arcgis/rest/services/World/Route/NAServer/Route_World/solve?&amp;lt;PARAMETERS&amp;gt;&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I''ve tested the full example for North America and it works ok, obviously adding in a real token at the end.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;https://route.arcgis.com/arcgis/rest/services/World/Route/NAServer/Route_World/solve? stops=%7B%22features%22:%5B%7B%22geometry%22:%7B%22x%22:-122.473948,%22y%22:37.7436%7D, %22attributes%22:%7B%22Name%22:%22Office%22, %22Attr_TravelTime%22:0%7D%7D,%7B%22geometry%22:%7B%22x%22:-122.439613,%22y%22:37.746144%7D, %22attributes%22:%7B%22Name%22:%22Store%201%22, %22Attr_TravelTime%22:25%7D%7D,%7B%22geometry%22:%7B%22x%22:-122.488254,%22y%22:37.754092%7D, %22attributes%22:%7B%22Name%22:%22Store%202%22, %22Attr_TravelTime%22:20%7D%7D,%7B%22geometry%22:%7B%22x%22:-122.44915,%22y%22:37.731837%7D, %22attributes%22:%7B%22Name%22:%22Store%203%22, %22Attr_TravelTime%22:30%7D%7D,%7B%22geometry%22:%7B%22x%22:-122.46441,%22y%22:37.774756%7D, %22attributes%22:%7B%22Name%22:%22Store%204%22, %22Attr_TravelTime%22:25%7D%7D,%7B%22geometry%22:%7B%22x%22:-122.426896,%22y%22:37.769352%7D, %22attributes%22:%7B%22Name%22:%22Store%205%22, %22Attr_TravelTime%22:20%7D%7D,%7B%22geometry%22:%7B%22x%22:-122.473948,%22y%22:37.7436%7D, %22attributes%22:%7B%22Name%22:%22Office%22,%22Attr_TravelTime%22:0%7D%7D%5D%7D&amp;amp;findBestSequence=true&amp;amp; preserverFirstStop=true&amp;amp;preserveLastStop=true&amp;amp;returnStops=true&amp;amp;returnDirections=true &amp;amp;returnRoutes=true&amp;amp;f=json&amp;amp;token=&amp;lt;yourToken&amp;gt;&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;I have then taken the above example and added in my own Geometry, for UK points (again, with a real token at the end).&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;A class="unlinked"&gt;https://route.arcgis.com/arcgis/rest/services/World/Route/NAServer/Route_World/solve?stops=%7B%22features%22:%5B%7B%22geometry%22:%7B%22x%22:-478874.691532653,%22y%22:7518246.362416124%7D,%22attributes%22:%7B%22Name%22:%22Council%20HQ%22,%22Attr_TravelTime%22:0%7D%7D,%7B%22geometry%22:%7B%22x%22:-488434.15778981743,%22y%22:7519078.501483244%7D,%22attributes%22:%7B%22Name%22:%22Barrhead%20Office%22,%22Attr_TravelTime%22:25%7D%7D%5D%7D&amp;amp;findBestSequence=true&amp;amp;preserverFirstStop=true&amp;amp;preserveLastStop=true&amp;amp;returnStops=true&amp;amp;returnDirections=true&amp;amp;returnRoutes=true&amp;amp;f=pjson&amp;amp;token=&amp;lt;yourToken&amp;gt;&lt;/A&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;But i get the following error message:&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;PRE style="color: #000000;"&gt;{  "error": {   "code": 400,   "extendedCode": -2147200939,   "message": "Unable to complete operation.",   "details": [    "The input points are not within the data coverage area."   ]  } }&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;So i assume that the Rest Service i'm pointing to only covers NA data, hence why i wondered if there is a Rest url i should be using for European data.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;Either that or my new input points are wrong?&amp;nbsp; I'm projecting my&amp;nbsp;eastling and northing data to&amp;nbsp;102100 Web Mercator.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2019 09:45:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/route-service-quot-solve-quot-task-for-european/m-p/61289#M5395</guid>
      <dc:creator>ScottWilson2</dc:creator>
      <dc:date>2019-11-21T09:45:36Z</dc:date>
    </item>
    <item>
      <title>Re: Route Service "Solve" task for European Data</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/route-service-quot-solve-quot-task-for-european/m-p/61290#M5396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, I'm not sure what the issue is with the request, but here is a working sample that uses the RouteTask and the same service.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"https://route.arcgis.com/arcgis/rest/services/World/Route/NAServer/Route_World"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UK RouteTask Sample:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://codepen.io/noash/pen/jOOJgeW" title="https://codepen.io/noash/pen/jOOJgeW"&gt;https://codepen.io/noash/pen/jOOJgeW&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2019 19:47:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/route-service-quot-solve-quot-task-for-european/m-p/61290#M5396</guid>
      <dc:creator>Noah-Sager</dc:creator>
      <dc:date>2019-11-21T19:47:16Z</dc:date>
    </item>
  </channel>
</rss>

