Learn R Programming

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

sp (version 1.0-8)

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

187,279

Version

1.0-8

License

GPL (>= 2)

Maintainer

Edzer Pebesma

Last Published

March 29th, 2013

Functions in sp (1.0-8)

addAttrToGeom-methods

constructs SpatialXxxDataFrame from geometry and attributes
degAxis

axis with degrees
mapasp

Calculate aspect ratio for plotting geographic maps; create nice degree axis labels
sp-deprecated

Deprecated functions in sp
Polygons-class

Class "Polygons"
as.SpatialPolygons.GridTopology

Make SpatialPolygons object from GridTopology object
SpatialPolygons

create objects of class SpatialPolygons or SpatialPolygonsDataFrame
SpatialGridDataFrame-class

Class "SpatialGridDataFrame"
bpy.colors

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

create objects of class Line or Lines
zerodist

find point pairs with equal spatial coordinates
SpatialPixelsDataFrame

define spatial grid with attribute data
Lines-class

Class "Lines"
SpatialPixels

define spatial grid
image.SpatialGridDataFrame

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

Class "SpatialGrid"
SpatialPixelsDataFrame-class

Class "SpatialPixelsDataFrame"
SpatialPoints

create objects of class SpatialPoints or SpatialPointsDataFrame
sp

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

Class "SpatialPolygonsDataFrame"
spDistsN1

Euclidean or Great Circle distance between points
GridTopology-class

Class "GridTopology"
SpatialPolygons-class

Class "SpatialPolygons"
gridlines

Create N-S and E-W grid lines over a geographic region
CRS-class

Class "CRS" of coordinate reference system arguments
spChFIDs-methods

change feature IDs in spatial objects
SpatialPointsDataFrame-class

Class "SpatialPointsDataFrame"
nowrapSpatialLines

Split SpatialLines components at offset
meuse.grid

Prediction Grid for Meuse Data Set
SpatialLines

create objects of class SpatialLines or SpatialLinesDataFrame
Spatial-class

Class "Spatial"
select.spatial

select points spatially
bbox-methods

retrieve bbox from spatial data
coordnames-methods

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

consistent spatial overlay for points, grids and polygons
geometry-methods

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

a class for spatial lines
bubble

Create a bubble plot of spatial data
meuse.grid_ll

Prediction Grid for Meuse Data Set, geographical coordinates
as.SpatialPolygons.PolygonsList

Making SpatialPolygons objects
compassRose

Display a compass rose.
point.in.polygon

do point(s) fall in a given polygon?
coordinates

sets spatial coordinates to create spatial data, or retrieves spatial coordinates
coordinates-methods

retrieve (or set) spatial coordinates
DMS-class

Class "DMS" for degree, minute, decimal second values
loadMeuse

deprecated function to load the Meuse data set
recenter-methods

Methods for Function recenter in Package `sp'
char2dms

Convert character vector to DMS-class object
panel.spplot

panel and panel utility functions for spplot
read.asciigrid

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

create neighbourhood (nb) object from grid geometry
meuse.riv

River Meuse outline
Line-class

Class "Line"
dimensions-methods

retrieve spatial dimensions from spatial data
surfaceArea

Compute surface area of a digital elevation model.
polygons

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

Class "Polygon"
flip

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

Rlogo jpeg image
gridded-methods

specify spatial data as being gridded, or find out whether they are
spplot

Plot methods for spatial data with attributes
polygons-methods

Retrieve polygons from SpatialPolygonsDataFrame object
SpatialLinesDataFrame-class

a class for spatial lines with attributes
meuse

Meuse river data set
spsample

sample point locations in (or on) a spatial object
is.projected

Sets or retrieves projection attributes on classes extending SpatialData
stack

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

Class "SpatialPixels"
SpatialPoints-class

Class "SpatialPoints"