ee.FeatureCollection.geometry

Stay organized with collections Save and categorize content based on your preferences.
Extracts and merges the geometries of a collection. Requires that all the geometries in the collection share the projection and edge interpretation.

UsageReturns
FeatureCollection.geometry(maxError)Geometry
ArgumentTypeDetails
this: collectionFeatureCollectionThe collection whose geometries will be extracted.
maxErrorErrorMargin, optionalAn error margin to use when merging geometries.

Examples

Code Editor (JavaScript)

// 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());