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."],[[["This function, `edgesAreGeodesics()`, determines if the edges of a geometry are treated as geodesics (curved lines following the Earth's curvature) or straight lines in the projection."],["It returns `true` if the edges are geodesics, indicating they follow the Earth's curvature, and `false` if they are straight lines."],["The function is applied to a Geometry object and returns a boolean value."],["It's useful for understanding how the geometry's edges are interpreted in calculations and visualizations on the Earth's surface."]]],["The `edgesAreGeodesics()` method, applied to a Geometry object, determines if the geometry's edges follow geodesics on a spherical earth model. It returns a boolean value: `true` if edges are geodesics, `false` if they are straight lines in the projection. The provided examples demonstrate creating a polygon Geometry and then checking its edge type. The result is printed to the console. A map shows the Geometry for visualization.\n"]]