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."],[[["Determines if the edges of a geometry are treated as geodesics (curved lines along the Earth's surface) or straight lines in the projection."],["Returns `true` if edges are geodesics, `false` if they are straight lines."],["This method is applicable to all geometry types but is particularly relevant for geometries with edges, like lines and polygons."],["The `edgesAreGeodesics()` method is accessed through a Geometry object (e.g., `Point`, `LineString`, `Polygon`)."]]],["The `edgesAreGeodesics()` method, applied to a geometry object, determines if its edges are geodesics on a spherical Earth model. It returns a boolean: `true` if edges are geodesics, `false` if they are straight lines in the projection. The examples demonstrate using this method on a `Point` geometry in both JavaScript and Python, showing how to define a point, apply the method, and print the boolean result.\n"]]