Learn R Programming

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

sp (version 0.9-34)

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

0.9-34

License

GPL (>= 2)

Maintainer

Edzer Pebesma

Last Published

March 31st, 2009

Functions in sp (0.9-34)

CRS-class

Class "CRS" of coordinate reference system arguments
SpatialPixels

define spatial grid
SpatialGrid-class

Class "SpatialGrid" ~~~
SpatialLines-class

a class for spatial lines
bubble

Create a bubble plot of spatial data
SpatialLines

create objects of class SpatialLines or SpatialLinesDataFrame
SpatialPolygons-class

Class "SpatialPolygons"
gridded-methods

specify spatial data as being gridded, or find out whether they are
SpatialLinesDataFrame-class

a class for spatial lines with attributes
Line-class

Class "Line"
SpatialPolygonsDataFrame-class

Class "SpatialPolygonsDataFrame"
as.SpatialPolygons.PolygonsList

Making SpatialPolygons objects
select.spatial

select points spatially
stack

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

define spatial grid with attribute data
polygons-methods

Retrieve polygons from SpatialPolygonsDataFrame object
recenter-methods

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

Class "Lines"
DMS-class

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

spatial overlay for points, grids and polygons
degAxis

axis with degrees
GridTopology-class

Class "GridTopology" ~~~
gridlines

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

create objects of class SpatialPolygons or SpatialPolygonsDataFrame
bbox-methods

retrieve bbox from spatial data
dimensions-methods

retrieve spatial dimensions from spatial data
sp

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

Convert character vector to DMS-class object
polygons

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

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

Class "SpatialPoints" ~~~
SpatialPixels-class

Class "SpatialPixels" ~~~
image.SpatialGridDataFrame

image gridded spatial data, or convert to format for image
coordinates

sets spatial coordinates to create spatial data, or retrieves spatial coordinates
meuse.grid

Prediction Grid for Meuse Data Set
coordnames-methods

retrieve or assign coordinate names for classes in sp
SpatialPixelsDataFrame-class

Class "SpatialPixelsDataFrame" ~~~
bpy.colors

blue-pink-yellow color scheme that prints well on black/white printers
meuse.grid_ll

Prediction Grid for Meuse Data Set, geographical coordinates
meuse

Meuse river data set
read.asciigrid

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

Calculate aspect ratio for plotting geographic maps
Line

create objects of class Line or Lines
Polygons-class

Class "Polygons"
coordinates-methods

retrieve (or set) spatial coordinates
spplot

Plot methods for spatial data with attributes
Polygon-class

Class "Polygon"
spDistsN1

Euclidean or Great Circle distance between points
meuse.riv

River Meuse outline
panel.spplot

panel and panel utility functions for spplot
SpatialPointsDataFrame-class

Class "SpatialPointsDataFrame"
is.projected

Sets or retrieves projection attributes on classes extending SpatialData
point.in.polygon

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

Split SpatialLines components at offset
Spatial-class

Class "Spatial"
SpatialGridDataFrame-class

Class "SpatialGridDataFrame"
SpatialPoints

create objects of class SpatialPoints or SpatialPointsDataFrame
as.SpatialPolygons.GridTopology

Make SpatialPolygons object from GridTopology object
zerodist

find point pairs with equal spatial coordinates
overlay-methods

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

Rlogo jpeg image