Constructs a pcpoint object from a schema ID and a coordinate array.
Syntax
pcpoint ST_makePoint(integer pcid, float8[] vals);Parameters
| Parameter | Description |
|---|---|
pcid | The ID of the point cloud schema. The value comes from the pointcloud_formats table. |
float8[] | The values as a float8 array. The number of elements must match the number of dimensions defined in the schema. |
Examples
SELECT ST_makePoint(1, ARRAY[-127, 45, 124.0, 4.0]);Output:
010100000064CEFFFF94110000703000000400