ee.Geometry.transform

Transforms the geometry to a specific projection.

UsageReturns
Geometry.transform(proj, maxError)Geometry
ArgumentTypeDetails
this: geometryGeometryThe geometry to reproject.
projProjection, optionalThe target projection. Defaults to EPSG:4326. If this has a geographic CRS, the edges of the geometry will be interpreted as geodesics. Otherwise they will be interpreted as straight lines in the projection.
maxErrorErrorMargin, default: nullThe maximum projection error.