Error
| Número de ID del error | BUG-000117326 |
|---|---|
| Enviado | October 9, 2018 |
| Última modificación | June 5, 2024 |
| Relacionado con | ArcGIS for Desktop |
| Versión encontrada | 10.6.1 |
| Estado | Non-Reproducible |
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)")
ID del error: BUG-000117326
Software:
Obtener ayuda de expertos en ArcGIS
Descargar la aplicación de soporte de Esri