# sp v1.2-7

0

Monthly downloads

## Classes and Methods for Spatial Data

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.

## Functions in sp

Name | Description | |

Polygons-class | Class "Polygons" | |

SpatialMultiPoints-class | Class "SpatialMultiPoints" | |

SpatialMultiPoints | create objects of class SpatialMultiPoints or SpatialMultiPointsDataFrame | |

Lines-class | Class "Lines" | |

Polygon-class | Class "Polygon" | |

Spatial-class | Class "Spatial" | |

SpatialGrid-class | Class "SpatialGrid" | |

SpatialPolygonsDataFrame-class | Class "SpatialPolygonsDataFrame" | |

addAttrToGeom-methods | constructs SpatialXxxDataFrame from geometry and attributes | |

bubble | Create a bubble plot of spatial data | |

char2dms | Convert character vector to DMS-class object | |

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

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

SpatialLines | create objects of class SpatialLines or SpatialLinesDataFrame | |

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

bbox-methods | retrieve bbox from spatial data | |

bpy.colors | blue-pink-yellow color scheme, which also prints well on black/white printers | |

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

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

Line-class | Class "Line" | |

Line | create objects of class Line or Lines | |

SpatialPixels | define spatial grid | |

SpatialGridDataFrame-class | Class "SpatialGridDataFrame" | |

SpatialLinesDataFrame-class | a class for spatial lines with attributes | |

SpatialPolygons-class | Class "SpatialPolygons" | |

SpatialPolygons | create objects of class SpatialPolygons or SpatialPolygonsDataFrame | |

degAxis | axis with degrees | |

dimensions-methods | retrieve spatial dimensions from spatial data | |

merge | Merge a Spatial* object having attributes with a data.frame | |

meuse | Meuse river data set | |

sp-deprecated | Deprecated functions in sp | |

spChFIDs-methods | change feature IDs in spatial objects | |

SpatialPoints | create objects of class SpatialPoints or SpatialPointsDataFrame | |

SpatialPointsDataFrame-class | Class "SpatialPointsDataFrame" | |

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

GridTopology-class | Class "GridTopology" | |

SpatialMultiPointsDataFrame-class | Class "SpatialMultiPointsDataFrame" | |

SpatialPixels-class | Class "SpatialPixels" | |

spplot | Plot methods for spatial data with attributes | |

spsample | sample point locations in (or on) a spatial object | |

gridded-methods | specify spatial data as being gridded, or find out whether they are | |

meuse.riv | River Meuse outline | |

over-methods | consistent spatial overlay for points, grids and polygons | |

polygons-methods | Retrieve polygons from SpatialPolygonsDataFrame object | |

Rlogo | Rlogo jpeg image | |

SpatialPixelsDataFrame | define spatial grid with attribute data | |

SpatialLines-class | a class for spatial lines | |

aggregate | aggregation of spatial objects | |

as.SpatialPolygons.GridTopology | Make SpatialPolygons object from GridTopology object | |

loadMeuse | deprecated function to load the Meuse data set | |

as.SpatialPolygons.PolygonsList | Making SpatialPolygons objects | |

read.asciigrid | read/write to/from (ESRI) asciigrid format | |

gridIndex2nb | create neighbourhood (nb) object from grid geometry | |

polygons | sets spatial coordinates to create spatial data, or retrieves spatial coordinates | |

SpatialPixelsDataFrame-class | Class "SpatialPixelsDataFrame" | |

SpatialPoints-class | Class "SpatialPoints" | |

compassRose | Display a compass rose. | |

coordinates-methods | retrieve (or set) spatial coordinates | |

coordinates | set spatial coordinates to create a Spatial object, or retrieve spatial coordinates from a Spatial object | |

coordnames-methods | retrieve or assign coordinate names for classes in sp | |

meuse.grid | Prediction Grid for Meuse Data Set | |

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

spDistsN1 | Euclidean or Great Circle distance between points | |

spTransform | spTransform for map projection and datum transformation | |

meuse.grid_ll | Prediction Grid for Meuse Data Set, geographical coordinates | |

panel.spplot | panel and panel utility functions for spplot | |

point.in.polygon | do point(s) fall in a given polygon? | |

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

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

image.SpatialGridDataFrame | Image or contour method for gridded spatial data; convert to and from image data structure | |

is.projected | Sets or retrieves projection attributes on classes extending SpatialData | |

surfaceArea | Compute surface area of a digital elevation model. | |

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

select.spatial | select points spatially | |

zerodist | find point pairs with equal spatial coordinates | |

No Results! |

## Vignettes of sp

Name | ||

csdacm.Rnw | ||

intro_sp.Rnw | ||

over.Rnw | ||

No Results! |

## Last month downloads

## Details

License | GPL (>= 2) |

URL | https://github.com/edzer/sp/ https://edzer.github.io/sp/ |

BugReports | https://github.com/edzer/sp/issues |

Collate | bpy.colors.R AAA.R Class-CRS.R CRS-methods.R Class-Spatial.R Spatial-methods.R projected.R Class-SpatialPoints.R SpatialPoints-methods.R Class-SpatialPointsDataFrame.R SpatialPointsDataFrame-methods.R Class-SpatialMultiPoints.R SpatialMultiPoints-methods.R Class-SpatialMultiPointsDataFrame.R SpatialMultiPointsDataFrame-methods.R Class-GridTopology.R Class-SpatialGrid.R Class-SpatialGridDataFrame.R Class-SpatialLines.R SpatialLines-methods.R Class-SpatialLinesDataFrame.R SpatialLinesDataFrame-methods.R Class-SpatialPolygons.R Class-SpatialPolygonsDataFrame.R SpatialPolygons-methods.R SpatialPolygonsDataFrame-methods.R GridTopology-methods.R SpatialGrid-methods.R SpatialGridDataFrame-methods.R SpatialPolygons-internals.R point.in.polygon.R SpatialPolygons-displayMethods.R zerodist.R image.R stack.R bubble.R mapasp.R select.spatial.R gridded.R asciigrid.R spplot.R over.R spsample.R recenter.R dms.R gridlines.R spdists.R rbind.R flipSGDF.R chfids.R loadmeuse.R compassRose.R surfaceArea.R spOptions.R subset.R disaggregate.R sp_spat1.R merge.R aggregate.R |

NeedsCompilation | yes |

Packaged | 2018-01-18 20:46:27 UTC; edzer |

Repository | CRAN |

Date/Publication | 2018-01-19 14:54:40 UTC |

suggests | deldir , gstat , maptools , RColorBrewer , rgdal (>= 0.8-7) , rgeos (>= 0.3-13) |

imports | graphics , grDevices , grid , lattice , stats , utils |

depends | methods , R (>= 3.0.0) |

Contributors | Roger Bivand, Robert Hijmans, Jim Lemon, Barry Rowlingson, Michael Sumner, Don MacQueen, Josh O'Brien, Virgilio Gómez-Rubio, Joseph O'Rourke |

#### Include our badge in your README

```
[![Rdoc](http://www.rdocumentation.org/badges/version/sp)](http://www.rdocumentation.org/packages/sp)
```