Constructs a pcpatch object from an array of pcpoint values.
Syntax
pcpatch ST_Patch(pcpoint[] pts);Parameters
| Parameter | Description |
|---|---|
pts | The pcpoint array. |
Example
The following example inserts patches into the patches table by grouping points from the points table using GROUP BY:
INSERT INTO patches (pa)
SELECT ST_Patch(pt) FROM points GROUP BY id/10;该文章对您有帮助吗?