公告:所有在
2025 年 4 月 15 日之前注册使用 Earth Engine 的非商业项目都必须
验证是否符合非商业性质的资格条件,才能继续使用 Earth Engine。
ee.Geometry.MultiPoint
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
构建一个描述 MultiPoint 的 ee.Geometry。
为方便起见,如果所有实参都是数字,则可以使用可变数量实参。这样,您就可以使用偶数个实参创建 EPSG:4326 MultiPoint,例如 ee.Geometry.MultiPoint(aLng, aLat, bLng, bLat, ...)。
用法 | 返回 |
---|
ee.Geometry.MultiPoint(coords, proj) | Geometry.MultiPoint |
参数 | 类型 | 详细信息 |
---|
coords | List<Geometry>|List<List<Number>>|List<Number> | 点列表,每个点采用 GeoJSON“坐标”格式(点),或采用指定投影中的 x、y 坐标列表,或采用描述点的 ee.Geometry。 |
proj | 投影,可选 | 相应几何图形的投影。如果未指定,则默认为输入 ee.Geometry 的投影,如果没有 ee.Geometry 输入,则默认为 EPSG:4326。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[[["\u003cp\u003eCreates a MultiPoint Geometry, representing a collection of points.\u003c/p\u003e\n"],["\u003cp\u003eAccepts a list of points, which can be GeoJSON coordinates, coordinate pairs, or ee.Geometry points.\u003c/p\u003e\n"],["\u003cp\u003eOptionally allows specifying the projection of the geometry, defaulting to the input's projection or EPSG:4326.\u003c/p\u003e\n"],["\u003cp\u003eSupports a simplified construction using varargs for EPSG:4326 MultiPoints with alternating longitude and latitude values.\u003c/p\u003e\n"]]],[],null,["# ee.Geometry.MultiPoint\n\n\u003cbr /\u003e\n\nConstructs an ee.Geometry describing a MultiPoint.\n\n\u003cbr /\u003e\n\nFor convenience, varargs may be used when all arguments are numbers. This allows creating EPSG:4326 MultiPoints given an even number of arguments, e.g. ee.Geometry.MultiPoint(aLng, aLat, bLng, bLat, ...).\n\n| Usage | Returns |\n|--------------------------------------------|---------------------|\n| `ee.Geometry.MultiPoint(coords, `*proj*`)` | Geometry.MultiPoint |\n\n| Argument | Type | Details |\n|----------|----------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `coords` | List\\\u003cGeometry\\\u003e\\|List\\\u003cList\\\u003cNumber\\\u003e\\\u003e\\|List\\\u003cNumber\\\u003e | A list of points, each in the GeoJSON 'coordinates' format of a Point, or a list of the x,y coordinates in the given projection, or an ee.Geometry describing a point. |\n| `proj` | Projection, optional | The projection of this geometry. If unspecified, the default is the projection of the input ee.Geometry, or EPSG:4326 if there are no ee.Geometry inputs. |"]]