Table of Contents

Enum TopologyValidationErrors

Namespace
NetTopologySuite.Operation.Valid
Assembly
NetTopologySuite.dll

Contains information about the nature and location of a Geometry validation error.

public enum TopologyValidationErrors

Fields

DisconnectedInteriors = 4

Indicates that the interior of a polygon is disjoint (often caused by set of contiguous holes splitting the polygon into two parts).

DuplicateRings = 8

Indicates that a polygonal geometry contains two rings which are identical.

HoleOutsideShell = 2

Indicates that a hole of a polygon lies partially or completely in the exterior of the shell.

InvalidCoordinate = 10

Indicates that the X or Y ordinate of a Coordinate is not a valid numeric value (e.g. NaN).

NestedHoles = 3

Indicates that a hole lies in the interior of another hole in the same polygon.

NestedShells = 7

Indicates that a polygon component of a MultiPolygon lies inside another polygonal component.

NoInvalidIntersection = -1
RingNotClosed = 11

Indicates that a ring is not correctly closed (the first and the last coordinate are different).

RingSelfIntersection = 6

Indicates that a ring self-intersects.

SelfIntersection = 5

Indicates that two rings of a polygonal geometry intersect.

TooFewPoints = 9

Indicates that either: