Learn R Programming

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

sp (version 1.0-17)

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

License

GPL (>= 2)

Maintainer

Edzer Pebesma

Last Published

January 8th, 2015

Functions in sp (1.0-17)

gridlines

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

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

Class "Polygon"
SpatialPolygons-class

Class "SpatialPolygons"
addAttrToGeom-methods

constructs SpatialXxxDataFrame from geometry and attributes
SpatialPoints

create objects of class SpatialPoints or SpatialPointsDataFrame
coordinates-methods

retrieve (or set) spatial coordinates
bpy.colors

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

Class "Spatial"
surfaceArea

Compute surface area of a digital elevation model.
Rlogo

Rlogo jpeg image
coordinates

set spatial coordinates to create a Spatial object, or retrieve spatial coordinates from a Spatial object
bbox-methods

retrieve bbox from spatial data
GridTopology-class

Class "GridTopology"
SpatialGridDataFrame-class

Class "SpatialGridDataFrame"
select.spatial

select points spatially
read.asciigrid

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

Create a bubble plot of spatial data
Line

create objects of class Line or Lines
meuse.grid

Prediction Grid for Meuse Data Set
SpatialPixelsDataFrame

define spatial grid with attribute data
as.SpatialPolygons.GridTopology

Make SpatialPolygons object from GridTopology object
geometry-methods

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

a class for spatial lines
DMS-class

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

Class "Polygons"
gridIndex2nb

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

River Meuse outline
SpatialPixels-class

Class "SpatialPixels"
degAxis

axis with degrees
SpatialLinesDataFrame-class

a class for spatial lines with attributes
SpatialPixels

define spatial grid
SpatialPointsDataFrame-class

Class "SpatialPointsDataFrame"
char2dms

Convert character vector to DMS-class object
compassRose

Display a compass rose.
stack

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

Plot methods for spatial data with attributes
over-methods

consistent spatial overlay for points, grids and polygons
SpatialPoints-class

Class "SpatialPoints"
is.projected

Sets or retrieves projection attributes on classes extending SpatialData
dimensions-methods

retrieve spatial dimensions from spatial data
spTransform

spTransform for map projection and datum transformation
SpatialPixelsDataFrame-class

Class "SpatialPixelsDataFrame"
recenter-methods

Methods for Function recenter in Package `sp'
SpatialPolygons

create objects of class SpatialPolygons or SpatialPolygonsDataFrame
polygons

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

Class "SpatialGrid"
sp-deprecated

Deprecated functions in sp
meuse

Meuse river data set
sp

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

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

Prediction Grid for Meuse Data Set, geographical coordinates
disaggregate-methods

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

Retrieve polygons from SpatialPolygonsDataFrame object
nowrapSpatialLines

Split SpatialLines components at offset
point.in.polygon

do point(s) fall in a given polygon?
gridded-methods

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

deprecated function to load the Meuse data set
spChFIDs-methods

change feature IDs in spatial objects
zerodist

find point pairs with equal spatial coordinates
panel.spplot

panel and panel utility functions for spplot
as.SpatialPolygons.PolygonsList

Making SpatialPolygons objects
SpatialLines

create objects of class SpatialLines or SpatialLinesDataFrame
aggregate

aggregation of spatial objects
Line-class

Class "Line"
image.SpatialGridDataFrame

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

retrieve or assign coordinate names for classes in sp
spDistsN1

Euclidean or Great Circle distance between points
merge

Merge a Spatial* object having attributes with a data.frame
Lines-class

Class "Lines"
SpatialPolygonsDataFrame-class

Class "SpatialPolygonsDataFrame"
spsample

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

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