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.
Returns true if the geometry edges, if any, are geodesics along a spherical model of the earth; if false, any edges are straight lines in the projection.
[[["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 2023-10-06 UTC."],[[["`edgesAreGeodesics()` is a method used to determine if the edges of a MultiLineString geometry are treated as geodesics (curved along the Earth's surface) or straight lines in the projection."],["It returns `true` if the edges are geodesics and `false` if they are straight lines."],["The method is applied to a MultiLineString geometry object and takes no arguments."],["This function is useful for controlling how lines are displayed and analyzed in Earth Engine, especially when dealing with large distances or areas."]]],["The `edgesAreGeodesics()` method checks if a geometry's edges are geodesics on a spherical Earth model. It takes a geometry as input and returns a boolean value. `True` indicates geodesic edges, while `false` means straight lines in the projection. The examples show how to apply this method to a `MultiLineString` object in both JavaScript and Python, printing the boolean result and visualizing the geometry on a map.\n"]]