This function computes the minimum 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 minimum values.

Syntax

numeric ST_patchMin(pcpatch pc);

Parameters

Parameter Description
pc The pcpatch object.

Examples

SELECT ST_PatchMin(pa) FROM patches WHERE id = 7;
---------------------------------
{"pcid":1,"pt":[-126.5,45.5,50,5]}