<?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: Extract Value to Point Python error ** Too Many Equations ** in ArcGIS Spatial Analyst Questions</title>
    <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/extract-value-to-point-python-error-too-many/m-p/601643#M8753</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;OK. Thanks Geordie, your advice fixed the problem for ExtractValuesToPoints.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Using ExtractValuesToPoints with the "ALL" option on my single-layer raster (it's just a DEM) caused the error message "** Too Many Equations **" to occur. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Setting the "add_attributes" option to "VALUE_ONLY" fixed the problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Also running the ExtractMultiValuesToPoints tool works, but is not necessary for my situation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I believe this is a bug on ESRI's part though. Setting the "ALL" option for "add_attributes" shouldn't cause an error if there is only one attribute. The tool should just run and calculate the one attribute. "ALL" should mean all the attributes for a raster, whether there is one attribute or several. There is no need for an error message when the tool encounters only one attribute. Using the "ALL" option saves reprogramming scripts if a different raster with several values is used at a later point.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Sep 2012 17:56:16 GMT</pubDate>
    <dc:creator>BradS</dc:creator>
    <dc:date>2012-09-26T17:56:16Z</dc:date>
    <item>
      <title>Extract Value to Point Python error ** Too Many Equations **</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/extract-value-to-point-python-error-too-many/m-p/601640#M8750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;first the basics:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Raster format: GRID&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Point data set format: file geodatabase&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;software: ArcGIS for Desktop 10x sp3 (standard edition)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Python IDE: WING 4.1.2&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am looping through a list of tuples to extract several different raster's values to point. each tuple in the list contains the point data set used for extraction, the raster and the output point data set, passed by ref. One of the output point data sets is then used in an additional Extract value to Point geoprocess (this is done to have both the binary and floating point values side by side). It is during this process that my python window prints out about 100,00 lines of &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;** Too Many Equations **&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;these lines are then printed prior to the GetMessages() method called post extract value to point...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the process then finishes successfully...Has any one seen this before?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
rasterArray = [(bPixelPts,wetnessGrid,eSFextract),(bPixelPts, standingWaterGrid, fSFextractSW),(bPixelPts, multiDateGrid, mWetChange),(bPixelPts, gbWetnessGrid, qSFextract),(bPixelPts, gbMultiDateGrid, nWetchange)]
for item in rasterArray:
&amp;nbsp;&amp;nbsp;&amp;nbsp; sa.ExtractValuesToPoints(str(item[0]),str(item[1]),str(item[2]),"NONE","ALL")
&amp;nbsp;&amp;nbsp;&amp;nbsp; print arcpy.GetMessages()
&amp;nbsp;&amp;nbsp;&amp;nbsp; if (item[2].find("Q_SFextract_Wet_a"))!=-1:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print "Found Q_SFextract_Wet_a..."
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.AddField_management(str(item[2]),"WETBINARY","Long", "", "", "", "", "NULLABLE", "NON_REQUIRED", "")
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.CalculateField_management((str(item[2])),"WETBINARY","!RASTERVALU!","PYTHON_9.3","#")
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.DeleteField_management(str(item[2]),"RASTERVALU")
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sa.ExtractValuesToPoints(str(item[2]),gbFloatGrid,qSFextractBandF,"NONE","ALL") ##WHERE IS PRINTS ERROR
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print arcpy.GetMessages()
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jan 2012 22:20:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/extract-value-to-point-python-error-too-many/m-p/601640#M8750</guid>
      <dc:creator>DanielSmith</dc:creator>
      <dc:date>2012-01-04T22:20:35Z</dc:date>
    </item>
    <item>
      <title>Re: Extract Value to Point Python error ** Too Many Equations **</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/extract-value-to-point-python-error-too-many/m-p/601641#M8751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have also run some python code and am getting the same message printed to my display console in the Eclipse environment: ** Too Many Equations **&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am running ArcGIS 10 SP4, so this problem has not been resolved yet.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm getting the error message after running the tool "ExtractValuesToPoints" and also "ZonalStatisticsAsTable".&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;My raster is large, but does this explain the error message received? But to add to the complication, the attribute data seems to be populating the feature class or table. However, this is very disconcerting - can I trust the results of these tools??&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2012 14:31:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/extract-value-to-point-python-error-too-many/m-p/601641#M8751</guid>
      <dc:creator>BradS</dc:creator>
      <dc:date>2012-05-23T14:31:28Z</dc:date>
    </item>
    <item>
      <title>Re: Extract Value to Point Python error ** Too Many Equations **</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/extract-value-to-point-python-error-too-many/m-p/601642#M8752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It is possible that you are inputting a multilayer raster and using the "ALL" option. Use the tool ExtractMultiValuesToPoints&amp;nbsp; instead of ExtractValuesToPoints and this should solve your problem.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jul 2012 16:28:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/extract-value-to-point-python-error-too-many/m-p/601642#M8752</guid>
      <dc:creator>GeordieHobart</dc:creator>
      <dc:date>2012-07-04T16:28:56Z</dc:date>
    </item>
    <item>
      <title>Re: Extract Value to Point Python error ** Too Many Equations **</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/extract-value-to-point-python-error-too-many/m-p/601643#M8753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;OK. Thanks Geordie, your advice fixed the problem for ExtractValuesToPoints.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Using ExtractValuesToPoints with the "ALL" option on my single-layer raster (it's just a DEM) caused the error message "** Too Many Equations **" to occur. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Setting the "add_attributes" option to "VALUE_ONLY" fixed the problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Also running the ExtractMultiValuesToPoints tool works, but is not necessary for my situation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I believe this is a bug on ESRI's part though. Setting the "ALL" option for "add_attributes" shouldn't cause an error if there is only one attribute. The tool should just run and calculate the one attribute. "ALL" should mean all the attributes for a raster, whether there is one attribute or several. There is no need for an error message when the tool encounters only one attribute. Using the "ALL" option saves reprogramming scripts if a different raster with several values is used at a later point.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Sep 2012 17:56:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/extract-value-to-point-python-error-too-many/m-p/601643#M8753</guid>
      <dc:creator>BradS</dc:creator>
      <dc:date>2012-09-26T17:56:16Z</dc:date>
    </item>
  </channel>
</rss>

