esriRasterError Constants

The raster related error codes.

Constant Value Description
E_​RASTER_​FILE_​NOT_​FOUND -2147217407 Raster file cannot be found.
E_​RASTER_​FILE_​INVALID_​EXTENSION -2147217406 Raster file extension is invalid.
E_​RASTER_​RENDERER_​INVALID_​BAND_​INDEX -2147217405 Specified band index is invalid.
E_​RASTER_​FILE_​FAILED_​TO_​RENAME -2147217404 Failed to rename the specified file.
E_​RASTER_​FILE_​FAILED_​TO_​COPY -2147217403 Failed to copy the specified file.
E_​RASTER_​FILE_​LZW_​FAILED -2147217402 Raster file with LZW compression failed to open.
E_​RASTER_​ACCESS_​IS_​DENIED -2147217401 The user does not have permission to execute the operation.
E_​RASTER_​DATASET_​EXIST -2147217400 Raster file(table for SDE) already exist.
E_​RASTER_​FAILED_​TO_​OPEN_​CONNECTION -2147217398 Failed to open a GeoDatabase connection.
E_​RASTER_​FAILED_​TO_​OPEN_​WORKSPACE -2147217397 Failed to open a raster workspace.
E_​RASTER_​EMPTY_​WORKSPACE -2147217396 No raster datasets in the workspace.
E_​RASTER_​FAILED_​TO_​CREATE_​CATALOG_​ITEM -2147217395 Failed to create a new raster catalog item.
E_​RASTER_​INVALID_​RASTER_​VALUE -2147217394 Invalid raster value.
E_​RASTER_​FAILED_​TO_​OPEN_​CATALOG -2147217393 Failed to open a raster catalog.
E_​RASTER_​UNSUPPORTED_​PCS -2147217392 Unsupported projected coordinate system (PCS).
E_​RASTER_​CANNT_​BUILD_​VAT -2147217391 Can't build raster attribute table for multiband raster dataset.
E_​RASTER_​CANNT_​ALTER_​VAT -2147217390 Can't alter raster attribute table for multiband raster dataset.
E_​RASTER_​FAILED_​TO_​CALC_​STATS -2147217389 Failed to compute statistics.
E_​RASTER_​FAILED_​TO_​CALC_​HISTOGRAM -2147217388 Failed to compute histogram.
E_​RASTER_​FAILED_​TO_​ALTER_​STATS -2147217387 Failed to alter statistics.
E_​RASTER_​FAILED_​TO_​ALTER_​HISTOGRAM -2147217386 Failed to alter histogram.
E_​RASTER_​FAILED_​TO_​CREATE_​DATASET -2147217385 Failed to create raster dataset.
E_​RASTER_​FAILED_​TO_​OPEN_​DATASET -2147217384 Failed to open raster dataset.
E_​RASTER_​FAILED_​TO_​COPY_​DATASET -2147217383 Failed to copy raster dataset.
E_​RASTER_​FAILED_​TO_​RENAME_​DATASET -2147217382 Failed to rename raster dataset.
E_​RASTER_​FAILED_​TO_​DELETE_​DATASET -2147217381 Failed to delete raster dataset.
E_​RASTER_​FAILED_​TO_​ALTER_​GEODATAXFORM -2147217380 Failed to delete raster dataset.
E_​RASTER_​FAILED_​TO_​BUILD_​PYRAMID -2147217379 Failed to build pyramid.
E_​RASTER_​UNSUPPORTED_​FORMAT -2147217378 Unsupported raster format in Raster Core.
E_​RASTER_​TOO_​MANY_​UNIQUE_​VALUES -2147217377 Too many unique values.
E_​RASTER_​UNSUPPORTED_​PIXEL_​TYPE -2147217376 Unsupported/unknown Pixel Type.
E_​RASTER_​CANT_​MOSAIC_​COLORMAPED -2147217375 Can't mosaic a dataset with a colormap.
E_​RASTER_​CANT_​LOAD_​FORMAT_​DLL -2147217374 Can't load a format DLL.
E_​RASTER_​CANT_​FIND_​FORMAT_​FUNCTION -2147217373 Can't find the format registration function.
E_​RASTER_​FAILED_​TO_​REGISTER_​FORMAT -2147217372 Failed to register a new raster format.
E_​RASTER_​INVALID_​CELLSIZE -2147217371 Invalid cell size.
E_​RASTER_​OPERATION_​CANCELED -2147217370 Operation canceled.
E_​RASTER_​FAILED_​TO_​WRITE_​AUX -2147217369 Failed to write binary AUX file.
E_​RASTER_​UNKNOWN_​PIXELTYPE -2147217368 Unknown pixel type.
E_​RASTER_​NO_​WRITE_​PERMISSION -2147217367 No write permission.
E_​RASTER_​VAT_​COUNT_​TOO_​LARGE -2147217366 The VAT count value exceeds 2 Billion.
E_​RASTER_​BLOCKSIZE_​TOO_​LARGE -2147217365 The requested pixel block size is too large.
E_​RASTER_​TOO_​MANY_​DIRECTORIES -2147217364 Too many unique directories to list.
E_​RASTER_​COLORCORRECTION_​NOT_​LICENSED -2147217363 Color correction is not supported with the current license.
E_​RASTER_​MOSAIC_​NOT_​LICENSED -2147217362 Mosaic dataset is not supported with the current license.
E_​RASTER_​IN_​LOAD_​ONLY -2147217361 Catalog geometry column is already in Load Only IO mode.
E_​ESIRGRID_​FAILED_​TOO_​LONG -2147217360 The Grid path and name is longer than 129
E_​INVALID_​RASTER_​COMMAND -2147217359 It's an invalid raster command.
E_​MISSING_​RASTER -2147217358 Missing a raster (becoming a constant) in a mosaic dataset.
E_​FAILED_​TO_​OPEN_​RASTER_​ITEM -2147217357 Failed to open a raster item in a mosaic dataset.
E_​RASTER_​NOT_​ENOUGH_​LINKS -2147217356 Not enough links for fitting a polynomial transform.
E_​RASTER_​FAILED_​TO_​CREATE_​RASTER_​CURSOR -2147217355 Failed to create a raster cursor.
E_​RASTER_​FAILED_​TO_​DELETE_​ATTRIBUTE_​TABLE -2147217355 Failed to delete attribute table.
E_​RASTER_​FAILED_​TO_​READ_​BLOCK -2147217354 Failed to read a pixel block.
E_​RASTER_​FAILED_​TO_​WRITE_​BLOCK -2147217353 Failed to write a pixel block.
E_​RASTER_​MISSING_​CAMERA_​LOCATION -2147217352 Missing frame camera location.
E_​RASTER_​NO_​MATCHPOINTS -2147217351 Can't find any match points.
E_​RASTER_​NO_​FEATUREPOINTS -2147217350 Can't find any feature points.
E_​RASTER_​NO_​RASTER_​STORE -2147217349 No raster store.
E_​RASTER_​FAILED_​TO_​EXECUTE_​COMMAND -2147217348 Failed to execute a command.
E_​RASTER_​INVALID_​PROCESSING_​SERVER -2147217347 Invalid Image Processing Server (Can't connect).
E_​RASTER_​MISSING_​IMAGE_​SIZE -2147217346 Missing image size.
E_​RASTER_​MISSING_​PIXEL_​SIZE -2147217345 Missing pixel size.
E_​RASTER_​MISSING_​FOCAL_​LENGTH -2147217344 Missing focal length.
E_​RASTER_​WAIT_​COMMAND -2147217343 Waiting on a raster command.
E_​RASTER_​BUNDLEFILE_​NOTEXIST -2147217342 The requested bundle file doesn't exist.
E_​RASTER_​LOST_​CONNECTION -2147217341 The connection with the server has been lost.
E_​RASTER_​EXCEEDS_​MAX_​BLOCK_​SIZE -2147217340 The pixel block exceeds the maximum size allowed.
E_​RASTER_​FAILED_​CLOUD_​CONNECTION -2147217339 Failed to connect to the cloud data source.
E_​RASTER_​FILE_​ALREADY_​EXISTS -2147217338 File already exists and overwriting is not allowed.
E_​RASTER_​FAILURE_​ACQUIRE_​LOCK -2147217337 Failed to acquire GDAL dataset lock.
E_​RASTER_​NO_​COMMON_​DIMENSION -2147217336 No common dimension or no matching variable between 2 multidimensional rasters.
E_​RASTER_​NO_​MATCHING_​VARIABLE -2147217335 No matching variable between 2 multidimensional rasters.
E_​RASTER_​JOB_​TIMED_​OUT -2147217334 Parallel processing job timed out.
E_​RASTER_​VARIABLE_​RENAME_​FAILED -2147217333 Failed to rename multidimensional variable.
E_​RASTER_​INPUT_​NOT_​MULTIDIMENSIONAL -2147217332 The Raster is not a multidimensional raster.
E_​RASTER_​VARIABLE_​REMOVE_​FAILED -2147217331 Failed to remove multidimensional variable.
E_​RASTER_​ADD_​DIMENSION_​FAILED -2147217330 Failed to add dimension
E_​RASTER_​DIMENSION_​AS_​VARIABLE_​ERROR -2147217329 Failed to remove multidimensional variable.
E_​RASTER_​APPEND_​SLICES_​ERROR_​PROPS_​MISMATCH -2147217328 Failed to append slices. The second raster should have exactly same extent, cellsize and SRS as first raster.
E_​RASTER_​APPEND_​SLICES_​ERROR_​VARIABLES_​MISMATCH -2147217327 Failed to append slices. The second raster should have exact same variables as first raster.
E_​RASTER_​APPEND_​SLICES_​ERROR_​DIMENSIONS_​MISMATCH -2147217326 Failed to append slices. The second raster should have exact same dimensions as first raster.
E_​RASTER_​APPEND_​SLICES_​ERROR_​DIMENSION_​VALUES -2147217325 Failed to append slices. The second raster should have dimension values after the dimesnion values of the first raster.
E_​RASTER_​APPEND_​SLICES_​NO_​SLICES_​APPENDED -2147217324 No slices appended.
E_​RASTER_​APPEND_​SLICES_​COPY_​FAILED -2147217323 Failed to append slices. Unable to copy the slices to the the destination raster.
E_​RASTER_​VSI_​RENAME_​FAILED -2147217322 Failed to rename cloud object.
E_​RASTER_​MISSING_​VARIABLE_​DIMENSION_​FIELDS -2147217321 Missing variable field name or dimension field names.
E_​RASTER_​INCOMPLETE_​RESULT -2147217320 Incomplete result (finished with error(s)).
E_​RASTER_​NO_​FAILED_​BUNDLES -2147217319 No failed bundles.
E_​RASTER_​TOO_​MANY_​FAILED_​BUNDLES -2147217318 Too many failed bundles.
E_​RASTER_​SET_​VARIABLE_​ATTRIBUTES_​FAILED -2147217317 Failed to set variable attributes
E_​RASTER_​DBASE_​RAT_​TOO_​LARGE -2147217316 tif raster attribute table (dBase format) is too large
E_​RASTER_​REPLACE_​SLICES_​ERROR_​PROPS_​MISMATCH -2147217316 Failed to replace slices. The source raster should have exactly same extent, cellsize and SRS as destination raster.
E_​RASTER_​REPLACE_​SLICES_​ERROR_​VARIABLES_​MISMATCH -2147217315 Failed to replace slices. The source raster should have exact same variables as destination raster.
E_​RASTER_​REPLACE_​SLICES_​ERROR_​DIMENSIONS_​MISMATCH -2147217314 Failed to replace slices. The source raster should have exact same dimensions as destination raster.
E_​RASTER_​REPLACE_​SLICES_​NO_​SLICES_​REPLACED -2147217313 No slices replaced.
E_​RASTER_​REPLACE_​SLICES_​COPY_​FAILED -2147217312 Failed to replace slices. Unable to copy the slices to the the destination raster.
E_​RASTER_​APPEND_​VARIABLES_​ERROR_​PROPS_​MISMATCH -2147217311 Failed to append variables. The source raster should have exactly same extent, cellsize and SRS as destination raster.
E_​RASTER_​APPEND_​VARIABLES_​NO_​VARIABLES_​APPENDED -2147217310 No variables appended.
E_​RASTER_​APPEND_​VARIABLES_​COPY_​FAILED -2147217309 Failed to append variables. Unable to copy the variables to the the destination raster.
E_​RASTER_​REMOVE_​DIMENSION_​FAILED_​SLICES -2147217309 Failed to remove dimension. The input raster has more than 1 slice.
E_​RASTER_​REMOVE_​DIMENSION_​FAILED -2147217308 Failed to remove dimension.
E_​RASTER_​VSI_​SYNC_​FAILED -2147217307 Failed to sync objects from/to local/cloud.
E_​RASTER_​MAKEDIR_​FAILED -2147217306 Failed to sync objects from/to local/cloud.
E_​RASTER_​VSI_​DELETE_​FAILED -2147217305 Failed to delete cloud object.
E_​RASTER_​CLOUD_​FOLDER_​ACCESS_​DENIED -2147217304 Access denied to the cloud folder.
E_​RASTER_​DELETE_​TRANSPOSE_​FAILED -2147217303 Failed to delete transpose.
E_​RASTER_​UNSUPPORTED_​GT -2147217302 Unsupported geographic datum transformation.
E_​RASTER_​UNSUPPORTED_​VT -2147217301 Unsupported vertical datum transformation.
E_​RASTER_​UNSUPPORTED_​HV -2147217300 Unsupported horizontal and vertical datum transformation.
E_​RASTER_​BUILD_​TRANSPOSE_​FAILED_​SINGLE_​SLICE -2147217299 Failed to build transpose on a single slice.
E_​RASTER_​VSI_​GET_​METADATA_​FAILED -2147217298 Get Metadata operation has failed.
E_​RASTER_​VSI_​SET_​METADATA_​FAILED -2147217297 Set Metadata operation has failed.
E_​RASTER_​TOO_​SMALL_​TO_​BUILD_​PYRAMIDS -2147217296 The dimension of the dataset is smaller than 1024 x 1024, pyramids will not be built.
E_​RASTER_​FORMAT_​NOT_​SUPPORTED_​IN_​ENDEAVOUR -2147217295 only crf output is currently supported for distributed raster operations in endeavour.
E_​RA_​CANNOT_​GET_​ENDEAVOUR_​ENVIRONMENT -2147217294 cannot get endeavour server environment in message handler.
E_​RA_​CANNOT_​GET_​ENDEAVOUR_​SESSION_​DIR -2147217293 cannot get endeavour server session directory.
E_​RA_​FAILURE_​IN_​ENDEAVOUR_​WORKER -2147217292 failure in endeavour worker.
E_​RASTER_​CELL_​VALUE_​ILLEGAL_​FOR_​RAT -2147217291 A cell value exceeds the range that can be stored in the value field of the raster attribute table.
E_​RASTER_​CLOUD_​FILE_​NOT_​FOUND -2147217290 Cloud storage file could not be found.
E_​RASTER_​UNKNOWN_​ERROR -2147217408 Unknown error.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.