English

Error: Fatal error - Topological Operator methods

Error Message

This problem is addressed in ArcGIS 8.1 Service Pack 1. See the Related Information section to download this pack.

When writing custom code that applies the ITopologicalOperator methods, ensure that the geometry parameters passed in are either polygons, polylines, multipoints, or envelopes.

Any type of SEGMENT geometry is not legal for these methods and may result in fatal errors.

Cause

Invalid geometry arguments were passed to the intersect method by the client.

Solution or Workaround

Use a conditional statement that tests to make sure the geometry has the correct type before using the intersect function. If, for example, the objective is to do an intersection using a line, convert the line to a polyline first.

Related Information