Learn R Programming

⚠️There's a newer version (2.2-0) of this package.Take me there.

sp (version 1.0-12)

classes and methods for spatial data

Description

A package that provides 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.

Copy Link

Version

Install

install.packages('sp')

Monthly Downloads

198,490

Version

1.0-12

License

GPL (>= 2)

Maintainer

Edzer Pebesma

Last Published

September 2nd, 2013

Functions in sp (1.0-12)

sp

A package providing classes and methods for spatial data: points, lines, polygons and grids
coordnames-methods

retrieve or assign coordinate names for classes in sp
over-methods

consistent spatial overlay for points, grids and polygons
coordinates

sets spatial coordinates to create spatial data, or retrieves spatial coordinates
zerodist

find point pairs with equal spatial coordinates
panel.spplot

panel and panel utility functions for spplot
Spatial-class

Class "Spatial"
SpatialPolygons-class

Class "SpatialPolygons"
stack

rearrange data in SpatialPointsDataFrame or SpatialGridDataFrame for plotting with spplot (levelplot/xyplot wrapper)
spChFIDs-methods

change feature IDs in spatial objects
SpatialPixelsDataFrame-class

Class "SpatialPixelsDataFrame"
read.asciigrid

read/write to/from (ESRI) asciigrid format
surfaceArea

Compute surface area of a digital elevation model.
Rlogo

Rlogo jpeg image
Lines-class

Class "Lines"
flip

rearrange data in SpatialPointsDataFrame or SpatialGridDataFrame for plotting with spplot (levelplot/xyplot wrapper)
bubble

Create a bubble plot of spatial data
SpatialLines

create objects of class SpatialLines or SpatialLinesDataFrame
geometry-methods

Methods for retrieving the geometry from a composite (geometry + attributes) object
Polygon-class

Class "Polygon"
bpy.colors

blue-pink-yellow color scheme, which also prints well on black/white printers
addAttrToGeom-methods

constructs SpatialXxxDataFrame from geometry and attributes
Polygons-class

Class "Polygons"
DMS-class

Class "DMS" for degree, minute, decimal second values
bbox-methods

retrieve bbox from spatial data
sp-deprecated

Deprecated functions in sp
SpatialPixels

define spatial grid
compassRose

Display a compass rose.
loadMeuse

deprecated function to load the Meuse data set
degAxis

axis with degrees
SpatialGrid-class

Class "SpatialGrid"
spsample

sample point locations in (or on) a spatial object
SpatialPoints-class

Class "SpatialPoints"
SpatialLinesDataFrame-class

a class for spatial lines with attributes
mapasp

Calculate aspect ratio for plotting geographic maps; create nice degree axis labels
char2dms

Convert character vector to DMS-class object
SpatialLines-class

a class for spatial lines
SpatialPixelsDataFrame

define spatial grid with attribute data
CRS-class

Class "CRS" of coordinate reference system arguments
SpatialPoints

create objects of class SpatialPoints or SpatialPointsDataFrame
meuse.riv

River Meuse outline
spTransform

spTransform for map projection and datum transformation
SpatialPointsDataFrame-class

Class "SpatialPointsDataFrame"
select.spatial

select points spatially
recenter-methods

Methods for Function recenter in Package `sp'
polygons

sets spatial coordinates to create spatial data, or retrieves spatial coordinates
SpatialPixels-class

Class "SpatialPixels"
Line-class

Class "Line"
as.SpatialPolygons.PolygonsList

Making SpatialPolygons objects
merge

Merge a Spatial* object having attributes with a data.frame
meuse.grid

Prediction Grid for Meuse Data Set
spplot

Plot methods for spatial data with attributes
Line

create objects of class Line or Lines
GridTopology-class

Class "GridTopology"
SpatialPolygons

create objects of class SpatialPolygons or SpatialPolygonsDataFrame
SpatialPolygonsDataFrame-class

Class "SpatialPolygonsDataFrame"
coordinates-methods

retrieve (or set) spatial coordinates
gridIndex2nb

create neighbourhood (nb) object from grid geometry
image.SpatialGridDataFrame

image gridded spatial data, or convert to format for image
SpatialGridDataFrame-class

Class "SpatialGridDataFrame"
meuse

Meuse river data set
gridlines

Create N-S and E-W grid lines over a geographic region
disaggregate-methods

disaggregate SpatialLines, SpatialLinesDataFrame, SpatialPolygons, or SpatialPolygonsDataFrame objects
gridded-methods

specify spatial data as being gridded, or find out whether they are
meuse.grid_ll

Prediction Grid for Meuse Data Set, geographical coordinates
nowrapSpatialLines

Split SpatialLines components at offset
spDistsN1

Euclidean or Great Circle distance between points
dimensions-methods

retrieve spatial dimensions from spatial data
polygons-methods

Retrieve polygons from SpatialPolygonsDataFrame object
point.in.polygon

do point(s) fall in a given polygon?
is.projected

Sets or retrieves projection attributes on classes extending SpatialData
as.SpatialPolygons.GridTopology

Make SpatialPolygons object from GridTopology object