Announcement: All noncommercial projects registered to use Earth Engine before April 15, 2025 must verify noncommercial eligibility to maintain access. If you have not verified by September 26, 2025, your access may be on hold.
Stay organized with collections
Save and categorize content based on your preferences.
AI-generated Key Takeaways
The geodesic() method, available for Point geometries in Earth Engine, determines whether edges are rendered as straight lines or curved to follow the Earth's curvature.
It returns a boolean value: true for curved (geodesic) edges and false for straight edges in projections.
Usage involves calling the method on a Point object (point.geodesic()), which inherently defaults to false unless otherwise specified.
Provided examples showcase the implementation of this method in both JavaScript and Python environments within the Earth Engine Code Editor and Google Colab.
If false, edges are straight in the projection. If true, edges are curved to follow the shortest path on the surface of the Earth.
[[["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."],[],["The `geodesic()` method, applicable to a `Point` geometry, determines if edges in a projection are straight or curved. It returns a boolean value. When `false`, edges are straight; when `true`, they curve, following the shortest path on Earth's surface. The examples define a `Point` object, apply the `geodesic()` method, and display the `Point` geometry on a map. The `geodesic` result is also output. The code is illustrated in both JavaScript and Python.\n"]]