ee.Feature.transform

Transforms the geometry of a feature to a specific projection.

UsageReturns
Feature.transform(proj, maxError)Feature
ArgumentTypeDetails
this: featureElement

The feature the geometry of which is being converted.

projProjection, optional

The target projection. Defaults to WGS84. 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: null

The maximum projection error.

Examples

JavaScript

// Your example goes here!

Python

# Your example goes here!