公告:所有在
2025 年 4 月 15 日之前注册使用 Earth Engine 的非商业项目都必须
验证是否符合非商业性质的资格条件,才能继续使用 Earth Engine。
ee.Image.geometry
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
返回给定投影中给定要素的几何图形。
用法 | 返回 |
---|
Image.geometry(maxError, proj, geodesics) | 几何图形 |
参数 | 类型 | 详细信息 |
---|
此:feature | 元素 | 从中获取几何图形的要素。 |
maxError | ErrorMargin,默认值:null | 执行任何必要的重新投影时可容忍的最大误差量。 |
proj | 投影,默认值:null | 如果指定,几何图形将采用此投影。如果未指定,几何图形将采用默认投影。 |
geodesics | 布尔值,默认值:null | 如果为 true,则几何图形将具有测地线边。如果为 false,则在指定投影中,边将显示为直线。如果为 null,则边缘解释将与原始几何图形相同。如果未指定 proj,系统会忽略此实参。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):2025-07-26。"],[[["\u003cp\u003eReturns the geometry of an image feature, optionally reprojected and with controlled error margins.\u003c/p\u003e\n"],["\u003cp\u003eAccepts parameters to specify the maximum reprojection error, the desired output projection, and whether to use geodesic edges.\u003c/p\u003e\n"],["\u003cp\u003eBy default, returns the geometry in its original projection and with the original edge interpretation.\u003c/p\u003e\n"],["\u003cp\u003eIf a projection is specified without defining geodesic behavior, the original geometry's edge interpretation is preserved.\u003c/p\u003e\n"],["\u003cp\u003eApplies to image features and allows extraction of their geometric properties for further analysis or visualization.\u003c/p\u003e\n"]]],[],null,["# ee.Image.geometry\n\nReturns the geometry of a given feature in a given projection.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|-----------------------------------------------------------|----------|\n| Image.geometry`(`*maxError* `, `*proj* `, `*geodesics*`)` | Geometry |\n\n| Argument | Type | Details |\n|-----------------|----------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| this: `feature` | Element | The feature from which the geometry is taken. |\n| `maxError` | ErrorMargin, default: null | The maximum amount of error tolerated when performing any necessary reprojection. |\n| `proj` | Projection, default: null | If specified, the geometry will be in this projection. If unspecified, the geometry will be in its default projection. |\n| `geodesics` | Boolean, default: null | If true, the geometry will have geodesic edges. If false, it will have edges as straight lines in the specified projection. If null, the edge interpretation will be the same as the original geometry. This argument is ignored if proj is not specified. |"]]