Class GeometryValidator


  • public final class GeometryValidator
    extends java.lang.Object
    Basic JTS verification for a PolyLine and Polygon
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.Optional<java.lang.String> testSimplicity​(java.lang.Iterable<org.openstreetmap.atlas.geography.Location> geometry)  
      static java.util.Optional<java.lang.String> testValidity​(java.lang.Iterable<org.openstreetmap.atlas.geography.Location> geometry)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • testSimplicity

        public static java.util.Optional<java.lang.String> testSimplicity​(java.lang.Iterable<org.openstreetmap.atlas.geography.Location> geometry)
      • testValidity

        public static java.util.Optional<java.lang.String> testValidity​(java.lang.Iterable<org.openstreetmap.atlas.geography.Location> geometry)