Session.merge#

Session.merge(geometries, name=None)[source]#

Merge multiple geometries into one.

Parameters:
geometrieslist of Geometry

Geometries to merge. All must belong to the same container (data or models).

namestr, optional

Name for the merged geometry. Defaults to the name of the first input geometry.

Returns:
Geometry

The newly created merged geometry.