Package: sp 2.1-4
sp: 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. From this version, 'rgdal', 'maptools', and 'rgeos' are no longer used at all, see <https://r-spatial.org/r/2023/05/15/evolution4.html> for details.
Authors:
sp_2.1-4.tar.gz
sp_2.1-4.zip(r-4.5)sp_2.1-4.zip(r-4.4)sp_2.1-4.zip(r-4.3)
sp_2.1-4.tgz(r-4.4-x86_64)sp_2.1-4.tgz(r-4.4-arm64)sp_2.1-4.tgz(r-4.3-x86_64)sp_2.1-4.tgz(r-4.3-arm64)
sp_2.1-4.tar.gz(r-4.5-noble)sp_2.1-4.tar.gz(r-4.4-noble)
sp_2.1-4.tgz(r-4.4-emscripten)sp_2.1-4.tgz(r-4.3-emscripten)
sp.pdf |sp.html✨
sp/json (API)
NEWS
# Install 'sp' in R: |
install.packages('sp', repos = c('https://edzer.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/edzer/sp/issues
- GridsDatums - Grids and Datums PE&RS listing
- Rlogo - Rlogo jpeg image
- gt - Rlogo jpeg image
- meuse - Meuse river data set
- meuse.area - River Meuse outline
- meuse.grid - Prediction Grid for Meuse Data Set
- meuse.grid_ll - Prediction Grid for Meuse Data Set, geographical coordinates
- meuse.riv - River Meuse outline
Last updated 3 months agofrom:1465318673. Checks:OK: 9. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Oct 24 2024 |
R-4.5-win-x86_64 | OK | Oct 24 2024 |
R-4.5-linux-x86_64 | OK | Oct 24 2024 |
R-4.4-win-x86_64 | OK | Oct 24 2024 |
R-4.4-mac-x86_64 | OK | Oct 24 2024 |
R-4.4-mac-aarch64 | OK | Oct 24 2024 |
R-4.3-win-x86_64 | OK | Oct 24 2024 |
R-4.3-mac-x86_64 | OK | Oct 24 2024 |
R-4.3-mac-aarch64 | OK | Oct 24 2024 |
Exports:%over%addAttrToGeomareaSpatialGridas.character.DMSas.double.DMSas.image.SpatialGridDataFrameas.numeric.DMSas.SpatialLines.SLDFas.SpatialPolygons.GridTopologyas.SpatialPolygons.PolygonsListbbexpandbboxbpy.colorsbubblecbind.Spatialchar2dmscoercecompassRosecoordinatescoordinates<-coordinatevaluescoordnamescoordnames<-CRSdd2dmsdegAxisdegreeLabelsEWdegreeLabelsNSdimensionsdisaggregateelideflipHorizontalflipVerticalfullgridfullgrid<-geometrygeometry<-get_col_regionsget_evolution_statusget_ll_TOLget_ll_warnget_Polypathget_PolypathRuleget_ReplCRS_warngetGridIndexgetGridTopologygetLinesIDSlotgetLinesLinesSlotgetPolygonAreaSlotgetPolygonCoordsSlotgetPolygonHoleSlotgetPolygonLabptSlotgetPolygonsIDSlotgetPolygonsLabptSlotgetPolygonsplotOrderSlotgetPolygonsPolygonsSlotgetSLLinesIDSlotsgetSLlinesSlotgetSpatialLinesMidPointsgetSpatialPolygonsLabelPointsgetSpPnHolesgetSpPnPartsgetSpPplotOrderSlotgetSpPPolygonsIDSlotsgetSpPPolygonsLabptSlotsgetSpPpolygonsSlotgridatgriddedgridded<-gridIndex2nbgridlinesgridparametersGridTopologyHexPoints2SpatialPolygonsidenticalCRSIDvaluesGridTopologyIDvaluesSpatialPixelsimage2GridimageScaleis.projectedlayout.north.arrowlayout.scale.barLineLineLengthLinesLinesLengthloadMeuselonglat.scalesmakegridmapaspmapLegendGrobmergeoveroverDF_for_rgeospanel.ggmappanel.gridplotpanel.pointsplotpanel.polygonsplotpanel.RgoogleMapsplotpoint.in.polygonpoints2gridPolygonpolygonsPolygonspolygons<-print.DMSproj4stringproj4string<-rbind.SpatialLinesrbind.SpatialLinesDataFramerbind.SpatialMultiPointsrbind.SpatialMultiPointsDataFramerbind.SpatialPixelsrbind.SpatialPixelsDataFramerbind.SpatialPointsrbind.SpatialPointsDataFramerbind.SpatialPolygonsrbind.SpatialPolygonsDataFrameread.asciigridrebuild_CRSrecenterremove.duplicatesselect.spatialset_col_regionsset_evolution_statusset_ll_TOLset_ll_warnset_Polypathset_PolypathRuleset_ReplCRS_warnshowsp.gridsp.linessp.panel.layoutsp.pointssp.polygonssp.textsp.themesp2MondrianSpatialSpatialGridSpatialGridDataFrameSpatialLinesSpatialLinesDataFrameSpatialLinesLengthsSpatialMultiPointsSpatialMultiPointsDataFrameSpatialPixelsSpatialPixelsDataFrameSpatialPointsSpatialPointsDataFrameSpatialPolygonsSpatialPolygonsDataFrameSpatialPolygonsRescalespChFIDsspChFIDs<-spDistsspDistsN1splitspmap.to.levsppanelspplotspplot.keyspplot.locatorspsamplespTransformsummarysurfaceAreawktwrite.asciigridzerodistzerodist2
Dependencies:lattice
Customising spatial data classes and methods
Rendered fromcsdacm.Rnw
usingutils::Sweave
on Oct 24 2024.Last update: 2024-05-06
Started: 2015-12-19
sp evolution status: examples of migration from retiring packages
Rendered fromretiring_rgdal_geos_1.Rmd
usingknitr::rmarkdown
on Oct 24 2024.Last update: 2023-10-01
Started: 2023-05-26
sp Gallery
Rendered fromsp_gallery.Rmd
usingknitr::rmarkdown
on Oct 24 2024.Last update: 2024-05-06
Started: 2024-05-06
sp: classes and methods for spatial data
Rendered fromintro_sp.Rnw
usingutils::Sweave
on Oct 24 2024.Last update: 2015-12-21
Started: 2015-12-19
Testing packages using CRS objects
Rendered fromCRS_warnings.Rmd
usingknitr::rmarkdown
on Oct 24 2024.Last update: 2023-10-01
Started: 2021-08-27
Readme and manuals
Help Manual
Help page | Topics |
---|---|
constructs SpatialXxxDataFrame from geometry and attributes | addAttrToGeom addAttrToGeom,SpatialGrid,data.frame-method addAttrToGeom,SpatialLines,data.frame-method addAttrToGeom,SpatialMultiPoints,data.frame-method addAttrToGeom,SpatialPixels,data.frame-method addAttrToGeom,SpatialPoints,data.frame-method addAttrToGeom,SpatialPolygons,data.frame-method addAttrToGeom-methods |
aggregation of spatial objects | aggregate aggregate.Spatial |
Make SpatialPolygons object from GridTopology object | as.SpatialPolygons.GridTopology as.SpatialPolygons.SpatialPixels coerce,GridTopology,SpatialPolygons-method coerce,SpatialPixels,SpatialPolygons-method HexPoints2SpatialPolygons IDvaluesGridTopology IDvaluesSpatialPixels |
Making SpatialPolygons objects | as.SpatialPolygons.PolygonsList |
retrieve bbox from spatial data | bbox bbox,ANY-method bbox,Line-method bbox,Lines-method bbox,Polygon-method bbox,Polygons-method bbox,Spatial-method |
blue-pink-yellow color scheme, which also prints well on black/white printers | bpy.colors |
Create a bubble plot of spatial data | bubble |
Convert character vector to DMS-class object | as.character.DMS char2dms coerce,DMS,character-method coerce,DMS,numeric-method dd2dms |
Display a compass rose. | compassRose |
set spatial coordinates to create a Spatial object, or retrieve spatial coordinates from a Spatial object | coordinates coordinates<- |
retrieve (or set) spatial coordinates | coordinates,data.frame-method coordinates,GridTopology-method coordinates,Line-method coordinates,Lines-method coordinates,list-method coordinates,matrix-method coordinates,SpatialGrid-method coordinates,SpatialGridDataFrame-method coordinates,SpatialLines-method coordinates,SpatialMultiPoints-method coordinates,SpatialPixels-method coordinates,SpatialPixelsDataFrame-method coordinates,SpatialPoints-method coordinates,SpatialPolygons-method coordinates,SpatialPolygonsDataFrame-method coordinates-methods coordinates<-,data.frame-method |
retrieve or assign coordinate names for classes in sp | coordnames coordnames,Line-method coordnames,Lines-method coordnames,Polygon-method coordnames,Polygons-method coordnames,SpatialLines-method coordnames,SpatialMultiPoints-method coordnames,SpatialPoints-method coordnames,SpatialPolygons-method coordnames-methods coordnames<- coordnames<-,GridTopology,character-method coordnames<-,Line,character-method coordnames<-,Lines,character-method coordnames<-,SpatialGrid,character-method coordnames<-,SpatialLines,character-method coordnames<-,SpatialMultiPoints,character-method coordnames<-,SpatialPixels,character-method coordnames<-,SpatialPoints,character-method coordnames<-,SpatialPolygons,character-method |
Class "CRS" of coordinate reference system arguments | CRS CRS-class identicalCRS is.projected,CRS-method print.CRS rebuild_CRS rebuild_CRS,CRS-method show,CRS-method wkt,CRS-method |
axis with degrees | degAxis |
retrieve spatial dimensions from spatial data | dimensions dimensions,Spatial-method |
disaggregate SpatialLines, SpatialLinesDataFrame, SpatialPolygons, or SpatialPolygonsDataFrame objects | disaggregate disaggregate,SpatialLines-method disaggregate,SpatialLinesDataFrame-method disaggregate,SpatialPolygons-method disaggregate,SpatialPolygonsDataFrame-method disaggregate-methods |
Class "DMS" for degree, minute, decimal second values | as.double.DMS as.numeric.DMS coerce,DMS-method DMS-class print.DMS show,DMS-method |
Methods for Function elide in Package `maptools' | elide elide,SpatialLines-method elide,SpatialLinesDataFrame-method elide,SpatialPoints-method elide,SpatialPointsDataFrame-method elide,SpatialPolygons-method elide,SpatialPolygonsDataFrame-method elide-methods |
rearrange data in SpatialPointsDataFrame or SpatialGridDataFrame for plotting with spplot (levelplot/xyplot wrapper) | flipHorizontal flipVertical |
Methods for retrieving the geometry from a composite (geometry + attributes) object | geometry geometry,Spatial-method geometry,SpatialGridDataFrame-method geometry,SpatialLinesDataFrame-method geometry,SpatialMultiPointsDataFrame-method geometry,SpatialPixelsDataFrame-method geometry,SpatialPointsDataFrame-method geometry,SpatialPolygonsDataFrame-method geometry-methods geometry<- geometry<-,data.frame,Spatial-method |
specify spatial data as being gridded, or find out whether they are | fullgrid fullgrid,Spatial-method fullgrid<- fullgrid<-,Spatial,ANY-method fullgrid<-,SpatialGrid,logical-method fullgrid<-,SpatialGridDataFrame,logical-method fullgrid<-,SpatialPixels,logical-method fullgrid<-,SpatialPixelsDataFrame,logical-method gridded gridded,Spatial-method gridded-methods gridded<- gridded<-,data.frame,character-method gridded<-,data.frame,formula-method gridded<-,data.frame,GridTopology-method gridded<-,SpatialGrid,logical-method gridded<-,SpatialGridDataFrame,logical-method gridded<-,SpatialPixels,logical-method gridded<-,SpatialPixelsDataFrame,logical-method gridded<-,SpatialPoints,list-method gridded<-,SpatialPoints,logical-method gridded<-,SpatialPointsDataFrame,list-method gridded<-,SpatialPointsDataFrame,logical-method gridparameters |
create neighbourhood (nb) object from grid geometry | gridIndex2nb |
Create N-S and E-W grid lines over a geographic region | gridat gridlines labels labels.SpatialLines text text.SpatialPointsDataFrame |
Grids and Datums PE&RS listing | GridsDatums |
Class "GridTopology" | coerce,GridTopology,data.frame-method coerce,SpatialGrid,GridTopology-method coerce,SpatialPixels,GridTopology-method GridTopology-class print.summary.GridTopology show,GridTopology-method show,summary.GridTopology-method summary,GridTopology-method |
Image or contour method for gridded spatial data; convert to and from image data structure | as.image.SpatialGridDataFrame contour.SpatialGridDataFrame contour.SpatialPixelsDataFrame image.SpatialGridDataFrame image.SpatialPixels image.SpatialPixelsDataFrame image2Grid imageScale |
Sets or retrieves projection attributes on classes extending SpatialData | get_ll_TOL get_ll_warn get_ReplCRS_warn is.projected is.projected,Spatial-method proj4string proj4string,Spatial-method proj4string<- proj4string<-,Spatial,character-method proj4string<-,Spatial,CRS-method set_ll_TOL set_ll_warn set_ReplCRS_warn wkt wkt,Spatial-method |
create objects of class Line or Lines | Line Lines |
Class "Line" | Line-class |
Class "Lines" | Lines-class |
deprecated function to load the Meuse data set | loadMeuse |
Calculate aspect ratio for plotting geographic maps; create nice degree axis labels | degreeLabelsEW degreeLabelsNS mapasp |
Merge a Spatial* object having attributes with a data.frame | merge merge,Spatial,ANY-method merge,Spatial,data.frame-method |
Meuse river data set | meuse |
Prediction Grid for Meuse Data Set | meuse.grid |
Prediction Grid for Meuse Data Set, geographical coordinates | meuse.grid_ll |
River Meuse outline | meuse.area meuse.riv |
consistent spatial overlay for points, grids and polygons | %over% over over,Spatial,Spatial-method over,SpatialGrid,SpatialGrid-method over,SpatialGrid,SpatialGridDataFrame-method over,SpatialGrid,SpatialPixels-method over,SpatialGrid,SpatialPixelsDataFrame-method over,SpatialGrid,SpatialPoints-method over,SpatialGrid,SpatialPointsDataFrame-method over,SpatialGrid,SpatialPolygons-method over,SpatialGrid,SpatialPolygonsDataFrame-method over,SpatialGridDataFrame,SpatialPoints-method over,SpatialGridDataFrame,SpatialPolygonsDataFrame-method over,SpatialPixels,SpatialPoints-method over,SpatialPixelsDataFrame,SpatialPoints-method over,SpatialPoints,SpatialGrid-method over,SpatialPoints,SpatialGridDataFrame-method over,SpatialPoints,SpatialPixels-method over,SpatialPoints,SpatialPixelsDataFrame-method over,SpatialPoints,SpatialPoints-method over,SpatialPoints,SpatialPointsDataFrame-method over,SpatialPoints,SpatialPolygons-method over,SpatialPoints,SpatialPolygonsDataFrame-method over,SpatialPolygons,SpatialGrid-method over,SpatialPolygons,SpatialGridDataFrame-method over,SpatialPolygons,SpatialPoints-method over,SpatialPolygons,SpatialPointsDataFrame-method over-methods overDF_for_rgeos |
panel and panel utility functions for spplot | bbexpand longlat.scales panel.gridplot panel.pointsplot panel.polygonsplot panel.spplot sp.grid sp.lines sp.panel.layout sp.points sp.polygons sp.text SpatialPolygonsRescale spplot.key |
do point(s) fall in a given polygon? | point.in.polygon |
Class "Polygon" | Polygon-class |
sets spatial coordinates to create spatial data, or retrieves spatial coordinates | polygons polygons<- |
Class "Polygons" | Polygons-class |
Retrieve polygons from SpatialPolygonsDataFrame object | polygons,Spatial-method polygons,SpatialPolygons-method polygons-methods polygons<-,data.frame,SpatialPolygons-method |
read/write to/from (ESRI) asciigrid format | read.asciigrid write.asciigrid |
Methods for Function recenter in Package `sp' | recenter recenter,Line-method recenter,Lines-method recenter,Polygon-method recenter,Polygons-method recenter,SpatialLines-method recenter,SpatialPolygons-method recenter-methods |
Rlogo jpeg image | gt Rlogo |
select points spatially | select.spatial |
A package providing classes and methods for spatial data: points, lines, polygons and grids | sp |
Deprecated functions in sp | getLinesIDSlot getLinesLinesSlot getPolygonAreaSlot getPolygonCoordsSlot getPolygonHoleSlot getPolygonLabptSlot getPolygonsIDSlot getPolygonsLabptSlot getPolygonsplotOrderSlot getPolygonsPolygonsSlot getSLLinesIDSlots getSLlinesSlot getSpPnHoles getSpPnParts getSpPplotOrderSlot getSpPPolygonsIDSlots getSpPPolygonsLabptSlots getSpPpolygonsSlot get_evolution_status set_evolution_status |
write map data for Mondrian | sp2Mondrian |
Class "Spatial" | $,Spatial-method $<-,Spatial-method cbind.Spatial coordinates<-,Spatial-method getParUsrBB head.Spatial im-class owin-class plot,Spatial,missing-method ppp-class print.summary.Spatial psp-class rebuild_CRS,Spatial-method setParUsrBB Spatial Spatial-class subset.Spatial summary,Spatial-method tail.Spatial [<-,Spatial-method [[,Spatial,ANY,missing-method [[<-,Spatial,ANY,missing-method |
Class "SpatialGrid" | as.data.frame.SpatialGrid coerce,SpatialGrid,data.frame-method coerce,SpatialGrid,SpatialPixels-method coerce,SpatialGrid,SpatialPoints-method coerce,SpatialGrid,SpatialPolygons-method coordnames,SpatialGrid-method plot,SpatialGrid,missing-method print.summary.SpatialGrid show,SpatialGrid-method SpatialGrid-class summary,SpatialGrid-method [,SpatialGrid-method |
Class "SpatialGridDataFrame" | as.array.SpatialGridDataFrame as.data.frame.SpatialGridDataFrame cbind.SpatialGridDataFrame coerce,im,SpatialGridDataFrame-method coerce,ppp,SpatialGridDataFrame-method coerce,SpatialGridDataFrame,array-method coerce,SpatialGridDataFrame,data.frame-method coerce,SpatialGridDataFrame,matrix-method coerce,SpatialGridDataFrame,SpatialPixelsDataFrame-method coerce,SpatialGridDataFrame,SpatialPointsDataFrame-method coerce,SpatialGridDataFrame,SpatialPolygonsDataFrame-method dim.SpatialGridDataFrame plot,SpatialGridDataFrame,missing-method plot.SpatialGridDataFrame print.summary.SpatialGridDataFrame show,SpatialGridDataFrame-method SpatialGridDataFrame-class [,SpatialGridDataFrame-method |
create objects of class SpatialLines or SpatialLinesDataFrame | as.SpatialLines.SLDF getSpatialLinesMidPoints LineLength LinesLength SpatialLines SpatialLinesDataFrame SpatialLinesLengths |
a class for spatial lines | coerce,deldir,SpatialLines-method coerce,Lines,SpatialMultiPoints-method coerce,Lines,SpatialPoints-method coerce,SpatialLines,SpatialMultiPoints-method coerce,SpatialLines,SpatialPoints-method coerce,SpatialLines,SpatialPointsDataFrame-method plot,SpatialLines,missing-method rbind.SpatialLines row.names.SpatialLines SpatialLines-class summary,SpatialLines-method [,SpatialLines-method |
a class for spatial lines with attributes | coerce,SpatialLinesDataFrame,data.frame-method coerce,SpatialLinesDataFrame,SpatialMultiPointsDataFrame-method coerce,SpatialLinesDataFrame,SpatialPointsDataFrame-method dim.SpatialLinesDataFrame rbind.SpatialLinesDataFrame row.names.SpatialLinesDataFrame SpatialLinesDataFrame-class [,SpatialLinesDataFrame-method |
create objects of class SpatialMultiPoints or SpatialMultiPointsDataFrame | SpatialMultiPoints SpatialMultiPointsDataFrame |
Class "SpatialMultiPoints" | $,SpatialMultiPoints-method $<-,SpatialMultiPoints,character-method as.data.frame.SpatialMultiPoints coerce,SpatialMultiPoints,data.frame-method coerce,SpatialMultiPoints,matrix-method coerce,SpatialMultiPoints,SpatialPoints-method plot,SpatialMultiPoints,missing-method print.SpatialMultiPoints rbind.SpatialMultiPoints row.names.SpatialMultiPoints show,SpatialMultiPoints-method SpatialMultiPoints-class summary,SpatialMultiPoints-method summary.SpatialMultiPoints [,SpatialMultiPoints-method |
Class "SpatialMultiPointsDataFrame" | as.data.frame.SpatialMultiPointsDataFrame coerce,SpatialMultiPointsDataFrame,data.frame-method coerce,SpatialMultiPointsDataFrame,SpatialPointsDataFrame-method coordinates,SpatialMultiPointsDataFrame-method dim.SpatialMultiPointsDataFrame points,SpatialMultiPointsDataFrame-method print.SpatialMultiPointsDataFrame rbind.SpatialMultiPointsDataFrame row.names.SpatialMultiPointsDataFrame show,SpatialMultiPointsDataFrame-method SpatialMultiPointsDataFrame-class [,SpatialMultiPointsDataFrame-method |
define spatial grid | areaSpatialGrid coordinatevalues getGridIndex getGridTopology GridTopology plot.SpatialGrid points2grid SpatialGrid SpatialPixels |
Class "SpatialPixels" | as.data.frame.SpatialPixels coerce,SpatialPixels,data.frame-method coerce,SpatialPixels,SpatialGrid-method plot,SpatialPixels,missing-method print.summary.SpatialPixels rbind.SpatialPixels show,SpatialPixels-method SpatialPixels-class summary,SpatialPixels-method [,SpatialPixels-method |
define spatial grid with attribute data | SpatialGridDataFrame SpatialPixelsDataFrame |
Class "SpatialPixelsDataFrame" | as.data.frame.SpatialPixelsDataFrame coerce,SpatialPixelsDataFrame,array-method coerce,SpatialPixelsDataFrame,data.frame-method coerce,SpatialPixelsDataFrame,matrix-method coerce,SpatialPixelsDataFrame,SpatialGridDataFrame-method coerce,SpatialPixelsDataFrame,SpatialPointsDataFrame-method coerce,SpatialPixelsDataFrame,SpatialPolygonsDataFrame-method dim.SpatialPixelsDataFrame plot,SpatialPixelsDataFrame,missing-method plot.SpatialPixelsDataFrame print.summary.SpatialPixelsDataFrame rbind.SpatialPixelsDataFrame show,SpatialPixelsDataFrame-method SpatialPixelsDataFrame-class [,SpatialPixelsDataFrame-method |
create objects of class SpatialPoints or SpatialPointsDataFrame | SpatialPoints SpatialPointsDataFrame |
Class "SpatialPoints" | $,SpatialPoints-method $<-,SpatialPoints,character-method as.data.frame.SpatialPoints coerce,ppp,SpatialPoints-method coerce,SpatialPoints,data.frame-method coerce,SpatialPoints,Line-method coerce,SpatialPoints,Lines-method coerce,SpatialPoints,matrix-method coerce,SpatialPoints,SpatialLines-method coerce,SpatialPoints,SpatialPixels-method coerce,SpatialPointsDataFrame,SpatialPixelsDataFrame-method plot,SpatialPoints,missing-method print.SpatialPoints rbind.SpatialPoints row.names.SpatialPoints show,SpatialPoints-method SpatialPoints-class summary,SpatialPoints-method summary.SpatialPoints [,SpatialPoints-method |
Class "SpatialPointsDataFrame" | as.data.frame.SpatialPointsDataFrame as.SpatialPoints.SpatialPointsDataFrame coerce,ppp,SpatialPointsDataFrame-method coerce,SpatialPointsDataFrame,data.frame-method coerce,SpatialPointsDataFrame,SpatialPoints-method coordinates,SpatialPointsDataFrame-method dim.SpatialPointsDataFrame points,SpatialPointsDataFrame-method print.SpatialPointsDataFrame rbind.SpatialPointsDataFrame row.names.SpatialPointsDataFrame show,SpatialPointsDataFrame-method ShowSpatialPointsDataFrame SpatialPointsDataFrame-class [,SpatialPointsDataFrame-method |
create objects of class SpatialPolygons or SpatialPolygonsDataFrame | getSpatialPolygonsLabelPoints Polygon Polygons SpatialPolygons SpatialPolygonsDataFrame |
Class "SpatialPolygons" | as.data.frame.SpatialPolygons as.SpatialPolygonsDataFrame.SpatialPolygons coerce,deldir,SpatialPolygons-method coerce,Polygons,Lines-method coerce,SpatialPolygons,SpatialLines-method coerce,SpatialPolygons,SpatialPolygonsDataFrame-method get_Polypath get_PolypathRule plot,SpatialPolygons,missing-method rbind.SpatialPolygons row.names.SpatialPolygons set_Polypath set_PolypathRule SpatialPolygons-class summary,SpatialPolygons-method [,SpatialPolygons-method |
Class "SpatialPolygonsDataFrame" | as.data.frame.SpatialPolygonsDataFrame coerce,SpatialPolygonsDataFrame,data.frame-method coerce,SpatialPolygonsDataFrame,SpatialLinesDataFrame-method coerce,SpatialPolygonsDataFrame,SpatialPolygons-method dim.SpatialPolygonsDataFrame rbind.SpatialPolygonsDataFrame row.names.SpatialPolygonsDataFrame SpatialPolygonsDataFrame-class [,SpatialPolygonsDataFrame-method |
change feature IDs in spatial objects | spChFIDs spChFIDs,SpatialLines,character-method spChFIDs,SpatialLinesDataFrame,character-method spChFIDs,SpatialPolygons,character-method spChFIDs,SpatialPolygonsDataFrame,character-method spChFIDs-methods spChFIDs<- spChFIDs<-,Spatial-method |
Euclidean or Great Circle distance between points | spDists spDistsN1 |
Plot methods for spatial data with attributes | get_col_regions layout.north.arrow layout.scale.bar mapLegendGrob panel.ggmap panel.RgoogleMaps set_col_regions sp.theme sppanel sppanel,character-method sppanel,Line-method sppanel,Lines-method sppanel,list-method sppanel,NULL-method sppanel,SpatialGrid-method sppanel,SpatialLines-method sppanel,SpatialPixels-method sppanel,SpatialPoints-method sppanel,SpatialPolygons-method sppanel-methods spplot spplot,SpatialGridDataFrame-method spplot,SpatialLinesDataFrame-method spplot,SpatialMultiPointsDataFrame-method spplot,SpatialPixelsDataFrame-method spplot,SpatialPointsDataFrame-method spplot,SpatialPolygonsDataFrame-method spplot-methods spplot.grid spplot.locator spplot.points spplot.polygons |
sample point locations in (or on) a spatial object | makegrid spsample spsample,Line-method spsample,Lines-method spsample,Polygon-method spsample,Polygons-method spsample,Spatial-method spsample,SpatialGrid-method spsample,SpatialLines-method spsample,SpatialPixels-method spsample,SpatialPolygons-method spsample-methods |
spTransform for map projection and datum transformation | spTransform spTransform,Spatial,ANY-method spTransform,Spatial,character-method spTransform,Spatial,CRS-method spTransform-methods |
rearrange data in SpatialPointsDataFrame or SpatialGridDataFrame for plotting with spplot (levelplot/xyplot wrapper) | spmap.to.lev stack.SpatialGridDataFrame stack.SpatialPointsDataFrame |
Compute surface area of a digital elevation model. | surfaceArea surfaceArea,matrix-method surfaceArea,SpatialGridDataFrame-method surfaceArea,SpatialPixelsDataFrame-method surfaceArea.matrix |
find point pairs with equal spatial coordinates | remove.duplicates zerodist zerodist2 |