laptop and a wrench

Bug

Unable to copy/save a file system based raster with a maximum pixel value of either two or three to a file geodatabase.

Last Published: November 29, 2018 ArcGIS for Desktop
Bug ID Number BUG-000117326
SubmittedOctober 9, 2018
Last ModifiedJune 5, 2024
Applies toArcGIS for Desktop
Version found10.6.1
StatusNon-Reproducible

Additional Information

Fixed in a later version of ArcGIS desktop.

Workaround

Run the script through a Python 3.6.5 IDLE (ArcGIS Pro 2.2.3) environment

It is possible to get two and three constant value rasters when running the analysis through a Python script where the 'env.workspace' would have to be set to a file geodatabase.

Like the following format:

import arcpy

from arcpy import env

from arcpy.sa import *

env.workspace = "C:\Caseuser\Andrea\RasterConstanValue_Test2\Test1.gdb"

pixel_value = 2

outConstRaster = CreateConstantRaster(2)

outConstRaster.save("C:\Caseuser\Andrea\RasterConstanValue_Test2\Test1.gdb\Test{}".format(pixel_value)")

Steps to Reproduce

Bug ID: BUG-000117326

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