numpoints Function |
The numpoints function will return the number of vertices of a given geometry object, or the number of points in a given line.
numpoints(expr);
expr | Required. Either a geometry object or a line object |
An whole-number integer value. If expr is a geometry numpoints will return the number of vertices of the geometry object. If expr is a line then numpoints will return the number of points in the line.