Class SegmentStringDissolver

java.lang.Object
org.locationtech.jts.noding.SegmentStringDissolver

public class SegmentStringDissolver extends Object
Dissolves a noded collection of SegmentStrings to produce a set of merged linework with unique segments. A custom SegmentStringDissolver.SegmentStringMerger merging strategy can be supplied. This strategy will be called when two identical (up to orientation) strings are dissolved together. The default merging strategy is simply to discard one of the merged strings.

A common use for this class is to merge noded edges while preserving topological labelling. This requires a custom merging strategy to be supplied to merge the topology labels appropriately.

Version:
1.7
See Also: