ee.Geometry.Point

Constructs an ee.Geometry describing a point.

For convenience, varargs may be used when all arguments are numbers. This allows creating EPSG:4326 points, e.g. ee.Geometry.Point(lng, lat).

UsageReturns
ee.Geometry.Point(coords, proj)Geometry.Point
ArgumentTypeDetails
coordsList

A list of two [x,y] coordinates in the given projection.

projProjection, optional

The projection of this geometry, or EPSG:4326 if unspecified.

Examples

JavaScript

// Construct a point from coordinates.
var point = ee.Geometry.Point([-122.09672, 37.42807]);

Python

# Your example goes here!