powered by
count the number of points/vertices/nodes of sf objects
npts(x)
an sf/sfc object
# NOT RUN { npts(franconia) npts(sf::st_geometry(franconia[1, ])) # first polygon npts(breweries) # is the same as nrow(breweries) # }
Run the code above in your browser using DataLab