ee.Feature.geometry

Returns the geometry of a given feature in a given projection.

UsageReturns
Feature.geometry(maxError, proj, geodesics)Geometry
ArgumentTypeDetails
this: featureElementThe feature from which the geometry is taken.
maxErrorErrorMargin, default: nullThe maximum amount of error tolerated when performing any necessary reprojection.
projProjection, default: nullIf specified, the geometry will be in this projection. If unspecified, the geometry will be in its default projection.
geodesicsBoolean, default: nullIf true, the geometry will have geodesic edges. If false, it will have edges as straight lines in the specified projection. If null, the edge interpretation will be the same as the original geometry. This argument is ignored if proj is not specified.