All functions

sp

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

CRS() identicalCRS()

Class "CRS" of coordinate reference system arguments

DMS-class

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

GridTopology-class

Class "GridTopology"

Line-class

Class "Line"

Line() Lines()

create objects of class Line or Lines

Lines-class

Class "Lines"

Polygon-class

Class "Polygon"

Polygons-class

Class "Polygons"

Rlogo

Rlogo jpeg image

Spatial() subset(<Spatial>)

Class "Spatial"

SpatialGrid-class

Class "SpatialGrid"

GridTopology() SpatialPixels() SpatialGrid() coordinatevalues() points2grid() getGridIndex() getGridTopology() areaSpatialGrid()

define spatial grid

SpatialGridDataFrame-class

Class "SpatialGridDataFrame"

SpatialPixelsDataFrame() SpatialGridDataFrame()

define spatial grid with attribute data

SpatialLines-class

a class for spatial lines

SpatialLines() SpatialLinesDataFrame() as.SpatialLines.SLDF() getSpatialLinesMidPoints() LineLength() LinesLength() SpatialLinesLengths()

create objects of class SpatialLines or SpatialLinesDataFrame

SpatialLinesDataFrame-class

a class for spatial lines with attributes

SpatialMultiPoints-class

Class "SpatialMultiPoints"

SpatialMultiPoints() SpatialMultiPointsDataFrame()

create objects of class SpatialMultiPoints or SpatialMultiPointsDataFrame

`[`(<SpatialMultiPointsDataFrame>) coerce(<SpatialMultiPointsDataFrame>,<data.frame>) coordinates(<SpatialMultiPointsDataFrame>) show(<SpatialMultiPointsDataFrame>) points(<SpatialMultiPointsDataFrame>)

Class "SpatialMultiPointsDataFrame"

SpatialPixels-class

Class "SpatialPixels"

SpatialPixelsDataFrame-class

Class "SpatialPixelsDataFrame"

SpatialPoints-class

Class "SpatialPoints"

SpatialPoints() SpatialPointsDataFrame()

create objects of class SpatialPoints or SpatialPointsDataFrame

`[`(<SpatialPointsDataFrame>) coerce(<SpatialPointsDataFrame>,<SpatialPoints>) coerce(<SpatialPointsDataFrame>,<data.frame>) coordinates(<SpatialPointsDataFrame>) show(<SpatialPointsDataFrame>) points(<SpatialPointsDataFrame>) rbind(<SpatialPointsDataFrame>)

Class "SpatialPointsDataFrame"

SpatialPolygons-class

Class "SpatialPolygons"

Polygon() Polygons() SpatialPolygons() SpatialPolygonsDataFrame() getSpatialPolygonsLabelPoints()

create objects of class SpatialPolygons or SpatialPolygonsDataFrame

SpatialPolygonsDataFrame-class

Class "SpatialPolygonsDataFrame"

addAttrToGeom()

constructs SpatialXxxDataFrame from geometry and attributes

aggregate(<Spatial>)

aggregation of spatial objects

as.SpatialPolygons.GridTopology() IDvaluesGridTopology() as.SpatialPolygons.SpatialPixels() IDvaluesSpatialPixels() HexPoints2SpatialPolygons()

Make SpatialPolygons object from GridTopology object

as.SpatialPolygons.PolygonsList()

Making SpatialPolygons objects

read.asciigrid() write.asciigrid()

read/write to/from (ESRI) asciigrid format

bbox()

retrieve bbox from spatial data

bpy.colors()

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

bubble()

Create a bubble plot of spatial data

char2dms() dd2dms()

Convert character vector to DMS-class object

compassRose()

Display a compass rose.

coordinates-methods

retrieve (or set) spatial coordinates

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

degAxis()

axis with degrees

dimensions()

retrieve spatial dimensions from spatial data

disaggregate()

disaggregate SpatialLines, SpatialLinesDataFrame, SpatialPolygons, or SpatialPolygonsDataFrame objects

flipHorizontal() flipVertical()

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

geometry() `geometry<-`()

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

gridded() `gridded<-`() fullgrid() `fullgrid<-`() gridparameters()

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

gridIndex2nb()

create neighbourhood (nb) object from grid geometry

gridlines() gridat() labels(<SpatialLines>) text(<SpatialPointsDataFrame>)

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

image(<SpatialGridDataFrame>) image(<SpatialPixelsDataFrame>) image(<SpatialPixels>) contour(<SpatialGridDataFrame>) contour(<SpatialPixelsDataFrame>) as.image.SpatialGridDataFrame() image2Grid()

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

is.projected() proj4string() `proj4string<-`() wkt() get_ll_warn() get_ll_TOL() get_ReplCRS_warn() set_ll_warn() set_ll_TOL() set_ReplCRS_warn()

Sets or retrieves projection attributes on classes extending SpatialData

loadMeuse()

deprecated function to load the Meuse data set

mapasp() degreeLabelsEW() degreeLabelsNS()

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

merge(<Spatial>,<data.frame>)

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

meuse

Meuse river data set

meuse.grid

Prediction Grid for Meuse Data Set

meuse.grid_ll

Prediction Grid for Meuse Data Set, geographical coordinates

meuse.riv meuse.area

River Meuse outline

over() `%over%`

consistent spatial overlay for points, grids and polygons

spplot.key() SpatialPolygonsRescale() sp.lines() sp.points() sp.polygons() sp.grid() sp.text() sp.panel.layout() bbexpand()

panel and panel utility functions for spplot

point.in.polygon()

do point(s) fall in a given polygon?

polygons-methods

Retrieve polygons from SpatialPolygonsDataFrame object

polygons() `polygons<-`()

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

recenter-methods

Methods for Function recenter in Package `sp'

select.spatial()

select points spatially

sp-deprecated

Deprecated functions in sp

spChFIDs-methods

change feature IDs in spatial objects

spDistsN1() spDists()

Euclidean or Great Circle distance between points

spTransform()

spTransform for map projection and datum transformation

spplot() spplot.grid() spplot.polygons() spplot.points() mapLegendGrob() sp.theme() layout.north.arrow() layout.scale.bar() spplot.locator() set_col_regions() get_col_regions()

Plot methods for spatial data with attributes

spsample() makegrid()

sample point locations in (or on) a spatial object

spmap.to.lev() stack(<SpatialPointsDataFrame>) stack(<SpatialGridDataFrame>)

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

surfaceArea() surfaceArea.matrix()

Compute surface area of a digital elevation model.

zerodist() zerodist2() remove.duplicates()

find point pairs with equal spatial coordinates