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 print.DMS show,DMS-method coerce,DMS-method as.double.DMS as.numeric.DMS

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

GridTopology-class print.summary.GridTopology summary,GridTopology-method show,GridTopology-method show,summary.GridTopology-method coerce,GridTopology,data.frame-method coerce,SpatialGrid,GridTopology-method coerce,SpatialPixels,GridTopology-method

Class "GridTopology"

GridsDatums

Grids and Datums PE&RS listing

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 [,SpatialGrid-method print.summary.SpatialGrid as.data.frame.SpatialGrid summary,SpatialGrid-method coerce,SpatialGrid,data.frame-method coerce,SpatialGrid,SpatialPixels-method coerce,SpatialGrid,SpatialPoints-method coerce,SpatialGrid,SpatialPolygons-method show,SpatialGrid-method plot,SpatialGrid,missing-method coordnames,SpatialGrid-method

Class "SpatialGrid"

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

define spatial grid

SpatialGridDataFrame-class [,SpatialGridDataFrame-method show,SpatialGridDataFrame-method cbind.SpatialGridDataFrame plot.SpatialGridDataFrame print.summary.SpatialGridDataFrame as.array.SpatialGridDataFrame coerce,SpatialGridDataFrame,SpatialPointsDataFrame-method coerce,SpatialGridDataFrame,SpatialPixelsDataFrame-method coerce,SpatialGridDataFrame,SpatialPolygonsDataFrame-method coerce,SpatialGridDataFrame,data.frame-method coerce,SpatialGridDataFrame,matrix-method coerce,SpatialGridDataFrame,array-method as.data.frame.SpatialGridDataFrame dim.SpatialGridDataFrame coerce,im,SpatialGridDataFrame-method coerce,ppp,SpatialGridDataFrame-method plot,SpatialGridDataFrame,missing-method

Class "SpatialGridDataFrame"

SpatialPixelsDataFrame() SpatialGridDataFrame()

define spatial grid with attribute data

SpatialLines-class [,SpatialLines-method plot,SpatialLines,missing-method summary,SpatialLines-method rbind.SpatialLines coerce,SpatialLines,SpatialPoints-method coerce,SpatialLines,SpatialPointsDataFrame-method coerce,Lines,SpatialPoints-method coerce,Lines,SpatialMultiPoints-method coerce,SpatialLines,SpatialMultiPoints-method coerce,deldir,SpatialLines-method row.names.SpatialLines

a class for spatial lines

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

create objects of class SpatialLines or SpatialLinesDataFrame

SpatialLinesDataFrame-class coerce,SpatialLinesDataFrame,data.frame-method [,SpatialLinesDataFrame-method rbind.SpatialLinesDataFrame coerce,SpatialLinesDataFrame,SpatialPointsDataFrame-method coerce,SpatialLinesDataFrame,SpatialMultiPointsDataFrame-method dim.SpatialLinesDataFrame row.names.SpatialLinesDataFrame

a class for spatial lines with attributes

SpatialMultiPoints-class [,SpatialMultiPoints-method coerce,SpatialMultiPoints,matrix-method coerce,SpatialMultiPoints,data.frame-method coerce,SpatialMultiPoints,SpatialPoints-method show,SpatialMultiPoints-method as.data.frame.SpatialMultiPoints plot,SpatialMultiPoints,missing-method summary,SpatialMultiPoints-method print.SpatialMultiPoints summary.SpatialMultiPoints rbind.SpatialMultiPoints $,SpatialMultiPoints-method $ row.names.SpatialMultiPoints

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 [,SpatialPixels-method coerce,SpatialPixels,SpatialGrid-method print.summary.SpatialPixels as.data.frame.SpatialPixels summary,SpatialPixels-method coerce,SpatialPixels,data.frame-method show,SpatialPixels-method plot,SpatialPixels,missing-method rbind.SpatialPixels

Class "SpatialPixels"

SpatialPixelsDataFrame-class [,SpatialPixelsDataFrame-method show,SpatialPixelsDataFrame-method plot.SpatialPixelsDataFrame print.summary.SpatialPixelsDataFrame coerce,SpatialPixelsDataFrame,SpatialPointsDataFrame-method coerce,SpatialPixelsDataFrame,SpatialGridDataFrame-method coerce,SpatialPixelsDataFrame,SpatialPolygonsDataFrame-method coerce,SpatialPixelsDataFrame,data.frame-method coerce,SpatialPixelsDataFrame,matrix-method coerce,SpatialPixelsDataFrame,array-method as.data.frame.SpatialPixelsDataFrame rbind.SpatialPixelsDataFrame dim.SpatialPixelsDataFrame plot,SpatialPixelsDataFrame,missing-method

Class "SpatialPixelsDataFrame"

SpatialPoints-class [,SpatialPoints-method coerce,SpatialPoints,matrix-method coerce,SpatialPoints,data.frame-method coerce,SpatialPoints,SpatialPixels-method coerce,SpatialPoints,Line-method coerce,SpatialPoints,Lines-method coerce,SpatialPoints,SpatialLines-method coerce,SpatialPointsDataFrame,SpatialPixelsDataFrame-method show,SpatialPoints-method as.data.frame.SpatialPoints plot,SpatialPoints,missing-method summary,SpatialPoints-method print.SpatialPoints summary.SpatialPoints rbind.SpatialPoints $,SpatialPoints-method $ row.names.SpatialPoints coerce,ppp,SpatialPoints-method

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 [,SpatialPolygons-method as.data.frame.SpatialPolygons as.SpatialPolygonsDataFrame.SpatialPolygons coerce,SpatialPolygons,SpatialPolygonsDataFrame-method plot,SpatialPolygons,missing-method summary,SpatialPolygons-method rbind.SpatialPolygons coerce,Polygons,Lines-method coerce,SpatialPolygons,SpatialLines-method coerce,deldir,SpatialPolygons-method row.names.SpatialPolygons get_Polypath set_Polypath get_PolypathRule set_PolypathRule

Class "SpatialPolygons"

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

create objects of class SpatialPolygons or SpatialPolygonsDataFrame

SpatialPolygonsDataFrame-class [,SpatialPolygonsDataFrame-method as.data.frame.SpatialPolygonsDataFrame coerce,SpatialPolygonsDataFrame,data.frame-method coerce,SpatialPolygonsDataFrame,SpatialLinesDataFrame-method coerce,SpatialPolygonsDataFrame,SpatialPolygons-method rbind.SpatialPolygonsDataFrame dim.SpatialPolygonsDataFrame row.names.SpatialPolygonsDataFrame

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 coordinates,list-method coordinates,data.frame-method coordinates,matrix-method coordinates,SpatialPoints-method coordinates,SpatialMultiPoints-method coordinates,SpatialPolygons-method coordinates,SpatialPolygonsDataFrame-method coordinates,Line-method coordinates,Lines-method coordinates,SpatialLines-method coordinates,GridTopology-method coordinates,SpatialPixels-method coordinates,SpatialPixelsDataFrame-method coordinates,SpatialGrid-method coordinates,SpatialGridDataFrame-method coordinates

retrieve (or set) spatial coordinates

coordinates() `coordinates<-`()

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

coordnames coordnames-methods coordnames,SpatialPoints-method coordnames,SpatialMultiPoints-method coordnames,SpatialLines-method coordnames,Lines-method coordnames,Line-method coordnames,Polygon-method coordnames,Polygons-method coordnames,SpatialPolygons-method coordnames coordnames coordnames coordnames coordnames coordnames coordnames coordnames coordnames coordnames coordnames coordnames coordnames

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

elide()

Methods for Function elide in Package `maptools'

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 polygons,Spatial-method polygons,SpatialPolygons-method polygons

Retrieve polygons from SpatialPolygonsDataFrame object

polygons() `polygons<-`()

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

recenter-methods recenter recenter,SpatialPolygons-method recenter,Polygons-method recenter,Polygon-method recenter,SpatialLines-method recenter,Lines-method recenter,Line-method

Methods for Function recenter in Package `sp'

select.spatial()

select points spatially

set_evolution_status() get_evolution_status()

Deprecated functions in sp

sp2Mondrian()

write map data for Mondrian

spChFIDs-methods spChFIDs spChFIDs spChFIDs,SpatialLines,character-method spChFIDs,SpatialLinesDataFrame,character-method spChFIDs,SpatialPolygons,character-method spChFIDs,SpatialPolygonsDataFrame,character-method spChFIDs

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