sp: Classes and Methods for Spatial Data

Classes and methods for spatial data; the classes document where the spatial location information resides, for 2D or 3D data. Utility functions are provided, e.g. for plotting data as maps, spatial selection, as well as methods for retrieving coordinates, for subsetting, print, summary, etc.

Author
Edzer Pebesma [aut, cre], Roger Bivand [aut], Barry Rowlingson [ctb], Virgilio Gomez-Rubio [ctb], Robert Hijmans [ctb], Michael Sumner [ctb], Don MacQueen [ctb], Jim Lemon [ctb], Josh O'Brien [ctb]
Date of publication
2016-04-14 16:58:02
Maintainer
Edzer Pebesma <edzer.pebesma@uni-muenster.de>
License
GPL (>= 2)
Version
1.2-3
URLs

View on CRAN

Man pages

00sp
A package providing classes and methods for spatial data:...
addattr
constructs SpatialXxxDataFrame from geometry and attributes
aggregate
aggregation of spatial objects
asciigrid
read/write to/from (ESRI) asciigrid format
as.SpatialPolygons.GridTopology
Make SpatialPolygons object from GridTopology object
as.SpatialPolygons.PolygonsList
Making SpatialPolygons objects
bbox
retrieve bbox from spatial data
bpy.colors
blue-pink-yellow color scheme, which also prints well on...
bubble
Create a bubble plot of spatial data
char2dms
Convert character vector to DMS-class object
compassRose
Display a compass rose.
coordinates
set spatial coordinates to create a Spatial object, or...
coordinates-methods
retrieve (or set) spatial coordinates
coordnames-methods
retrieve or assign coordinate names for classes in sp
CRS-class
Class "CRS" of coordinate reference system arguments
degaxis
axis with degrees
dimensions
retrieve spatial dimensions from spatial data
disaggregate
disaggregate SpatialLines, SpatialLinesDataFrame,...
DMS-class
Class "DMS" for degree, minute, decimal second values
flip
rearrange data in SpatialPointsDataFrame or...
geometry-methods
Methods for retrieving the geometry from a composite...
gridded-methods
specify spatial data as being gridded, or find out whether...
gridindex2nb
create neighbourhood (nb) object from grid geometry
gridlines
Create N-S and E-W grid lines over a geographic region
GridTopology-class
Class "GridTopology"
image
Image or contour method for gridded spatial data; convert to...
is.projected
Sets or retrieves projection attributes on classes extending...
Line
create objects of class Line or Lines
Line-class
Class "Line"
Lines-class
Class "Lines"
loadmeuse
deprecated function to load the Meuse data set
mapasp
Calculate aspect ratio for plotting geographic maps; create...
merge
Merge a Spatial* object having attributes with a data.frame
meuse
Meuse river data set
meuse.grid
Prediction Grid for Meuse Data Set
meuse.grid_ll
Prediction Grid for Meuse Data Set, geographical coordinates
meuse.riv
River Meuse outline
over
consistent spatial overlay for points, grids and polygons
panel
panel and panel utility functions for spplot
point.in.polygon
do point(s) fall in a given polygon?
Polygon-class
Class "Polygon"
polygons
sets spatial coordinates to create spatial data, or retrieves...
Polygons-class
Class "Polygons"
polygons-methods
Retrieve polygons from SpatialPolygonsDataFrame object
recenter-methods
Methods for Function recenter in Package 'sp'
Rlogo
Rlogo jpeg image
select.spatial
select points spatially
Spatial-class
Class "Spatial"
SpatialGrid
define spatial grid
SpatialGrid-class
Class "SpatialGrid"
SpatialGridDataFrame
define spatial grid with attribute data
SpatialGridDataFrame-class
Class "SpatialGridDataFrame"
SpatialLines
create objects of class SpatialLines or SpatialLinesDataFrame
SpatialLines-class
a class for spatial lines
SpatialLinesDataFrame-class
a class for spatial lines with attributes
SpatialMultiPoints
create objects of class SpatialMultiPoints or...
SpatialMultiPoints-class
Class "SpatialMultiPoints"
SpatialMultiPointsDataFrame-class
Class "SpatialMultiPointsDataFrame"
SpatialPixels-class
Class "SpatialPixels"
SpatialPixelsDataFrame-class
Class "SpatialPixelsDataFrame"
SpatialPoints
create objects of class SpatialPoints or...
SpatialPoints-class
Class "SpatialPoints"
SpatialPointsDataFrame-class
Class "SpatialPointsDataFrame"
SpatialPolygons
create objects of class SpatialPolygons or...
SpatialPolygons-class
Class "SpatialPolygons"
SpatialPolygonsDataFrame-class
Class "SpatialPolygonsDataFrame"
spChFIDs-methods
change feature IDs in spatial objects
sp-deprecated
Deprecated functions in sp
spDistsN1
Euclidean or Great Circle distance between points
spplot
Plot methods for spatial data with attributes
spsample
sample point locations in (or on) a spatial object
spTransform
spTransform for map projection and datum transformation
stack
rearrange data in SpatialPointsDataFrame or...
surfaceArea
Compute surface area of a digital elevation model.
zerodist
find point pairs with equal spatial coordinates

