Computes the average value of an attribute dimension across all pcpoint objects in a pcpatch object.
Syntax
numeric ST_patchAvg(pcpatch pc, text dimname);Parameters
| Parameter | Description |
|---|---|
pc | The pcpatch object. |
dimname | The name of the attribute dimension to average. |
Examples
SELECT ST_PatchAvg(pa, 'intensity') FROM patches WHERE id = 7;
--------------------------
5.0000000000000000该文章对您有帮助吗?