This function sorts all the pcpoint objects in a pcpatch object based on the specified attribute dimensions and returns a new pcpatch object that is composed of the sorted pcpoint objects.
Syntax
pcpatch ST_sort(pcpatch pc, text[] dimnames);
Parameters
Parameter | Description |
---|---|
pc | The pcpatch object. |
dimnames | The array of attribute dimension names. |
Examples
update patches set pa=ST_Sort(pa, Array['y','x']);
--------------------------------------
(1 rows)