ee.Geometry.MultiPoint
Constructs an ee.Geometry describing a MultiPoint.
For 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, ...).
Usage | Returns |
---|
ee.Geometry.MultiPoint(coords, proj) | Geometry.MultiPoint |
Argument | Type | Details |
---|
coords | List | 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. |
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. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-10-06 UTC.
[null,null,["Last updated 2023-10-06 UTC."],[[["Creates a MultiPoint Geometry, representing a collection of points."],["Accepts a list of points, which can be GeoJSON coordinates, coordinate pairs, or ee.Geometry points."],["Optionally allows specifying the projection of the geometry, defaulting to the input's projection or EPSG:4326."],["Supports a simplified construction using varargs for EPSG:4326 MultiPoints with alternating longitude and latitude values."]]],[]]