num_points(...)
Returns the number of vertices in a geospatial data record
Works with the following datatypes:
This function works with 2.1 endpoint(s). What does this mean? »
The num_points(...)
function returns the number of vertices that a given geometry is comprised of. For example, a rectangle would contain four vertices. For example, to get the city with the most vertices in the Tiger Line “Places” dataset:
This can be very useful for understanding the complexity of the geometries in a given dataset.