Socrata was acquired by Tyler Technologies in 2018 and is now the Data and Insights division of Tyler. The platform is still powered by the same software formerly known as Socrata but you will see references to Data & Insights going forward.



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:$select=name,num_points(the_geom)&$order=num_points(the_geom) DESC&$limit=1

This can be very useful for understanding the complexity of the geometries in a given dataset.