SpatialPolygons-class {sp} | R Documentation |
class to hold polygon topology (without attributes)
Objects can be created by calls to the function SpatialPolygons
polygons
:"list"
; list elements are
all of class Polygons-classplotOrder
:"integer"
; integer array
giving the order in which objects should be plotted bbox
:"matrix"
; see Spatial-class proj4string
:"CRS"
; see CRS-class
Class "Spatial"
, directly.
Methods defined with class "SpatialPolygons" in the signature:
signature(obj = "SpatialPolygons")
: select subset of (sets of) polygons; NAs are not permitted in the row index\signature(x = "SpatialPolygons", y = "missing")
:
plot polygons in SpatialPolygons object\signature(object = "SpatialPolygons")
: summarize objectRoger Bivand
grd <- GridTopology(c(1,1), c(1,1), c(10,10)) polys <- as.SpatialPolygons.GridTopology(grd) plot(polys) text(getSpPPolygonsLabptSlots(polys), labels=getSpPPolygonsIDSlots(polys), cex=0.6)