laptop and a wrench

Bogue

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

Dernière publication: November 29, 2018 ArcGIS for Desktop
Numéro d’ID de bogue BUG-000117326
EnvoiOctober 9, 2018
Dernière modificationJune 5, 2024
S’applique àArcGIS for Desktop
Version trouvée10.6.1
StatutNon-Reproducible

Informations supplémentaires

Fixed in a later version of ArcGIS desktop.

Solution de contournement

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)")

Étapes pour reproduire

ID de bogue: BUG-000117326

Logiciel:

  • ArcGIS for Desktop

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement