构造一个pcpoint对象。
语法
pcpoint ST_makePoint(integer pcid, float8[] vals);
参数
|
参数名称 |
描述 |
|
pcid |
schema的id,来自表pointcloud_formats。 |
|
float8[] |
float8数组,数组元素个数取决于schema的dimension。 |
示例
说明
使用ST_makePoint函数前,除安装扩展外,还需要定义点云schema,详细介绍请参考点云模型。
SELECT ST_makePoint(1, ARRAY[-127, 45, 124.0, 4.0]);
返回结果如下:
st_makepoint
----------------------------------------
010100000064CEFFFF94110000703000000400
(1 row)
该文章对您有帮助吗?