This document is archived and information here might be outdated.  Recommended version.


esriGeometryError Constants (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Geometry)  

esriGeometryError Constants

Describes why a parameter to a method is incorrect, or why a method could not be completed.

Constant Value Description
S_GEOMETRY_OK 0
S_GEOMETRY_DEGENERATE 513 A geometric construction or geometric property query succeeded but the resulting geometry is degenerate in some way.
S_GEOMETRY_HAS_NL_SEGMENTS 563 A geometry being exported to an Esri shapefile buffer contains non-linear segments. Some data sources cannot store non linear segments.
S_GEOMETRY_DATUMCONVERSIONATTEMPTED 583 The source and destination coordinate systems of a Project operation were different geographic systems.
S_GEOMETRY_EMPTY_GEOMETRY 584 A (successful) operation on an empty geometry was performed. Currently, only returned by GeoNormalize.
S_GEOMETRY_GEOMETRY_NOT_PROJECTED 596 The geometry could not be projected and has been set empty. This can happen when a vertical polyline lies exactly on a projection horizon line.
S_GEOMETRY_PROJECTION_HINT_CLIP_PCS_ONLY 629 Projections have to consider clipping with the PCS horizon only.
S_GEOMETRY_PROJECTION_HINT_CLIP_GCS_ONLY 630 Projections have to consider clipping with the GCS horizon only.
S_GEOMETRY_PROJECTION_HINT_CLIP_PCS_AND_GCS 631 Projections have to consider clipping with the PCS and GCS horizon.
E_GEOMETRY_EMPTYGEOMETRY 514 (0x80040202) An operation on an empty geometry was attempted - for example, trying to move or rotate one.
E_GEOMETRY_INCONSISTANT_PARAMS 515 (0x80040203) The input parameters could not be reasonably interpreted - for example, asking for the 2d result of a polyline/polygon intersection.
E_GEOMETRY_INVALID_RADIUS 516 (0x80040204) An arc construction operation was given an invalid radius.
E_GEOMETRY_INVALID_CHORD 517 (0x80040205) An arc construction operation was given an invalid chord distance.
E_GEOMETRY_NONENVELOPE 518 (0x80040206) Not used.
E_GEOMETRY_NONPART 519 (0x80040207) Not used.
E_GEOMETRY_ROTATEENVELOPE 520 (0x80040208) Envelopes cannot be rotated.
E_GEOMETRY_TRANSFORMENVELOPE 521 (0x80040209) Envelopes cannot have arbitrary transformations applied to them.
E_GEOMETRY_WRONGTYPE 522 (0x8004020a) The geometry parameter was of the wrong type for the method.
E_GEOMETRY_UNKNOWNTYPE 523 (0x8004020b) The GeometryEnvironment did not know how to create a geometry of the specified type.
E_GEOMETRY_UNDERCONSTRAINED 524 (0x8004020c) The parameters to a geometric construction did not provide enough information to complete the construction.
E_GEOMETRY_INVALID_ANGLE 525 (0x8004020d) An arc construction operation was given an invalid angle.
E_GEOMETRY_NONPATH 526 (0x8004020e) Not used.
E_GEOMETRY_NONSEGMENT 527 (0x8004020f) Not used.
E_GEOMETRY_NONPOINT 528 (0x80040210) Something other than a point was added to a multipoint.
E_GEOMETRY_INCONSISTANT_SPATIAL_REFERENCE 533 (0x80040215) Input geometries do not have same spatial reference.
E_GEOMETRY_PARTNOTFOUND 535 (0x80040217) The part could not be found in the geometry.
E_GEOMETRY_NOTSIMPLE 536 (0x80040218) The operation cannot be performed on a non-simple geometry.
E_GEOMETRY_INTERIORPART 537 (0x80040219) Not used.
E_GEOMETRY_BAD_SPLIT_DISTANCE 540 (0x8004021c) The specified splitting distance is not included in the curve to be split.
E_GEOMETRY_NULL 541 (0x8004021d) A null geometry does not correspond to any Esri geometry type.
E_GEOMETRY_CANT_RESHAPE 542 (0x8004021e) Not used.
E_GEOMETRY_NONPOLYGON 543 (0x8004021f) Something other than a polygon was encountered.
E_GEOMETRY_NONPOLYLINE 544 (0x80040220) Something other than a polyline was encountered.
E_GEOMETRY_NONGEOMETRY 545 (0x80040221) Something other than a geometry was encountered.
E_GEOMETRY_EQUAL_VERTEX_ATTRIBUTES 547 (0x80040223) Not used.
E_GEOMETRY_CANT_QUERY_ON_VERTEX_ATTRIBUTES 549 (0x80040225) Not used.
E_GEOMETRY_NO_VALID_VERTEX_ATTRIBUTES 550 (0x80040226) Not used.
E_GEOMETRY_UNDEFINED_SPATIAL_REFERENCE 551 (0x80040227) The operation requires the presence of a spatial reference.
E_GEOMETRY_INCONSISTANT_DIMENSIONS 553 (0x80040229) Input geometries do not have same dimensions.
E_GEOMETRY_SIMPLIFYFAILED 556 (0x8004022c) Something went wrong in Polygon/Polyline simplification.
E_GEOMETRY_PROJECTDATUM 558 (0x8004022e) The project method cannot do a datum transformation directly on segments.
E_GEOMETRY_FILLET_FAILED 559 (0x8004022f) The fillet could not be constructed according to specs.
E_GEOMETRY_INVALID_AXES 560 (0x80040230) An elliptic arc construction operation was given invalid axes.
E_GEOMETRY_CANT_CUT_POLYGON 561 (0x80040231) A cut operation could not classify all parts of the polygon as being left or right of the cutting polyline.
E_GEOMETRY_BADRELATION 562 (0x80040232) The Relate operator couldn't evalute the specified relation expression.
E_GEOMETRY_NOT_Z_AWARE 564 (0x80040234) The geometry is not Z-aware.
E_GEOMETRY_NOT_M_AWARE 565 (0x80040235) The geometry is not M-aware.
E_GEOMETRY_SEGMENTGRAPH_CANTLOAD 566 (0x80040236) A SegmentGraph can only organize polyline and polygon objects.
E_GEOMETRY_SEGMENTGRAPH_CONSTRUCTERROR 567 (0x80040237) The geometries could not be topologically structured.
E_GEOMETRY_OUT_OF_BOUNDS 568 (0x80040238) The coordinates of this geometry are out of bounds.
E_GEOMETRY_INTERNALERROR 569 (0x80040239) An internal error has occurred in the geometry system.
E_GEOMETRY_TOOMANYPOINTS 570 (0x8004023a) This operation produced too many points.
E_GEOMETRY_BUFFEROUTOFBOUNDS 571 (0x8004023b) The buffer coordinates are out of bounds.
E_GEOMETRY_OUTOFMEMORY 572 (0x8004023c) There is not enough memory.
E_GEOMETRY_RELATIONSYNTAXERROR 573 (0x8004023d) The relation expression string has a syntax error.
E_GEOMETRY_UNKNOWNERROR 574 (0x8004023e) An unknown error has occurred in the geometry system.
E_GEOMETRY_NOPENDINGMOVETO 575 (0x8004023f) The SegmentGraphCursor has no unfinished MoveTo operation.
E_GEOMETRY_NOT_ID_AWARE 576 (0x80040240) The geometry is not ID-aware.
E_GEOMETRY_ILLEGALWIN32EXPORT 577 (0x80040241) Not used.
E_GEOMETRY_CONSTRUCTPOINTUNION 578 (0x80040242) Can't use ConstructUnion on a point.
E_GEOMETRY_BEZIER_EXTEND_EMBEDDED 579 (0x80040243) ExtendEmbedded not implemented for Bezier curves.
E_GEOMETRY_NOT_Z_SIMPLE 580 (0x80040244) The geometry has undefined Z values for some of its vertices.
E_GEOMETRY_NOT_M_SIMPLE 581 (0x80040245) The geometry has undefined M values for some of its vertices.
E_GEOMETRY_INVALIDCONSTRUCTION 582 (0x80040246) Not used.
E_GEOMETRY_NONMULTIPATCH 585 (0x80040249) Something other than a multipatch was encountered.
E_GEOMETRY_UNDEFINEDRING 586 (0x8004024a) The multipatch contains a ring that is invalid or has an undefined type.
E_GEOMETRY_INVALIDRINGTYPE 587 (0x8004024b) The given ring is not of the required type within the multipatch. (For example an inner ring may be used where an outer ring is required.)
E_GEOMETRY_AMBIGUOUSPARTTYPE 588 (0x8004024c) The operation would result in the creation of a new part, but the type of part to be created was ambiguous.
E_GEOMETRY_INVALIDRINGORDER 589 (0x8004024d) The ordering of rings and types is invalid. (For example, an inner ring may not have an outer ring.)
E_GEOMETRY_INVALIDCOUNT 590 (0x8004024e) The number of items specified is too high or too low in the given context.
E_GEOMETRY_EXTERIORPART 591 (0x8004024f) An interior part must be specified.
E_GEOMETRY_NONTRIANGLESTRIP 592 (0x80040250) The input interface does not belong to a triangle strip object.
E_GEOMETRY_NONTRIANGLEFAN 593 (0x80040251) The input interface does not belong to a triangle fan object.
E_GEOMETRY_NONVECTOR3D 594 (0x80040252) The input interface does not belong to a 3-dimensional vector.
E_GEOMETRY_DEGENERATEGEOMETRY 595 (0x80040253) The operation could not be performed because the geometry is degenerate.
E_GEOMETRY_DUPLICATESEGMENTPOINTER 597 (0x80040255) The same segment has been added to the geometry more than once.
E_GEOMETRY_INSUFFICIENT_CONTROLPOINTS 598 (0x80040256) The number of control points is insufficient.
E_GEOMETRY_NOT_BEZIERCURVES 599 (0x80040257) The participating segments must be Bezier curves.
E_GEOMETRY_TRANSFORMATION_UNDEFINED 600 (0x80040258) The transformation is undefined.
E_GEOMETRY_SR_Z_MISMATCH 601 (0x80040259) The geometry is z-aware, but its spatial reference has no z domain or resolution defined.
E_GEOMETRY_SR_M_MISMATCH 602 (0x8004025a) The geometry is m-aware, but its spatial reference has no m domain or resolution defined.
E_GEOMETRY_INPUT_TYPE_MISMATCH 603 (0x8004025b) The geometries are not all of the same type.
E_GEOMETRY_INPUT_TYPE_INCORRECT 604 (0x8004025c) The geometries must be polylines or polygons.
E_GEOMETRY_EDITED_REGIONS_OVERLAP 605 (0x8004025d) Cannot merge the two geometries. The edited regions overlap.
E_GEOMETRY_PART_ZS_ARE_NAN 606 (0x8004025e) A polygon part has no defined zs.
E_GEOMETRY_CANNOT_EXTRAPOLATE_BY_SEGMENT 607 (0x8004025f) No segment available to determine extrapolation ratio.
E_GEOMETRY_EDITS_OVERLAP 608 (0x80040260) Cannot merge the two geometries. The edits overlap.
E_GEOMETRY_UNIT_CONVERSION 609 (0x80040261) Cannot convert between linear and angular units.
E_GEOMETRY_BUFFER_DISTANCES 610 (0x80040262) There was a problem obtaining a distance at which to buffer a geometry.
E_GEOMETRY_OPERATION_CANCELLED 611 (0x80040263) The geometry operation was cancelled.
E_GEOMETRY_WRONG_RELATION_AND_TYPE 613 (0x80040265) The specified combination of relation and geometry types is not valid.
E_GEOMETRY_BUFFERCONSTRUCTION_INUSE 614 (0x80040266) A client has attempted to re-enter a BufferConstruction object while its ConstructBuffers... operation method executing.
E_GEOMETRY_BUFFERFAILURE 615 (0x80040267) An error occurred during the buffer operation.
E_GEOMETRY_TOLERANCE_TOO_LARGE_FOR_EXTENT 616 (0x80040268) The xy cluster tolerance was too large for the extent of the data.
E_GEOMETRY_BUFFER_INVALID_SIDE_OPTION 617 (0x80040269) The side option used by the BufferConstruction service must be one of: esriBufferLeft, esriBufferRight, esriBufferFull.
E_GEOMETRY_BUFFER_INVALID_END_OPTION 618 (0x8004026a) The end option used by the BufferConstruction service must be one of: esriBufferFlat, esriBufferRound.
E_GEOMETRY_BUFFER_INVALID_BUFFER_DISTANCE 619 (0x8004026b) The buffer distance must be a valid floating point number.
E_GEOMETRY_AUTHORITY_TOO_LONG 620 (0x8004026c) The authority parameter is too long.
E_GEOMETRY_WKT_TOO_LONG 621 (0x8004026d) The WKT(Z) parameter is too long.
E_GEOMETRY_PARAMETER_TOO_SMALL 622 (0x8004026e) An input parameter is too small.
E_GEOMETRY_ZM_OUT_OF_BOUNDS 623 (0x8004026f) The z or m coordinates of this geometry are out of bounds.
E_GEOMETRY_Z_OUT_OF_BOUNDS 624 (0x80040270) The z coordinates of this geometry are out of bounds.
E_GEOMETRY_M_OUT_OF_BOUNDS 625 (0x80040271) The m coordinates of this geometry are out of bounds.
E_GEOMETRY_CANNOT_DO_3D_OPERATIONS_ON_CURVES 626 (0x80040272) Cannot do 3D operations on curve segments.
E_GEOMETRY_NOT_SINGLEPART 627 (0x80040273) The reshaping polyline must have one part.
E_GEOMETRY_CANT_EVALUATE_RELATION_MATRIX 628 (0x80040274) Some combinations of geometries with vertical segments cannot be evaluated with a 9DEM relational expression.
E_GEOMETRY_BUFFER_INVOLVES_BOTH_POLES 632 (0x80040278) A buffer cannot currently cover both poles.
E_GEOMETRY_GEODESIC_BUFFER_COORD_OUT_OF_RANGE 633 (0x80040279) The input was outside a +-360 longitude range or outside +-90 latitude.
E_GEOMETRY_NO_CURVES_IN_JSON 634 (0x80040280) Cannot convert polylines or polygons with curves to JSON format.
E_GEOMETRY_JSON_SYNTAX 635 (0x80040281) Syntax error in JSON geometry representation.
E_GEOMETRY_BUFFER_NEGATIVE_DISTANCE 636 (0x80040283) Cannot buffer points or polyines by a negative distance.
E_GEOMETRY_JSON_BAD_SHORTFORM_POINTS 637 (0x80040284) Cannot create points from short-form point array.
E_GEOMETRY_BUFFER_DISTANCE_ZERO 638 (0x80040282) Cannot buffer a geometry with a distance of zero.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.