num_points(...)Returns the number of vertices in a geospatial data record
Works with the following datatypes:
This function works with 2.1 and 3.0 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:
The TryIt macro has been disabled until future notice while we upgrade this site to SODA3.
This can be very useful for understanding the complexity of the geometries in a given dataset.