Skip to content

geos.GEOSLineMerge ⇒ GEOSGeometry

Merges a set of LineStrings, joining them at nodes which have cardinality 2. Lines may have their direction reversed.

Kind: global property of geos
Returns: GEOSGeometry - The merged linework. Caller is responsible for freeing with GEOSGeom_destroy().

ParamTypeDescription
gGEOSGeometryThe input linework

geos.GEOSLineMergeDirected ⇒ GEOSGeometry

Merges a set of LineStrings, joining them at nodes which have cardinality 2. and where the lines have the same direction. This means that lines do not have their direction reversed.

Kind: global property of geos
Returns: GEOSGeometry - The merged linework. Caller is responsible for freeing with GEOSGeom_destroy().

ParamTypeDescription
gGEOSGeometryThe input linework

geos.GEOSLineMergeDirected_r ⇒ GEOSGeometry

Merges a set of LineStrings, joining them at nodes which have cardinality 2. and where the lines have the same direction. This means that lines do not have their direction reversed.

Kind: global property of geos
Returns: GEOSGeometry - The merged linework. Caller is responsible for freeing with GEOSGeom_destroy().

ParamTypeDescription
handleGEOSContextHandle_t-
gGEOSGeometryThe input linework

geos.GEOSLineMerge_r ⇒ GEOSGeometry

Merges a set of LineStrings, joining them at nodes which have cardinality 2. Lines may have their direction reversed.

Kind: global property of geos
Returns: GEOSGeometry - The merged linework. Caller is responsible for freeing with GEOSGeom_destroy().

ParamTypeDescription
handleGEOSContextHandle_t-
gGEOSGeometryThe input linework