Type mismatch

Last Published: April 25, 2020

Error Message

ArcMap returns the error, "Type mismatch", when using the ReclassByRemap function to reassign grid cell values.


The start value is equal to the end value. ReclassByRemap does not accept a range where the start value is equal to the end value in ArcGIS 8.1. This limitation is also present in ArcInfo Workstation Grid and ArcView 3.2 Spatial Analyst 2.0.

For example, with start and end values of 0, reclassifying them to 1 using the following code will return the error message:

pRemap.MapRange 0, 0, 1

Solution or Workaround

Increase the maximum value to solve the problem.

pRemap.MapRange 0, 0.01, 1

Article ID:000003793

  • ArcMap 8 x
  • Legacy Products

Receive notifications and find solutions for new or common issues

Get summarized answers and video solutions from our new AI chatbot.

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options