Learn R Programming

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

sp (version 1.0-14)

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

License

GPL (>= 2)

Maintainer

Edzer Pebesma

Last Published

October 24th, 2013

Functions in sp (1.0-14)

disaggregate-methods

disaggregate SpatialLines, SpatialLinesDataFrame, SpatialPolygons, or SpatialPolygonsDataFrame objects
Polygons-class

Class "Polygons"
SpatialPolygons

create objects of class SpatialPolygons or SpatialPolygonsDataFrame
panel.spplot

panel and panel utility functions for spplot
SpatialPointsDataFrame-class

Class "SpatialPointsDataFrame"
point.in.polygon

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

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

Plot methods for spatial data with attributes
surfaceArea

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

Class "SpatialPixelsDataFrame"
geometry-methods

Methods for retrieving the geometry from a composite (geometry + attributes) object
flip

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

Display a compass rose.
SpatialPixels

define spatial grid
coordinates-methods

retrieve (or set) spatial coordinates
stack

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

Prediction Grid for Meuse Data Set, geographical coordinates
bubble

Create a bubble plot of spatial data
is.projected

Sets or retrieves projection attributes on classes extending SpatialData
merge

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

Calculate aspect ratio for plotting geographic maps; create nice degree axis labels
Spatial-class

Class "Spatial"
SpatialGrid-class

Class "SpatialGrid"
Line

create objects of class Line or Lines
read.asciigrid

read/write to/from (ESRI) asciigrid format
SpatialLines-class

a class for spatial lines
as.SpatialPolygons.PolygonsList

Making SpatialPolygons objects
polygons

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

Class "GridTopology"
SpatialPixelsDataFrame

define spatial grid with attribute data
SpatialGridDataFrame-class

Class "SpatialGridDataFrame"
Rlogo

Rlogo jpeg image
gridIndex2nb

create neighbourhood (nb) object from grid geometry
spTransform

spTransform for map projection and datum transformation
dimensions-methods

retrieve spatial dimensions from spatial data
SpatialPolygons-class

Class "SpatialPolygons"
SpatialLines

create objects of class SpatialLines or SpatialLinesDataFrame
SpatialPolygonsDataFrame-class

Class "SpatialPolygonsDataFrame"
select.spatial

select points spatially
sp-deprecated

Deprecated functions in sp
Lines-class

Class "Lines"
image.SpatialGridDataFrame

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

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

Split SpatialLines components at offset
as.SpatialPolygons.GridTopology

Make SpatialPolygons object from GridTopology object
Polygon-class

Class "Polygon"
spsample

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

a class for spatial lines with attributes
recenter-methods

Methods for Function recenter in Package `sp'
SpatialPoints-class

Class "SpatialPoints"
char2dms

Convert character vector to DMS-class object
SpatialPixels-class

Class "SpatialPixels"
SpatialPoints

create objects of class SpatialPoints or SpatialPointsDataFrame
meuse.riv

River Meuse outline
degAxis

axis with degrees
Line-class

Class "Line"
bpy.colors

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

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

constructs SpatialXxxDataFrame from geometry and attributes
over-methods

consistent spatial overlay for points, grids and polygons
meuse

Meuse river data set
spDistsN1

Euclidean or Great Circle distance between points
loadMeuse

deprecated function to load the Meuse data set
coordinates

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

find point pairs with equal spatial coordinates
meuse.grid

Prediction Grid for Meuse Data Set
bbox-methods

retrieve bbox from spatial data
spChFIDs-methods

change feature IDs in spatial objects
polygons-methods

Retrieve polygons from SpatialPolygonsDataFrame object
CRS-class

Class "CRS" of coordinate reference system arguments
DMS-class

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

retrieve or assign coordinate names for classes in sp