static class TopologyPreservingSimplifier.LineStringMapBuilderFilter extends java.lang.Object implements GeometryComponentFilter
LineString
s (including LinearRing
s
have a minimum output size constraint of 4,
to ensure the output is valid.
For all other linestrings, the minimum size is 2 points.Modifier and Type | Field and Description |
---|---|
(package private) TopologyPreservingSimplifier |
tps |
Constructor and Description |
---|
LineStringMapBuilderFilter(TopologyPreservingSimplifier tps) |
Modifier and Type | Method and Description |
---|---|
void |
filter(Geometry geom)
Filters linear geometries.
|
TopologyPreservingSimplifier tps
LineStringMapBuilderFilter(TopologyPreservingSimplifier tps)
public void filter(Geometry geom)
filter
in interface GeometryComponentFilter
geom
- a Geometry
to which the filter is applied.