Class SmallHoleRemover

java.lang.Object
org.locationtech.jtslab.clean.SmallHoleRemover

public class SmallHoleRemover extends Object
Removes holes which are smaller than a given area.
Author:
Martin Davis
  • Constructor Details

    • SmallHoleRemover

      public SmallHoleRemover()
  • Method Details

    • clean

      public static Geometry clean(Geometry geom, double areaTolerance)
      Removes small holes from the polygons in a geometry.
      Parameters:
      geom - the geometry to clean
      Returns:
      the geometry with invalid holes removed