Customer Service | Training | Contact Us
Welcome!
Login
Search Options   products areas display

Which products should be considered?

All Products

ArcCAD
ArcEditor
ArcExplorer
ArcGIS Engine
ArcGIS Explorer
ArcGIS Image Server
ArcGIS Mobile
ArcGIS Server
ArcIMS
ArcInfo Desktop
ArcInfo Workstation
ArcLogistics Route
ArcPad
ArcPad Application Builder
ArcReader
ArcSDE
ArcView
ArcView 3.x
ArcWeb Services APIs
ArcWeb Toolbar for ArcGIS
Atlas GIS
BusinessMap
BusinessMap Pro
GIS Portal Toolkit
Job Tracking for ArcGIS
Maplex
MapObjects -- Java
MapObjects -- Windows
MapObjects IMS
MapObjects LT
MapStudio
Military Overlay Editor
NetEngine
PC ARC/INFO & DAK
PLTS
RouteMap
RouteMap IMS
SDE
Tracking Server

    Remember these settings for each visit More info
You are here:

Technical Article   Error:  ("esriGeoAnalyst.GridEngine") Field not found. Invalid field index obtained

Article ID: 32861
Software:  ArcGIS - ArcEditor 8.1, 8.1.2, 8.2, 8.3, 9.0 ArcGIS - ArcInfo 8.0.1, 8.0.2, 8.1, 8.1.2, 8.2, 8.3, 9.0 ArcGIS - ArcView 8.1, 8.1.2, 8.2, 8.3, 9.0
Platforms: N/A

Error Message

** This error has been fixed at ArcGIS Desktop 9.1 **

When a string field is used in the Spatial Analyst Reclassify tool and set as the Old Values column, a string field is added to the raster output from Reclassify. The strings in the rows of this output string field are created by grouping the characters from the list of attributes in the Old Values column, that is, all the attributes mapped to the same new value.

Since there is a limit of 256 characters on the length of a string field, reclassify fails to run if this limit is reached when processing and displays the following error message:

"("esriGeoAnalyst.GridEngine") Field not found. Invalid field index obtained."

Cause

The limit on the length of a string field of 256 characters has been reached.

For example, with the following remap table:

   Old value New value 

Value1 1
Value2 1
Valueabc 1
Value4 1
Valuex 5

The output raster's string field has a width of 26 characters. The characters and the counts are listed below:

   "Value1"   = 6 

"Value2" = 6
"Valueabc" = 8
"Value4" = 6

thus,

   "Value1"+"Value2"+"Valueabc"+"Value4" = 6 + 6 + 8 + 6 = 26

Since this is below the limit of 256 characters, reclassify works fine.

Solution or Workaround

There are several workarounds:

  • Workaround 1
    1. Add a new string field prior to reclassifying.
    2. Type in a short code representing each attribute.
  • Workaround 2
    1. Add a new string field.
    2. Start an edit session.
    3. Calculate the values of this new field as a reduced version of the string field. Right-click the field name in the attribute table and click Field Calculator.

    For example:

      ([new_stringField] = Left([stringField], 3)


     The number 3 represents the number of characters to take, starting from the left. Depending on how many attributes are in the string field, specify a lower number or use a higher number. Ultimately, the string field in the output raster must be less than 256 characters in length.

  • Workaround 3
    If string attributes are not needed in the output reclassified raster, use 'value' as the field to use in reclassify, instead of a string field.
  • Workaround 4
    Reduce the number of attributes in the string field before reclassifying.

Created: 3/28/2007
Last Modified: 11/3/2009

This website's graphical display is now viewable only with W3C standards-compliant browsers, but the content is accessible to all browsers and Internet devices. View our supported browser matrix for more information on our website display.