云数据库 RDS ST_makePatch

By | 2021年4月22日

构造一个pcpatch对象。

语法

pcpatch ST_makePatch(integer pcid,  float8[] vals);

参数

参数名称 描述
pcid schema的id,来自表point_cloud_formats。
float8[] float8数组,数组元素为schema的dimension维度数的整数倍。

示例

SELECT ST_asText(ST_MakePatch(1, ARRAY[-126.99,45.01,1,0, -126.98,45.02,2,0, -126.97,45.03,3,0]));
-------------------------------------------------
{"pcid":1,"pts":[
 [-126.99,45.01,1,0],[-126.98,45.02,2,0],[-126.97,45.03,3,0]
]}

请关注公众号获取更多资料

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注

Iconic One Theme | Powered by Wordpress