<?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: ArcGIS Pro Calling Network Analysis Tools in Python in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/arcgis-pro-calling-network-analysis-tools-in/m-p/114013#M8939</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We do not have the NA license and can use the manual version of the NA tools in Pro. In AGOL, there is a credits charge for using the tools, which is fine, but there is a 1,000 record limit on these tools, so that's why I'm trying to focus on Python/ModelBuilder in Pro to iterate through the data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Feb 2018 14:44:21 GMT</pubDate>
    <dc:creator>DaveGrolling1</dc:creator>
    <dc:date>2018-02-06T14:44:21Z</dc:date>
    <item>
      <title>ArcGIS Pro Calling Network Analysis Tools in Python</title>
      <link>https://community.esri.com/t5/python-questions/arcgis-pro-calling-network-analysis-tools-in/m-p/114011#M8937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to use the Find Closest Facilities and/or the Make Service Area tool using Python inside of ArcGIS Pro. Since Pro establishes a connection to ArcGIS Online, a user is able to use these functions as 'Ready to Use' tools, as opposed to ArcMap where you were required to have the Network Analyst extension. I can manually use the tool on a sample set of data and produce results, but when I try to use them in Python or Modelbuilder, I have not had success.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to take a step back on this and pose a couple of general questions:&lt;/P&gt;&lt;P&gt;1) What do I need in my Python code to do this, so that I can run one of these tools inside a For loop?&lt;BR /&gt;2) How do I make a connection to my AGOL user account in Python and then import the tool (if necessary). Specifically, I've seen code such as:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN class=""&gt;gis&lt;/SPAN&gt; &lt;SPAN class=""&gt;=&lt;/SPAN&gt; &lt;SPAN class=""&gt;GIS&lt;/SPAN&gt;&lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fwww.arcgis.com" target="_blank"&gt;https://www.arcgis.com&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt; &lt;SPAN class=""&gt;"arcgis_python"&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt; &lt;SPAN class=""&gt;"P@ssword123"&lt;/SPAN&gt;&lt;SPAN class=""&gt;)
though, I am getting errors on invalid user name/passwords. Not sure if the URL is the issue either.
&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically, given that I can run the tool(s) manually, how do I run it iteratively/using Python?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 16:02:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcgis-pro-calling-network-analysis-tools-in/m-p/114011#M8937</guid>
      <dc:creator>DaveGrolling1</dc:creator>
      <dc:date>2021-12-12T16:02:03Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro Calling Network Analysis Tools in Python</title>
      <link>https://community.esri.com/t5/python-questions/arcgis-pro-calling-network-analysis-tools-in/m-p/114012#M8938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can't answer the last part of the question, but if you are licensed for the Network Analyst in ArcMap, you are in Pro automatically.&lt;/P&gt;&lt;P&gt;If you are trying to use NA functionality and don't have a license and want to use AGOL, isn't there some 'charge' for using them?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Feb 2018 14:38:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcgis-pro-calling-network-analysis-tools-in/m-p/114012#M8938</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2018-02-06T14:38:55Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro Calling Network Analysis Tools in Python</title>
      <link>https://community.esri.com/t5/python-questions/arcgis-pro-calling-network-analysis-tools-in/m-p/114013#M8939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We do not have the NA license and can use the manual version of the NA tools in Pro. In AGOL, there is a credits charge for using the tools, which is fine, but there is a 1,000 record limit on these tools, so that's why I'm trying to focus on Python/ModelBuilder in Pro to iterate through the data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Feb 2018 14:44:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcgis-pro-calling-network-analysis-tools-in/m-p/114013#M8939</guid>
      <dc:creator>DaveGrolling1</dc:creator>
      <dc:date>2018-02-06T14:44:21Z</dc:date>
    </item>
  </channel>
</rss>

