laptop and a wrench

Bug

The 10.1 Spatial Analyst Kernel Density tool in Python uses a % sign in the name of the output raster if a 10.0 Query layer is used, which causes the code to fail.

Last Published: August 25, 2014 ArcGIS for Desktop
Bug ID Number NIM087742
SubmittedDecember 31, 2012
Last ModifiedJune 5, 2024
Applies toArcGIS for Desktop
Version found10.1
Operating SystemWindows OS
Operating System Version7
StatusNon-Reproducible

Additional Information

No Public Explanation

Workaround

Set the scratch workspace to a folder.arcpy.env.scratchWorkspace = r"<a href="file:C:/temp" target="_blank">C:\temp</a>"kernelOut = <a href="http://arcpy.sa" target="_blank">arcpy.sa</a>.KernelDensity("qltest", "NONE")kernelOut.save(r"<a href="file:C:/My/Real/location.gdb/KernelOutput" target="_blank">C:\My\Real\location.gdb\KernelOutput</a>")

Steps to Reproduce

Bug ID: NIM087742

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