This function computes the maximum values of all the attribute dimensions for all the pcpoint objects in a pcpatch object and returns a new pcpoint object whose attribute dimensions are set to these maximum values.
Syntax
pcpoint ST_patchMax(pcpatch pc);
Parameters
Parameter | Description |
---|---|
pc | The pcpatch object. |
Examples
SELECT ST_AsText(ST_PatchMax(pa)) FROM patches WHERE id = 7;
----------------------------------
{"pcid":1,"pt":[-126.41,45.59,59,5]}