公告:所有在
2025 年 4 月 15 日之前注册使用 Earth Engine 的非商业项目都必须
验证是否符合非商业性质的资格条件,才能继续使用 Earth Engine。
ee.call
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
使用给定的位置实参调用函数。
返回一个表示所调用函数的对象。如果签名指定了可识别的返回类型,则返回的值将强制转换为该类型。
用法 | 返回 |
---|
ee.call(func, var_args) | ComputedObject |
参数 | 类型 | 详细信息 |
---|
func | 函数|字符串 | 要调用的函数。ee.Function 对象或 API 函数的名称。 |
var_args | VarArgs<Object> | 传递到函数的位置参数。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[[["\u003cp\u003e\u003ccode\u003eee.call()\u003c/code\u003e executes a specified function with provided arguments, returning a \u003ccode\u003eComputedObject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt accepts a function (as an \u003ccode\u003eee.Function\u003c/code\u003e object or an API function name) and positional arguments.\u003c/p\u003e\n"],["\u003cp\u003eIf the function's signature defines a specific return type, the output is automatically cast to that type.\u003c/p\u003e\n"]]],[],null,["# ee.call\n\n\u003cbr /\u003e\n\nCall a function with the given positional arguments.\n\n\u003cbr /\u003e\n\nReturns an object representing the called function. If the signature specifies a recognized return type, the returned value will be cast to that type.\n\n| Usage | Returns |\n|---------------------------|----------------|\n| `ee.call(func, var_args)` | ComputedObject |\n\n| Argument | Type | Details |\n|------------|-------------------|------------------------------------------------------------------------------------|\n| `func` | Function\\|String | The function to call. Either an ee.Function object or the name of an API function. |\n| `var_args` | VarArgs\\\u003cObject\\\u003e | Positional arguments to pass to the function. |"]]