addAttrToGeom-methods

0th

Percentile

constructs SpatialXxxDataFrame from geometry and attributes

constructs SpatialXxxDataFrame from geometry and attributes

Keywords
methods
Usage
addAttrToGeom(x, y, match.ID, ...)
Arguments
x
geometry (locations) of the queries
y
data.frame object with attributes
match.ID
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
Value

  • an object of class XxxDataFrame, where Xxx is the class of x

See Also

overlay, point.in.polygon

Aliases
  • addAttrToGeom
  • addAttrToGeom-methods
  • addAttrToGeom,SpatialPoints,data.frame-method
  • addAttrToGeom,SpatialGrid,data.frame-method
  • addAttrToGeom,SpatialPixels,data.frame-method
  • addAttrToGeom,SpatialPolygons,data.frame-method
  • addAttrToGeom,SpatialLines,data.frame-method
Documentation reproduced from package sp, version 1.0-8, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.