Returns the number of pcpoint objects in a pcpatch object.
Syntax
integer ST_NumPoints(pcpatch pc);Parameters
| Parameter | Description |
|---|---|
pc | The pcpatch object. |
Examples
Query the number of points in the first patch from the patches table:
SELECT ST_NumPoints(pa) FROM patches LIMIT 1;Output:
9该文章对您有帮助吗?