Class "SpatialMultiPoints"
Class for (irregularly spaced) MultiPoints class
Objects can be created by calls of the form SpatialPoints(x)
.
coords
:: Object of class "list"
, containing the coordinates of point sets (each list element is a matrix)bbox
:: Object of class "matrix"
, with bounding boxproj4string
:: Object of class "CRS"
, projection stringClass "Spatial"
, directly.
signature(x = "SpatialMultiPoints")
: subsets point setssignature(from = "SpatialPoints", to = "data.frame")
: coerce to data.framesignature(obj = "SpatialMultiPoints")
: retrieves all the coordinates, as one single matrixsignature(x = "SpatialPoints", y = "missing")
: plot pointssignature(object = "SpatialPoints")
: summarize objectsignature(x = "SpatialPoints")
: add point symbols to plotsignature(object = "SpatialPoints")
: prints coordinatessignature(object = "SpatialPoints")
: rbind-like methodThe plot method for SpatialPoints objects takes the following arguments:
par
usr bounding box, see note in Spatial-classEdzer Pebesma, edzer.pebesma@uni-muenster.de
SpatialMultiPointsDataFrame-class
SpatialPoints-class
cl1 = cbind(rnorm(3, 10), rnorm(3, 10)) cl2 = cbind(rnorm(5, 10), rnorm(5, 0)) cl3 = cbind(rnorm(7, 0), rnorm(7, 10)) mp = SpatialMultiPoints(list(cl1, cl2, cl3)) plot(mp, col = 2, cex = 1, pch = 1:3) mp mp[1:2] print(mp, asWKT=TRUE, digits=3)