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.
Other lines: angle_diff, geo_toptail, is_linepoint, line2df, line_bearing, line_match, line_midpoint, line_sample, line_segment, line_via, mats2line, n_sample_length, onewaygeo, onewayid, points2line, toptail_buff, toptailgs, update_line_geometry
angle_diff
geo_toptail
is_linepoint
line2df
line_bearing
line_match
line_midpoint
line_sample
line_segment
line_via
mats2line
n_sample_length
onewaygeo
onewayid
points2line
toptail_buff
toptailgs
update_line_geometry
# NOT RUN { n_vertices(routes_fast) n_vertices(routes_fast_sf) # }
Run the code above in your browser using DataLab