Returns the maximum value of a named attribute dimension across all pcpoint objects in a pcpatch object.
Syntax
numeric ST_patchMax(pcpatch pc, text dimname);Parameters
| Parameter | Description |
|---|---|
pc | The pcpatch object. |
dimname | The name of the attribute dimension. |
Examples
The following example returns the maximum intensity value from the patch stored in the patches table where id = 7.
SELECT ST_PatchMax(pa, 'intensity') FROM patches WHERE id = 7;
--------------------------
125.0000000000000000该文章对您有帮助吗?