GeometryValidator

From fmepedia

GeometryValidator is a Workbench Transformer.

Evaluates the simplicity or validity of a geometry feature, and routes the feature according to the outcome of the test(s).


Validation Type can be set to either Simple or Valid. When set to Valid, the feature is evaluated according to the JTS implementation of the OGCGeometry test isValid. When set to Simple, the feature is evaluated according to the Java Topology Suite (JTS) implementation of the OGCGeometry test isSimple. See http://www.vividsolutions.com/jts/ for more information on JTS. Note that any lines, even when closed, will be treated as JTS LineStrings, never LinearRings.


The meanings of Simple and Valid vary depending on the type of geometry:

  • A points is always Valid and Simple.
  • A line is Valid if it has at least two different coordinates. It is Simple if it does not self-intersect.
  • An area is Valid if its boundary is Simple. It is always Simple. (NOTE: This can be a source of confusion. Even areas which are not Valid will pass the Simple test.)
  • An aggregate is Valid if its parts are valid and do not intersect each other.
Attached Files
filesizedate
errors.php------
User Comments Add a new comment