Skip to content

esriTerrainError Constants

Terrain's error codes.

Constant Value Description
E_​TERRAIN_​INVALID_​DATA_​SOURCE -2147205120 Unable to add data source (e.g., it's versioned, is not a valid feature class, or its geometry type is not appropriate).
E_​TERRAIN_​DATA_​SOURCE_​EXISTS -2147205119 The input data source already exists.
E_​TERRAIN_​INDEX_​OUT_​OF_​RANGE -2147205118 The specified index is out of range.
E_​TERRAIN_​NOT_​INITIALIZED -2147205117 The terrain object has not been initialized.
E_​TERRAIN_​CANCELLED -2147205116 Process is cancelled by the user.
E_​TERRAIN_​EDIT_​SESSION_​REQUIRED -2147205115 The specified operation requires an edit session.
E_​TERRAIN_​MUST_​BE_​ZLESS -2147205114 The operation requires Z-less input.
E_​TERRAIN_​FILE_​EXISTS -2147205113 The specified file or dataset already exists.
E_​TERRAIN_​FILE_​NOT_​EXISTS -2147205112 The specified file or folder does not exist.
E_​TERRAIN_​FILE_​OPEN_​ERROR -2147205111 Failed to open file.
E_​TERRAIN_​FILE_​READ_​ERROR -2147205110 Failed to read file.
E_​TERRAIN_​NOT_​MATCH -2147205109 The inputs do not match the existing feature class.
E_​TERRAIN_​WRONG_​FORMAT -2147205108 One or more specified properties are not supported in this point data format.
E_​TERRAIN_​NO_​RETURN -2147205107 Need at least one return number.
E_​TERRAIN_​BAD_​SHAPE_​SIZE -2147205106 The specified shape size is out of bound.
E_​TERRAIN_​NOT_​MULTIPOINT -2147205105 Only multipoint feature classes can be embedded.
E_​TERRAIN_​UNKNOWN_​FIELD -2147205104 One (or more) specified field is unknown to Terrain.
E_​TERRAIN_​FC_​OUTSIDE -2147205103 The feature class is not in the same feature dataset as the Terrain.
E_​TERRAIN_​ZTOLERANCE_​EXISTS -2147205102 The input zTolerance already exists.
E_​TERRAIN_​INVALID_​TERRAIN -2147205101 An invalid Terrain does not support the specified operation.
E_​TERRAIN_​INVALID_​DEFINITION -2147205100 The Terrain definition is incomplete or invalid.
E_​TERRAIN_​IN_​EDIT_​SESSION -2147205099 The specified operation is not supported in an edit session.
E_​TERRAIN_​INVALID_​BOUNDS -2147205098 Invalid Z tolerance bounds.
E_​TERRAIN_​BOUNDS_​OVERLAP -2147205097 Z tolerance bounds overlap with other data sources in the group, or with other Clip data sources.
E_​TERRAIN_​INCONSIST -2147205096 One or more properties of the input data source is inconsistent with the rest in the group.
E_​TERRAIN_​WRONG_​GEOMETRY_​TYPE -2147205095 The geometry type of the input data source (or feature class) is inadequate.
E_​TERRAIN_​MIXING_​2D_​AND_​3D -2147205094 Members must all be either 2D or 3D. Mixing 2D and 3D is not allowed.
E_​TERRAIN_​TOO_​MANY_​BASE -2147205093 Only one member in a group can be applied to the overview.
E_​TERRAIN_​MUST_​NOT_​BE_​GROUPED -2147205092 3D data sources added as mass-point must not be grouped.
E_​TERRAIN_​WRONG_​SF_​TYPE -2147205091 Incorrect Surface-Feature type.
E_​TERRAIN_​INCONSIST_​LOR -2147205090 The zTolerance/MaxScale pair does not match the others in the definition.
E_​TERRAIN_​CHANGE_​CLASS_​ID -2147205089 The feature class ID of an embedded data source must not be changed.
E_​TERRAIN_​NOT_​EMBEDDED -2147205088 The operation can only be applied to an embedded data source.
E_​TERRAIN_​NULL_​FIELD_​VALUE -2147205087 One or more fields contains NULL value.
E_​TERRAIN_​FIELD_​NULLABLE -2147205086 Attribute fields must not be nullable.
E_​TERRAIN_​TERRAIN_​NOT_​FOUND -2147205085 The terrain was not found.
E_​TERRAIN_​TERRAIN_​NOT_​SUPPORTED_​IN_​RELEASE -2147205084 Terrains not supported in this release of the GeoDatabase.
E_​TERRAIN_​TERRAIN_​ALREADY_​EXISTS -2147205083 The terrain with the specified name already exists.
E_​TERRAIN_​INVALID_​GEOMETRY_​TYPE_​FOR_​TERRAIN -2147205082 The feature class has an invalid geometry type.
E_​TERRAIN_​CANNOT_​ADD_​REGISTERED_​CLASS_​TO_​TERRAIN -2147205081 Cannot add a registered as versioned class to the terrain.
E_​TERRAIN_​INVALID_​TERRAIN_​NAME -2147205080 The Terrain name is invalid.
E_​TERRAIN_​WRONG_​DATASET_​TYPE -2147205079 Wrong data set type.
E_​TERRAIN_​WRONG_​PYRAMID_​TYPE -2147205078 Wrong Terrain pyramid type.
E_​TERRAIN_​CANNOT_​CHANGE_​SCHEMA -2147205077 Changing the definition, or running a full rebuild, of a versioned Terrain is not allowed.
E_​TERRAIN_​NOT_​MULTIPOINT_​Z -2147205076 Must be a Z-Aware multipoint feature class.
E_​TERRAIN_​UNKNOWN_​BLOB -2147205075 No blob is specified or the specified blob is unknown.
E_​TERRAIN_​NEED_​UPDATE -2147205074 The Terrain needs update before the specified operation can be performed.
E_​TERRAIN_​OLD_​VERSION -2147205073 The specified operation cannot be performed on old version Terrains.
E_​TERRAIN_​CANNOT_​PERFORM_​SIMPLIFY_​OVERVIEW -2147205072 Cannot perform 'Simplify Overview' on an invalid, dirty, or versioned Terrain.
E_​TERRAIN_​NO_​DATA -2147205071 Base data sources do not contain any data.
E_​TERRAIN_​EDIT_​OPERATION_​REQUIRED -2147205070 The specified operation requires an edit operation.
E_​TERRAIN_​INVALID_​EMBEDDED_​FC_​NAME -2147205069 The embedded feature class name is invalid.
E_​TERRAIN_​TOO_​MANY_​CLIPPING_​SOURCES -2147205068 Only one data source can be used for clipping the overview terrain.
E_​TERRAIN_​INVALID_​Z -2147205067 Invalid Z value.
E_​TERRAIN_​BAD_​WINDOWSIZE -2147205066 The specified window size is either too small, or too big.
E_​TERRAIN_​NO_​SPATIALREF_​INFO -2147205065 Spatial reference information is missing, or insufficient, for the operation.
E_​TERRAIN_​NOT_​PROJECTED_​SYSTEM -2147219400 A projected coordinate system is required.
E_​TERRAIN_​WRONG_​TOPOLOGY -2147219399 Incorrect boundary tiles topology.
E_​TERRAIN_​VALUE_​OVERFLOW -2147219398 The input value is too big (or too small) to store.
E_​TERRAIN_​DATA_​TYPE_​MISMATCH -2147219397 The input field data type does not match the one in the embedded data source.
E_​TERRAIN_​DIRTY_​TERRAIN -2147219396 The specified operation cannot be performed on dirty Terrains.
E_​TERRAIN_​WINSIZE_​NOT_​SUPPORTED -2147205059 Window size pyramid not supported in this release of the GeoDatabase.
E_​TERRAIN_​FIELD_​TYPE_​MISMATCH -2147219394 Output contains a field with the same name as the input but has a different field type.
E_​TERRAIN_​CANNOT_​BE_​ANCHORED -2147219393 Only point data sources can be anchored.
E_​TERRAIN_​ANCHOR_​POINTS_​NOT_​SUPPORTED -2147219392 Anchor-points data sources not supported in this release of the GeoDatabase.
E_​TERRAIN_​MUST_​APPLY_​TO_​OVERVIEW -2147219391 Point data sources must participate in the overview.
E_​TERRAIN_​VERSION_​NOT_​SUPPORTED -2147219390 Version not supported.
E_​TERRAIN_​FORMAT_​NOT_​SUPPORTED -2147219389 Format not supported.
E_​TERRAIN_​FILE_​WRITE_​ERROR -2147205052 Failed to write to file.
E_​TERRAIN_​INVALID_​FILE -2147205051 Invalid file.
E_​TERRAIN_​WKT_​NOT_​SUPPORTED -2147205050 WKT projection is not supported in this release.
E_​TERRAIN_​FILE_​CREATE_​ERROR -2147205049 Failed to create file.
E_​TERRAIN_​FILE_​DELETE_​ERROR -2147205048 Failed to delete/overwrite file.
E_​TERRAIN_​BAD_​INPUT_​FILE -2147205047 The input file contains bad data.

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