constructs SpatialXxxDataFrame from geometry and attributes
addAttrToGeom(x, y, match.ID, ...)
geometry (locations) of the queries
data.frame object with attributes
logical; if TRUE, the IDs of the geometry and of the data.frame are matched (possibly swapping records), and an error occurs when some IDs do not match
(optional) arguments passed to the constructor functions
an object of class XxxDataFrame, where Xxx is the class of x