ST_patchMin
Updated at:
Computes the minimum value of each attribute dimension across all pcpoint objects in a pcpatch object, and returns a new pcpoint object with each dimension set to the corresponding minimum.
Syntax
numeric ST_patchMin(pcpatch pc);Parameters
| Parameter | Description |
|---|---|
| pc | The pcpatch object. |
Examples
SELECT ST_AsText(ST_PatchMin(pa)) FROM patches WHERE id = 7;Output:
{"pcid":1,"pt":[-126.5,45.5,50,5]}Is this page helpful?