Announcement: All noncommercial projects registered to use Earth Engine before April 15, 2025 must verify noncommercial eligibility to maintain Earth Engine access.
Stay organized with collections
Save and categorize content based on your preferences.
Converts LineString, MultiLineString, and LinearRing geometries into a MultiLineString by cutting them into parts no longer than the given distance along their length. All other geometry types will be converted to an empty MultiLineString.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-06-05 UTC."],[[["The `cutLines` method converts LineString, MultiLineString, and LinearRing geometries into a MultiLineString by segmenting them into shorter lengths."],["Segmentation is based on specified distances provided as a list to the `distances` parameter."],["The `maxError` parameter controls the tolerance for reprojection errors, while `proj` defines the projection for distance measurements and results."],["All geometry types other than LineString, MultiLineString, and LinearRing are converted to an empty MultiLineString when `cutLines` is applied."]]],["The `cutLines` method converts LineString, MultiLineString, and LinearRing geometries into a MultiLineString by dividing them into segments based on specified distances. It takes a list of `distances` to define cut points, measured in units of the given `proj` or meters by default. It has a `maxError` parameter that sets a tolerance for reprojection error. Other geometry types will return an empty MultiLineString. The outputs are shown with JavaScript and Python code.\n"]]