laptop and a wrench

Error

Provide direct access to a raster in a Raster Field through a search cursor and return a raster object.

Última publicación: August 25, 2014 No Product Found
Número de ID del error NIM080691
EnviadoMay 9, 2012
Última modificaciónJune 5, 2024
Relacionado conNo Product Found
Versión encontrada10.1
Versión corregida10.1
EstadoFixed

Solución alternativa

Construct the raster item using full path to objectID:ex:#current 10.1 method - construct raster itemrows = arcpy.da.SearchCursor(raster_container,"*","Category=1")rasters = []for row in rows: idname = row[0] print ("processing raster = row:{0} name:{1}").format(idname, rows[2]) # Construct raster item from object ID rasteritem = os.path.join(raster_container,"Raster.OBJECTID ="+str(idname)) outrasname = "test"+str(idname)+"tif.tif" print "Copying {0} to {1}".format(rasteritem,os.path.join(arcpy.env.workspace,outrasname)) arcpy.CopyRaster_management(rasteritem,outrasname)

Pasos para reproducir

ID del error: NIM080691

Software:

  • No Product Found

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga