This function returns true if all the pcpoint objects in a pcpatch object are sorted based on the specified attribute dimensions.
Syntax
boolean ST_isSorted(pcpatch pc, text[] dimnames, boolean strict default true);Parameters
| Parameter | Description |
|---|---|
| pc | The pcpatch object. |
| dimnames | The array of attribute dimension names. |
| strict | Indicates whether each pcpoint object has unique values for the specified attribute dimensions. |
Examples
SELECT ST_isSorted(pa, Array['a','c']) FROM patches;
------------------------------------------------------------
f
(1 rows)