ee.Geometry.MultiPolygon.cutLines

Converts LineStrings into a MultiLineString by cutting it in two at each distance along the length of the LineString.

UsageReturns
MultiPolygon.cutLines(distances, maxError, proj)Geometry
ArgumentTypeDetails
this: geometryGeometry

Cuts the lines of this geometry.

distancesList

Distances along each LineString to cut the line into separate pieces, measured in units of the given proj, or meters if proj is unspecified.

maxErrorErrorMargin, default: null

The maximum amount of error tolerated when performing any necessary reprojection.

projProjection, default: null

Projection of the result and distance measurements, or WGS84 if unspecified.

Examples

JavaScript

// Your example goes here!

Python

# Your example goes here!