公告:所有在
2025 年 4 月 15 日之前注册使用 Earth Engine 的非商业项目都必须
验证是否符合非商业性质的资格条件,才能继续使用 Earth Engine。
ee.Geometry.BBox.transform
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
将几何图形转换为特定投影。
用法 | 返回 |
---|
BBox.transform(proj, maxError) | 几何图形 |
参数 | 类型 | 详细信息 |
---|
此:geometry | 几何图形 | 要重新投影的几何图形。 |
proj | 投影,可选 | 目标投影。默认值为 EPSG:4326。如果此对象具有地理 CRS,则几何图形的边将解释为测地线。否则,它们将被解读为投影中的直线。 |
maxError | ErrorMargin,默认值:null | 最大投影误差。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):2025-07-26。"],[[["\u003cp\u003e\u003ccode\u003etransform()\u003c/code\u003e modifies a geometry's projection to a target projection, defaulting to EPSG:4326.\u003c/p\u003e\n"],["\u003cp\u003eThe geometry's edges are treated as geodesics if the target projection has a geographic CRS, otherwise as straight lines within the projection.\u003c/p\u003e\n"],["\u003cp\u003eAn optional \u003ccode\u003emaxError\u003c/code\u003e parameter controls the acceptable projection error during transformation.\u003c/p\u003e\n"]]],["The `transform` function reprojects a given geometry to a target projection. It accepts the geometry to be reprojected, the desired projection (defaulting to EPSG:4326), and an optional maximum projection error. If the target projection is geographic, geometry edges are treated as geodesics; otherwise, they're considered straight lines. The function returns the transformed geometry after the projection operation is complete.\n"],null,["# ee.Geometry.BBox.transform\n\nTransforms the geometry to a specific projection.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|-------------------------------------------|----------|\n| BBox.transform`(`*proj* `, `*maxError*`)` | Geometry |\n\n| Argument | Type | Details |\n|------------------|----------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| this: `geometry` | Geometry | The geometry to reproject. |\n| `proj` | Projection, optional | The target projection. Defaults to EPSG:4326. If this has a geographic CRS, the edges of the geometry will be interpreted as geodesics. Otherwise they will be interpreted as straight lines in the projection. |\n| `maxError` | ErrorMargin, default: null | The maximum projection error. |"]]