Learn R Programming

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

sp (version 1.0-13)

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-13

License

GPL (>= 2)

Maintainer

Edzer Pebesma

Last Published

September 5th, 2013

Functions in sp (1.0-13)

SpatialLines-class

a class for spatial lines
SpatialPixels

define spatial grid
SpatialGrid-class

Class "SpatialGrid"
SpatialPointsDataFrame-class

Class "SpatialPointsDataFrame"
zerodist

find point pairs with equal spatial coordinates
stack

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

Convert character vector to DMS-class object
SpatialPoints-class

Class "SpatialPoints"
meuse.riv

River Meuse outline
Spatial-class

Class "Spatial"
coordinates

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

Class "Line"
gridlines

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

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

Class "SpatialPixels"
spsample

sample point locations in (or on) a spatial object
mapasp

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

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

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

retrieve bbox from spatial data
spTransform

spTransform for map projection and datum transformation
as.SpatialPolygons.GridTopology

Make SpatialPolygons object from GridTopology object
nowrapSpatialLines

Split SpatialLines components at offset
loadMeuse

deprecated function to load the Meuse data set
flip

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

Prediction Grid for Meuse Data Set
geometry-methods

Methods for retrieving the geometry from a composite (geometry + attributes) object
over-methods

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

Methods for Function recenter in Package `sp'
coordnames-methods

retrieve or assign coordinate names for classes in sp
spplot

Plot methods for spatial data with attributes
is.projected

Sets or retrieves projection attributes on classes extending SpatialData
SpatialPixelsDataFrame

define spatial grid with attribute data
spChFIDs-methods

change feature IDs in spatial objects
read.asciigrid

read/write to/from (ESRI) asciigrid format
meuse.grid_ll

Prediction Grid for Meuse Data Set, geographical coordinates
Polygons-class

Class "Polygons"
Rlogo

Rlogo jpeg image
SpatialLinesDataFrame-class

a class for spatial lines with attributes
degAxis

axis with degrees
panel.spplot

panel and panel utility functions for spplot
SpatialPolygonsDataFrame-class

Class "SpatialPolygonsDataFrame"
surfaceArea

Compute surface area of a digital elevation model.
SpatialPixelsDataFrame-class

Class "SpatialPixelsDataFrame"
SpatialLines

create objects of class SpatialLines or SpatialLinesDataFrame
Polygon-class

Class "Polygon"
Line

create objects of class Line or Lines
polygons-methods

Retrieve polygons from SpatialPolygonsDataFrame object
bpy.colors

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

Class "SpatialPolygons"
select.spatial

select points spatially
spDistsN1

Euclidean or Great Circle distance between points
merge

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

Meuse river data set
coordinates-methods

retrieve (or set) spatial coordinates
SpatialGridDataFrame-class

Class "SpatialGridDataFrame"
DMS-class

Class "DMS" for degree, minute, decimal second values
GridTopology-class

Class "GridTopology"
addAttrToGeom-methods

constructs SpatialXxxDataFrame from geometry and attributes
SpatialPolygons

create objects of class SpatialPolygons or SpatialPolygonsDataFrame
bubble

Create a bubble plot of spatial data
compassRose

Display a compass rose.
disaggregate-methods

disaggregate SpatialLines, SpatialLinesDataFrame, SpatialPolygons, or SpatialPolygonsDataFrame objects
image.SpatialGridDataFrame

image gridded spatial data, or convert to format for image
dimensions-methods

retrieve spatial dimensions from spatial data
gridded-methods

specify spatial data as being gridded, or find out whether they are
sp-deprecated

Deprecated functions in sp
SpatialPoints

create objects of class SpatialPoints or SpatialPointsDataFrame
point.in.polygon

do point(s) fall in a given polygon?
Lines-class

Class "Lines"
gridIndex2nb

create neighbourhood (nb) object from grid geometry
as.SpatialPolygons.PolygonsList

Making SpatialPolygons objects