laptop and a wrench

Bug

The Spatial Analyst > Conditional > Con Python snippet from Results window uses incorrect syntax.

Last Published: August 25, 2014 ArcGIS for Desktop
Bug ID Number NIM078805
SubmittedMarch 2, 2012
Last ModifiedJune 5, 2024
Applies toArcGIS for Desktop
Version found10.0
Version Fixed10.1
StatusFixed

Additional Information

Fixed in 10.1

Workaround

Correct syntax may be one of the following.:<a href="http://arcpy.gp" target="_blank">arcpy.gp</a>.Con_sa("arelev","1","//chipotle2/ESRI_Test/Open/1015017_python/ConPython","0","VALUE < 1840")<a href="http://arcpy.gp" target="_blank">arcpy.gp</a>.Con("arelev","1","//chipotle2/ESRI_Test/Open/1015017_python/ConPython","0","VALUE < 1840")myRaster = <a href="http://arcpy.sa" target="_blank">arcpy.sa</a>.Con("arelev","1","0","VALUE < 1840")

Steps to Reproduce

Bug ID: NIM078805

Software:

  • ArcGIS for Desktop

Get notified when the status of a bug changes

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