Is there a cleaner way to check all IDs of a spatialPolygons object? I know how to do it with one: > slot(spol at polygons[[2]],"ID") [1] "g2" and for all of them I use
sapply(spol at polygons,slot,"ID")
is there something more straightforward, sort of spFIDs() (by analogy to spChFIDs() )? Thanks Agus