Retrieve the number of vertices from a SpatialLines or SpatialPolygons object
Returns a vector of the same length as the number of lines, with the number of vertices per line or polygon.
n_vertices(l)
l |
A SpatialLines or SpatalPolygons object |
See https://gis.stackexchange.com/questions/58147/ for more information.
Other lines:
angle_diff(),
geo_toptail(),
is_linepoint(),
line2df(),
line2points(),
line_bearing(),
line_breakup(),
line_match(),
line_midpoint(),
line_sample(),
line_segment(),
line_via(),
mats2line(),
n_sample_length(),
onewaygeo(),
points2line(),
toptail_buff(),
toptailgs(),
update_line_geometry()
n_vertices(routes_fast) n_vertices(routes_fast_sf)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.