Extract number of vertices in each polygon in R

المشرف العام

Administrator
طاقم الإدارة
Simple question: how to extract the number of vertices in each polygon in R?

I've found one way that works, but this is very slow (when x is a SpatialPolygonsDataFrame):

y
 
أعلى