<?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: Optimum Routing in ArcGIS Location Platform Developers Ques.</title>
    <link>https://community.esri.com/t5/arcgis-location-platform-developers-ques/optimum-routing/m-p/1401024#M85</link>
    <description>&lt;P&gt;Many thanks&lt;/P&gt;&lt;P&gt;Unforuntely, I find only those&lt;/P&gt;&lt;P&gt;ArcGIS Maps SDK for Kotlin&lt;BR /&gt;ArcGIS Maps SDK for Swift&lt;BR /&gt;ArcGIS Maps SDK for .NET&lt;BR /&gt;ArcGIS Maps SDK for Qt&lt;/P&gt;&lt;P&gt;I could not find Python in there.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 26 Mar 2024 17:22:58 GMT</pubDate>
    <dc:creator>QassimNasir</dc:creator>
    <dc:date>2024-03-26T17:22:58Z</dc:date>
    <item>
      <title>Optimum Routing</title>
      <link>https://community.esri.com/t5/arcgis-location-platform-developers-ques/optimum-routing/m-p/1401004#M83</link>
      <description>&lt;P&gt;Dears&lt;/P&gt;&lt;P&gt;I am seeking your assistance in directing me to a tutorial with examples if about how to call and use optimum routing for single or multiple deliveries using Python calls.&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2024 16:51:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-location-platform-developers-ques/optimum-routing/m-p/1401004#M83</guid>
      <dc:creator>QassimNasir</dc:creator>
      <dc:date>2024-03-26T16:51:49Z</dc:date>
    </item>
    <item>
      <title>Re: Optimum Routing</title>
      <link>https://community.esri.com/t5/arcgis-location-platform-developers-ques/optimum-routing/m-p/1401010#M84</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/779647"&gt;@QassimNasir&lt;/a&gt;Review the material on this page &lt;A href="https://developers.arcgis.com/documentation/mapping-apis-and-services/routing/optimized-routing/" target="_blank"&gt;https://developers.arcgis.com/documentation/mapping-apis-and-services/routing/optimized-routing/&lt;/A&gt; and select ArcGIS API for Python in the code switchers to see the Python code.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2024 16:58:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-location-platform-developers-ques/optimum-routing/m-p/1401010#M84</guid>
      <dc:creator>John-Foster</dc:creator>
      <dc:date>2024-03-26T16:58:15Z</dc:date>
    </item>
    <item>
      <title>Re: Optimum Routing</title>
      <link>https://community.esri.com/t5/arcgis-location-platform-developers-ques/optimum-routing/m-p/1401024#M85</link>
      <description>&lt;P&gt;Many thanks&lt;/P&gt;&lt;P&gt;Unforuntely, I find only those&lt;/P&gt;&lt;P&gt;ArcGIS Maps SDK for Kotlin&lt;BR /&gt;ArcGIS Maps SDK for Swift&lt;BR /&gt;ArcGIS Maps SDK for .NET&lt;BR /&gt;ArcGIS Maps SDK for Qt&lt;/P&gt;&lt;P&gt;I could not find Python in there.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2024 17:22:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-location-platform-developers-ques/optimum-routing/m-p/1401024#M85</guid>
      <dc:creator>QassimNasir</dc:creator>
      <dc:date>2024-03-26T17:22:58Z</dc:date>
    </item>
    <item>
      <title>Re: Optimum Routing</title>
      <link>https://community.esri.com/t5/arcgis-location-platform-developers-ques/optimum-routing/m-p/1401062#M86</link>
      <description>&lt;P&gt;See &lt;A href="https://developers.arcgis.com/documentation/mapping-apis-and-services/routing/optimized-routing/#job-find-an-optimized-route-for-a-truck-delivery" target="_blank"&gt;https://developers.arcgis.com/documentation/mapping-apis-and-services/routing/optimized-routing/#job-find-an-optimized-route-for-a-truck-delivery&lt;/A&gt; &lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Screenshot 2024-03-26 at 11.25.23 AM.png" style="width: 478px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/99129i37145F4BBEB35C7F/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2024-03-26 at 11.25.23 AM.png" alt="Screenshot 2024-03-26 at 11.25.23 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2024 18:26:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-location-platform-developers-ques/optimum-routing/m-p/1401062#M86</guid>
      <dc:creator>John-Foster</dc:creator>
      <dc:date>2024-03-26T18:26:14Z</dc:date>
    </item>
    <item>
      <title>Re: Optimum Routing</title>
      <link>https://community.esri.com/t5/arcgis-location-platform-developers-ques/optimum-routing/m-p/1401136#M87</link>
      <description>&lt;P&gt;Thank you so much. That code can be used for Enterprise as well?&lt;/P&gt;&lt;P&gt;# Connect to the routing service and call it&lt;BR /&gt;api_key = "YOUR_API_KEY"&lt;BR /&gt;portal = arcgis.GIS("&lt;A href="https://www.arcgis.com" target="_blank"&gt;https://www.arcgis.com&lt;/A&gt;", api_key=api_key)&lt;BR /&gt;route = arcgis.network.RouteLayer(&lt;BR /&gt;portal.properties.helperServices.route.url, gis=portal&lt;BR /&gt;)&lt;BR /&gt;result = route.solve(&lt;BR /&gt;stops=stops,&lt;BR /&gt;start_time="now",&lt;BR /&gt;find_best_sequence=True,&lt;BR /&gt;)&lt;BR /&gt;print_result(result)&lt;/P&gt;&lt;P&gt;if __name__ == "__main__":&lt;BR /&gt;main()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2024 20:14:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-location-platform-developers-ques/optimum-routing/m-p/1401136#M87</guid>
      <dc:creator>QassimNasir</dc:creator>
      <dc:date>2024-03-26T20:14:08Z</dc:date>
    </item>
    <item>
      <title>Re: Optimum Routing</title>
      <link>https://community.esri.com/t5/arcgis-location-platform-developers-ques/optimum-routing/m-p/1401237#M88</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/779647"&gt;@QassimNasir&lt;/a&gt; , the code I referred you to cannot be used with ArcGIS Enterprise because API keys are not supported. In that case you should use username and password when creating portal.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;portal = arcgis.GIS("&lt;A href="https://www.arcgis.com" target="_blank" rel="nofollow noopener noreferrer"&gt;https://www.arcgis.com&lt;/A&gt;", username="&amp;lt;USERNAME&amp;gt;", password="&amp;lt;PASSWORD&amp;gt;")&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2024 23:44:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-location-platform-developers-ques/optimum-routing/m-p/1401237#M88</guid>
      <dc:creator>John-Foster</dc:creator>
      <dc:date>2024-03-26T23:44:15Z</dc:date>
    </item>
  </channel>
</rss>

