Class TopologyPreservingSimplifier.LineStringMapBuilderFilter

  • All Implemented Interfaces:
    GeometryComponentFilter
    Enclosing class:
    TopologyPreservingSimplifier

    static class TopologyPreservingSimplifier.LineStringMapBuilderFilter
    extends java.lang.Object
    implements GeometryComponentFilter
    A filter to add linear geometries to the linestring map with the appropriate minimum size constraint. Closed LineStrings (including LinearRings have a minimum output size constraint of 4, to ensure the output is valid. For all other linestrings, the minimum size is 2 points.