ee.Algorithms.GeometryConstructors.LineString

Constructs a LineString from the given coordinates.

UsageReturns
ee.Algorithms.GeometryConstructors.LineString(coordinates, crs, geodesic)Geometry
ArgumentTypeDetails
coordinatesList

The list of Points or pairs of Numbers in x,y order.

crsProjection, default: null

The coordinate reference system of the coordinates. The default is the projection of the inputs, where Numbers are assumed to be EPSG:4326.

geodesicBoolean, default: null

If false, edges are straight in the projection. If true, edges are curved to follow the shortest path on the surface of the Earth. The default is the geodesic state of the inputs, or true if the inputs are numbers.

Examples

JavaScript

// Your example goes here!

Python

# Your example goes here!