Learn R Programming

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

sp (version 0.9-71)

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

0.9-71

License

GPL (>= 2)

Maintainer

Edzer Pebesma

Last Published

October 11th, 2010

Functions in sp (0.9-71)

DMS-class

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

Class "Polygons"
SpatialGridDataFrame-class

Class "SpatialGridDataFrame"
polygons-methods

Retrieve polygons from SpatialPolygonsDataFrame object
is.projected

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

Making SpatialPolygons objects
panel.spplot

panel and panel utility functions for spplot
Rlogo

Rlogo jpeg image
Line

create objects of class Line or Lines
coordinates-methods

retrieve (or set) spatial coordinates
polygons

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

axis with degrees
meuse.grid

Prediction Grid for Meuse Data Set
SpatialGrid-class

Class "SpatialGrid" ~~~
char2dms

Convert character vector to DMS-class object
point.in.polygon

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

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

Class "SpatialPolygons"
SpatialPolygonsDataFrame-class

Class "SpatialPolygonsDataFrame"
bpy.colors

blue-pink-yellow color scheme that prints well on black/white printers
CRS-class

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

a class for spatial lines with attributes
SpatialPixels

define spatial grid
mapasp

Calculate aspect ratio for plotting geographic maps
Spatial-class

Class "Spatial"
bubble

Create a bubble plot of spatial data
sp

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

Class "SpatialPixelsDataFrame" ~~~
overlay

spatial overlay for points, grids and polygons
SpatialLines

create objects of class SpatialLines or SpatialLinesDataFrame
SpatialLines-class

a class for spatial lines
GridTopology-class

Class "GridTopology" ~~~
SpatialPolygons

create objects of class SpatialPolygons or SpatialPolygonsDataFrame
Line-class

Class "Line"
SpatialPoints-class

Class "SpatialPoints" ~~~
SpatialPointsDataFrame-class

Class "SpatialPointsDataFrame"
gridded-methods

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

Split SpatialLines components at offset
meuse.grid_ll

Prediction Grid for Meuse Data Set, geographical coordinates
read.asciigrid

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

create objects of class SpatialPoints or SpatialPointsDataFrame
meuse.riv

River Meuse outline
SpatialPixels-class

Class "SpatialPixels" ~~~
surfaceArea

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

Class "Lines"
meuse

Meuse river data set
dimensions-methods

retrieve spatial dimensions from spatial data
Polygon-class

Class "Polygon"
spDistsN1

Euclidean or Great Circle distance between points
spChFIDs-methods

change feature IDs in spatial objects
loadMeuse

load the Meuse data set
select.spatial

select points spatially
zerodist

find point pairs with equal spatial coordinates
coordnames-methods

retrieve or assign coordinate names for classes in sp
image.SpatialGridDataFrame

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

retrieve bbox from spatial data
recenter-methods

Methods for Function recenter in Package `sp'
SpatialPixelsDataFrame

define spatial grid with attribute data
gridlines

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

Display a compass rose.
spplot

Plot methods for spatial data with attributes
overlay-methods

Methods for spatially overlay-ing points (grids) and polygons layers
stack

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

Make SpatialPolygons object from GridTopology object
flip

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

sample point locations in (or on) a spatial object