laptop and a wrench

Bug

In ArcMap and ArcGIS Pro ModelBuilder, the Point to Raster tool fails to iterate the 'Cellsize' parameter, returning the error message: "000996: Cell size must be greater than zero."

Last Published: February 21, 2019 ArcGIS for Desktop
Bug ID Number BUG-000113370
SubmittedApril 20, 2018
Last ModifiedJune 5, 2024
Applies toArcGIS for Desktop
Version found10.5.1
Operating SystemWindows OS
StatusNon-Reproducible

Additional Information

BUG-000113370 need to cast value to Analysis cellsize type

Workaround

The cellsize parameter can be iterated using a python script:import arcpyarcpy.env.overwriteOutput = True# Set local variablesinFeatures = r"D:\TemplateData.gdb\USA\New"valField = "OBJECTID"outRaster = r"C:\Users\mramsrujan\Documents\ArcGIS\Default1.gdb\New_PointToRaster3"assignmentType = "MOST_FREQUENT"priorityField = ""# Execute PointToRasterfor x in range(1, 5):cellSize = xoutRaster = r"C:\Users\mramsrujan\Documents\ArcGIS\Default1.gdb\New_PointToRaster" + "_" +str(x)print outRasterarcpy.PointToRaster_conversion(inFeatures, valField, outRaster, assignmentType, priorityField, cellSize)print "PointToRaster converted for cell size " + str(x)

Steps to Reproduce

Bug ID: BUG-000113370

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