<?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: Arcpy Overlay Layers &amp;quot;Unable to get geoanalytics URL.&amp;quot; Error in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/arcpy-overlay-layers-quot-unable-to-get/m-p/728720#M56497</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/51270"&gt;Sarah Ambrose&lt;/A&gt;‌, sorry for the late reply. I checked and do not have an ArcGIS Enterprise deployment set up&amp;nbsp;at all. I will see if I can get permissions to set this all up with a GeoAnalytics server. I must have overlooked&amp;nbsp;these steps&amp;nbsp;when I started using the GeoAnalytics server tools, thank you for the help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Aug 2020 16:36:05 GMT</pubDate>
    <dc:creator>MatthewPoppleton</dc:creator>
    <dc:date>2020-08-12T16:36:05Z</dc:date>
    <item>
      <title>Arcpy Overlay Layers "Unable to get geoanalytics URL." Error</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-overlay-layers-quot-unable-to-get/m-p/728716#M56493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am currently building a simulation using arcpy in ArcGIS Pro to analyze randomly generated points that intersect with preset line transects. The &lt;SPAN style="font-family: 'andale mono', monospace;"&gt;arcpy.CreateRandomPoints_management()&lt;/SPAN&gt; function works as expected, but when&amp;nbsp;I&amp;nbsp; run the&lt;SPAN style="font-family: 'andale mono', monospace;"&gt;&amp;nbsp;arcpy.geoanalytics.OverlayLayers()&lt;/SPAN&gt; function in python, the function fails and I get the error "&lt;SPAN style="font-family: 'andale mono', monospace;"&gt;Unable to get geoanalytics URL&lt;/SPAN&gt;". However, when I run overlay layers using the geoprocessing toolbox using the exact same parameters I do not get any errors. I tried to google this error but have not found any related information. I have provided the code below:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;import arcpy

randomName = "&lt;SPAN style="font-family: 'andale mono', monospace;"&gt;pythonRandomPoints_test&lt;/SPAN&gt;"
overlayName = "layer_test"
number_of_points_or_field = 60000

arcpy.CreateRandomPoints_management("C:/Users/User/Documents/ArcGIS/Projects/Default.gdb",
&amp;nbsp;&amp;nbsp;&amp;nbsp;randomName,
&amp;nbsp;&amp;nbsp;&amp;nbsp;"shp_file",
&amp;nbsp;&amp;nbsp;&amp;nbsp;"",
&amp;nbsp;&amp;nbsp;&amp;nbsp;number_of_points_or_field,
&amp;nbsp;&amp;nbsp;&amp;nbsp;"",
 &amp;nbsp;&amp;nbsp;"POINT")

try:
&amp;nbsp;&amp;nbsp;&amp;nbsp;arcpy.geoanalytics.OverlayLayers('transects_t',
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;randomName,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;overlayName,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;"INTERSECT")
except arcpy.ExecuteError:
&amp;nbsp;&amp;nbsp;&amp;nbsp;print(arcpy.GetMessages())

#Start Time: Wednesday, July 29, 2020 14:28:09
#Running script Overlay Layers...
#Unable to get geoanalytics URL.
#Completed script Overlay Layers...
#Failed to execute (OverlayLayers).
#Failed at Wednesday, July 29, 2020 14:28:10 (Elapsed Time: 0.87 seconds)&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 16:51:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-overlay-layers-quot-unable-to-get/m-p/728716#M56493</guid>
      <dc:creator>MatthewPoppleton</dc:creator>
      <dc:date>2021-12-12T16:51:25Z</dc:date>
    </item>
    <item>
      <title>Re: Arcpy Overlay Layers "Unable to get geoanalytics URL." Error</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-overlay-layers-quot-unable-to-get/m-p/728717#M56494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try setting your workspace in your script explicitly so that the paths to your inputs and outputs are known&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jul 2020 19:32:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-overlay-layers-quot-unable-to-get/m-p/728717#M56494</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2020-07-29T19:32:56Z</dc:date>
    </item>
    <item>
      <title>Re: Arcpy Overlay Layers "Unable to get geoanalytics URL." Error</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-overlay-layers-quot-unable-to-get/m-p/728718#M56495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dan, thanks for the response. I&amp;nbsp;gave this a try and&amp;nbsp;declared my workspace directly using &lt;SPAN style="font-family: 'andale mono', monospace;"&gt;arcpy.env.workspace.&lt;/SPAN&gt;&amp;nbsp;Unfortunately I am still met with the same error.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jul 2020 20:24:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-overlay-layers-quot-unable-to-get/m-p/728718#M56495</guid>
      <dc:creator>MatthewPoppleton</dc:creator>
      <dc:date>2020-07-29T20:24:40Z</dc:date>
    </item>
    <item>
      <title>Re: Arcpy Overlay Layers "Unable to get geoanalytics URL." Error</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-overlay-layers-quot-unable-to-get/m-p/728719#M56496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey &lt;A href="https://community.esri.com/migrated-users/415688"&gt;Matthew Poppleton&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It looks like you are using the &lt;A href="https://pro.arcgis.com/en/pro-app/tool-reference/big-data-analytics/an-overview-of-the-big-data-analytics-toolbox.htm"&gt;GeoAnalytics Server&lt;/A&gt; toolbox. Can you confirm you have an ArcGIS Enterprise deployment set as your active portal and that deployment has a GeoAnalytics Server?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sarah&lt;/P&gt;&lt;P&gt;GeoAnalytics Product Engineer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jul 2020 22:36:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-overlay-layers-quot-unable-to-get/m-p/728719#M56496</guid>
      <dc:creator>SarahAmbrose</dc:creator>
      <dc:date>2020-07-29T22:36:47Z</dc:date>
    </item>
    <item>
      <title>Re: Arcpy Overlay Layers "Unable to get geoanalytics URL." Error</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-overlay-layers-quot-unable-to-get/m-p/728720#M56497</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/51270"&gt;Sarah Ambrose&lt;/A&gt;‌, sorry for the late reply. I checked and do not have an ArcGIS Enterprise deployment set up&amp;nbsp;at all. I will see if I can get permissions to set this all up with a GeoAnalytics server. I must have overlooked&amp;nbsp;these steps&amp;nbsp;when I started using the GeoAnalytics server tools, thank you for the help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2020 16:36:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-overlay-layers-quot-unable-to-get/m-p/728720#M56497</guid>
      <dc:creator>MatthewPoppleton</dc:creator>
      <dc:date>2020-08-12T16:36:05Z</dc:date>
    </item>
  </channel>
</rss>

