geetools.FeatureCollectionAccessor.mergeGeometries#

geetools.FeatureCollectionAccessor.mergeGeometries()#

Merge the geometries the included features.

Returns:

the dissolved geometry

Return type:

ee.Geometry

Example

import ee
import geetools

ee.Initialize()

fc = ee.FeatureCollection("FAO/GAUL/2015/level0")
fc =fc.filter(ee.Filter.inList("ADM0_CODE", [122, 237, 85]))
geom = fc.geetools.mergeGeometries()
print(geom.getInfo())