Extracts and merges the geometries of a collection. Requires that all the geometries in the collection share the projection and edge interpretation.
Caution: providing a large or complex collection as input can result in poor performance. Collating the geometry of collections does not scale well, use the smallest collection that is required to achieve the desired outcome.
The collection whose geometries will be extracted.
An error margin to use when merging geometries.
// FeatureCollection of power plants in Belgium. var fc = ee.FeatureCollection('WRI/GPPD/power_plants') .filter('country_lg == "Belgium"'); print("Point FeatureCollection's geometry", fc.geometry());