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 that determines if the edges of a geometry are treated as geodesics (curved lines following the Earth's curvature) or straight lines in the projection."],["This method returns `true` if the edges are geodesics and `false` if they are straight lines."],["It can be applied to `Geometry` objects, such as Polygons, to understand how their edges are interpreted in Earth Engine's computations."],["The method takes no arguments other than the geometry object itself."]]],["The `edgesAreGeodesics()` method, applied to a geometry object, determines if its edges follow geodesics on a spherical Earth model. It returns a Boolean value: `true` indicates geodesic edges, while `false` means edges are straight lines in the projection. The method is used on geometry objects, including polygons, and no additional parameters are needed. The example code demonstrates applying `edgesAreGeodesics()` to a polygon and printing the Boolean result.\n"]]