ST_patchMax

Updated at:

Returns the maximum value of an attribute dimension for all pcpoint objects in a pcpatch object.

Syntax

numeric ST_patchMax(pcpatch pc, text dimname);

Parameters

Parameter name

Description

pc

The pcpatch object.

dimname

The name of the specified attribute dimension.

Examples

SELECT ST_PatchMax(pa, 'intensity') FROM patches WHERE id = 7;
--------------------------
125.0000000000000000