<?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: Is the &amp;quot;Summarize Elevation&amp;quot; geoprocessing tool actually implemented in python? in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/is-the-quot-summarize-elevation-quot-geoprocessing/m-p/1399102#M80749</link>
    <description>&lt;P&gt;RESOLVED:&lt;/P&gt;&lt;P&gt;I did not realize that this geoprocessing tool runs on Esri's servers and is thus asynchronous. I need to wait until Result.status == 4.&lt;/P&gt;</description>
    <pubDate>Thu, 21 Mar 2024 16:30:16 GMT</pubDate>
    <dc:creator>DanielRubianes</dc:creator>
    <dc:date>2024-03-21T16:30:16Z</dc:date>
    <item>
      <title>Is the "Summarize Elevation" geoprocessing tool actually implemented in python?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/is-the-quot-summarize-elevation-quot-geoprocessing/m-p/1399013#M80742</link>
      <description>&lt;P&gt;I am attempting to write a python script that utilizes the "Summarize Elevation" geoprocessing tool.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;result: arcpy.Result = arcpy.agolservices.SummarizeElevation(&amp;lt;feature_class&amp;gt;)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This function call does not&amp;nbsp; create an output summary in the default GDB where the geoprocessing tool would.&lt;/P&gt;&lt;P&gt;&amp;nbsp;After pouring through documentation I found that the function call returns an "arcpy.Result" object which has a function called "getOutput(index)". This is the result of that function call:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;Traceback (most recent call last):
  File "&amp;lt;python tool path&amp;gt;", line 214, in execute
    print(result.getOutput(0))
  File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\arcobjects\arcobjects.py", line 2465, in getOutput
    return convertArcObjectToPythonObject(self._arc_object.GetOutput(*gp_fixargs(args)))
IndexError: ResultObject: Error in getting output&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also tried to run "arcpy.management.PackageResult" on this Result object to get some sort of output, but this does not support the "Ready to Use" toolbox&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;ERROR 001378: Tool Summarize Elevation is unsupported on server
Failed to execute (PackageResult).&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this function actually implemented in python? All I need is the elevation value for each point feature in a feature class I am working in. Thank you in advance for any help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Mar 2024 13:56:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/is-the-quot-summarize-elevation-quot-geoprocessing/m-p/1399013#M80742</guid>
      <dc:creator>DanielRubianes</dc:creator>
      <dc:date>2024-03-21T13:56:40Z</dc:date>
    </item>
    <item>
      <title>Re: Is the "Summarize Elevation" geoprocessing tool actually implemented in python?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/is-the-quot-summarize-elevation-quot-geoprocessing/m-p/1399102#M80749</link>
      <description>&lt;P&gt;RESOLVED:&lt;/P&gt;&lt;P&gt;I did not realize that this geoprocessing tool runs on Esri's servers and is thus asynchronous. I need to wait until Result.status == 4.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Mar 2024 16:30:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/is-the-quot-summarize-elevation-quot-geoprocessing/m-p/1399102#M80749</guid>
      <dc:creator>DanielRubianes</dc:creator>
      <dc:date>2024-03-21T16:30:16Z</dc:date>
    </item>
  </channel>
</rss>

