powered by
Returns a vector of the same length as the number of lines, with the number of vertices per line or polygon.
n_vertices(l)
A SpatialLines or SpatalPolygons object
See http://gis.stackexchange.com/questions/58147/ for more information.
# NOT RUN { n_vertices(routes_fast) n_vertices(routes_fast_sf) # }
Run the code above in your browser using DataLab