Files in this package

sp
sp/inst
sp/inst/CITATION
sp/inst/NEWS.Rd
sp/inst/doc
sp/inst/doc/csdacm.R
sp/inst/doc/intro_sp.R
sp/inst/doc/csdacm.pdf
sp/inst/doc/over.pdf
sp/inst/doc/over.Rnw
sp/inst/doc/csdacm.Rnw
sp/inst/doc/intro_sp.Rnw
sp/inst/doc/intro_sp.pdf
sp/inst/doc/over.R
sp/inst/external
sp/inst/external/test.ag
sp/inst/external/simple.ag
sp/inst/external/seamap105_mod.csv
sp/inst/include
sp/inst/include/sp.h
sp/inst/include/sp_xports.c
sp/tests
sp/tests/point.in.polygon.Rout.save
sp/tests/pass1.Rout.save
sp/tests/spDists.R
sp/tests/point.in.polygon.R
sp/tests/over2.Rout.save
sp/tests/zerodist.R
sp/tests/fail1.R
sp/tests/agg.Rout.save
sp/tests/base.Rout.save
sp/tests/pass1.R
sp/tests/zerodist.Rout.save
sp/tests/over.Rout.save
sp/tests/agg.R
sp/tests/fail1.Rout.save
sp/tests/grid.Rout.save
sp/tests/base.R
sp/tests/sel.Rout.save
sp/tests/nc.Rout.save
sp/tests/spplot.Rout.save
sp/tests/sp1.Rout.save
sp/tests/mp.Rout.save
sp/tests/spDists.Rout.save
sp/tests/grid.R
sp/tests/sp1.R
sp/tests/spplot.R
sp/tests/over2.R
sp/tests/sel.R
sp/src
sp/src/pip2.c
sp/src/sp.h
sp/src/gcdist.c
sp/src/Rcentroid.c
sp/src/sp_xports.c
sp/src/init.c
sp/src/zerodist.c
sp/src/pip.c
sp/src/surfaceArea.c
sp/NAMESPACE
sp/demo
sp/demo/depend.R
sp/demo/webmap.R
sp/demo/mp.R
sp/demo/meuse.R
sp/demo/00Index
sp/demo/gallery.R
sp/demo/polar.R
sp/demo/fib.R
sp/data
sp/data/meuse.grid_ll.rda
sp/data/meuse.rda
sp/data/Rlogo.rda
sp/data/meuse.grid.rda
sp/data/meuse.riv.rda
sp/data/meuse.area.rda
sp/R
sp/R/SpatialPointsDataFrame-methods.R
sp/R/surfaceArea.R
sp/R/flipSGDF.R
sp/R/subset.R
sp/R/Spatial-methods.R
sp/R/point.in.polygon.R
sp/R/chfids.R
sp/R/CRS-methods.R
sp/R/SpatialGridDataFrame-methods.R
sp/R/zerodist.R
sp/R/aggregate.R
sp/R/Class-SpatialMultiPointsDataFrame.R
sp/R/compassRose.R
sp/R/Class-CRS.R
sp/R/Class-SpatialPointsDataFrame.R
sp/R/Class-SpatialLinesDataFrame.R
sp/R/SpatialPolygonsDataFrame-methods.R
sp/R/sp_spat1.R
sp/R/recenter.R
sp/R/Class-SpatialGridDataFrame.R
sp/R/gridlines.R
sp/R/select.spatial.R
sp/R/Class-SpatialPolygons.R
sp/R/Class-Spatial.R
sp/R/dms.R
sp/R/SpatialPolygons-internals.R
sp/R/SpatialLines-methods.R
sp/R/spsample.R
sp/R/asciigrid.R
sp/R/disaggregate.R
sp/R/bubble.R
sp/R/bpy.colors.R
sp/R/Class-SpatialLines.R
sp/R/Class-SpatialMultiPoints.R
sp/R/GridTopology-methods.R
sp/R/SpatialPolygons-methods.R
sp/R/Class-SpatialGrid.R
sp/R/image.R
sp/R/SpatialGrid-methods.R
sp/R/SpatialMultiPointsDataFrame-methods.R
sp/R/loadmeuse.R
sp/R/gridded.R
sp/R/SpatialPoints-methods.R
sp/R/projected.R
sp/R/merge.R
sp/R/stack.R
sp/R/mapasp.R
sp/R/rbind.R
sp/R/spOptions.R
sp/R/SpatialMultiPoints-methods.R
sp/R/spdists.R
sp/R/Class-GridTopology.R
sp/R/Class-SpatialPoints.R
sp/R/spplot.R
sp/R/SpatialPolygons-displayMethods.R
sp/R/AAA.R
sp/R/Class-SpatialPolygonsDataFrame.R
sp/R/over.R
sp/R/SpatialLinesDataFrame-methods.R
sp/vignettes
sp/vignettes/over.Rnw
sp/vignettes/csdacm.Rnw
sp/vignettes/intro_sp.Rnw
sp/MD5
sp/build
sp/build/vignette.rds
sp/DESCRIPTION
sp/man
sp/man/SpatialMultiPoints.Rd
sp/man/SpatialPixels-class.Rd
sp/man/disaggregate.Rd
sp/man/sp-deprecated.Rd
sp/man/SpatialGrid-class.Rd
sp/man/bubble.Rd
sp/man/SpatialGridDataFrame.Rd
sp/man/compassRose.Rd
sp/man/select.spatial.Rd
sp/man/Polygons-class.Rd
sp/man/SpatialPoints.Rd
sp/man/spsample.Rd
sp/man/mapasp.Rd
sp/man/spChFIDs-methods.Rd
sp/man/SpatialPolygonsDataFrame-class.Rd
sp/man/SpatialPixelsDataFrame-class.Rd
sp/man/SpatialMultiPoints-class.Rd
sp/man/00sp.Rd
sp/man/SpatialPolygons.Rd
sp/man/surfaceArea.Rd
sp/man/asciigrid.Rd
sp/man/Lines-class.Rd
sp/man/zerodist.Rd
sp/man/degaxis.Rd
sp/man/SpatialGrid.Rd
sp/man/meuse.Rd
sp/man/addattr.Rd
sp/man/Line-class.Rd
sp/man/coordinates-methods.Rd
sp/man/DMS-class.Rd
sp/man/polygons.Rd
sp/man/stack.Rd
sp/man/merge.Rd
sp/man/meuse.grid.Rd
sp/man/bpy.colors.Rd
sp/man/aggregate.Rd
sp/man/SpatialLinesDataFrame-class.Rd
sp/man/SpatialGridDataFrame-class.Rd
sp/man/point.in.polygon.Rd
sp/man/spplot.Rd
sp/man/spTransform.Rd
sp/man/is.projected.Rd
sp/man/dimensions.Rd
sp/man/Spatial-class.Rd
sp/man/SpatialMultiPointsDataFrame-class.Rd
sp/man/gridindex2nb.Rd
sp/man/Rlogo.Rd
sp/man/SpatialPointsDataFrame-class.Rd
sp/man/recenter-methods.Rd
sp/man/as.SpatialPolygons.PolygonsList.Rd
sp/man/bbox.Rd
sp/man/coordinates.Rd
sp/man/SpatialPolygons-class.Rd
sp/man/SpatialLines-class.Rd
sp/man/polygons-methods.Rd
sp/man/panel.Rd
sp/man/loadmeuse.Rd
sp/man/gridlines.Rd
sp/man/Polygon-class.Rd
sp/man/meuse.grid_ll.Rd
sp/man/SpatialLines.Rd
sp/man/as.SpatialPolygons.GridTopology.Rd
sp/man/image.Rd
sp/man/geometry-methods.Rd
sp/man/CRS-class.Rd
sp/man/coordnames-methods.Rd
sp/man/gridded-methods.Rd
sp/man/Line.Rd
sp/man/meuse.riv.Rd
sp/man/SpatialPoints-class.Rd
sp/man/flip.Rd
sp/man/char2dms.Rd
sp/man/over.Rd
sp/man/spDistsN1.Rd
sp/man/GridTopology-class.Rd