ST_numPoints

更新时间:
复制 MD 格式

Returns the number of pcpoint objects in a pcpatch object.

Syntax

integer ST_NumPoints(pcpatch pc);

Parameters

ParameterDescription
pcThe 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