Class: LineMerger

jsts.operation.linemerge.LineMerger

new LineMerger()

Creates a new line merger.
Source:

Methods

addCollection(geometries)

Adds a collection of Geometries to be processed. May be called multiple times. Any dimension of Geometry may be added; the constituent linework will be extracted.
Parameters:
Name Type Description
geometries the geometries to be line-merged
Source:

addGeometry(geometry)

Adds a Geometry to be processed. May be called multiple times. Any dimension of Geometry may be added; the constituent linework will be extracted.
Parameters:
Name Type Description
geometry geometry to be line-merged
Source:

getMergedLineStrings()

Gets the LineStrings created by the merging process.
Source:
Returns:
the collection of merged LineStrings