Package: fasterRaster 8.4.0.4
fasterRaster: Faster Raster and Spatial Vector Processing Using 'GRASS GIS'
Processing of large-in-memory/large-on disk rasters and spatial vectors using 'GRASS GIS' <https://grass.osgeo.org/>. Most functions in the 'terra' package are recreated. Processing of medium-sized and smaller spatial objects will nearly always be faster using 'terra' or 'sf', but for large-in-memory/large-on-disk objects, 'fasterRaster' may be faster. To use most of the functions, you must have the stand-alone version (not the 'OSGeoW4' installer version) of 'GRASS GIS' 8.0 or higher.
Authors:
fasterRaster_8.4.0.4.tar.gz
fasterRaster_8.4.0.4.zip(r-4.5)fasterRaster_8.4.0.4.zip(r-4.4)fasterRaster_8.4.0.4.zip(r-4.3)
fasterRaster_8.4.0.4.tgz(r-4.4-any)fasterRaster_8.4.0.4.tgz(r-4.3-any)
fasterRaster_8.4.0.4.tar.gz(r-4.5-noble)fasterRaster_8.4.0.4.tar.gz(r-4.4-noble)
fasterRaster_8.4.0.4.tgz(r-4.4-emscripten)fasterRaster_8.4.0.4.tgz(r-4.3-emscripten)
fasterRaster.pdf |fasterRaster.html✨
fasterRaster/json (API)
NEWS
# Install 'fasterRaster' in R: |
install.packages('fasterRaster', repos = c('https://adamlilith.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/adamlilith/fasterraster/issues
Pkgdown site:https://adamlilith.github.io
- appFunsTable - Functions that can be used in app
- madCoast0 - Spatial vector of a portion of the coastline of Madagascar
- madCoast4 - Spatial vector of a portion of the coastline of Madagascar
- madCoverCats - Table of land cover classes for an eastern portion of Madagascar
- madDypsis - Spatial points vector of records of Dypsis in eastern Madagascar
- madRivers - Major rivers in a selected portion of Madagascar
- vegIndices - Table of vegetation indices that can be calculated from remote sensing surface reflectance data using 'vegIndex()'. A near-comprehensive table of indices can be found on the Index Database: A Database for Remote Sensing Indices.
aspectdistancefragmentationfragmentation-indicesgisgrassgrass-gisrasterraster-projectionrasterizeslopetopographyvectorization
Last updated 2 months agofrom:fc34c10ef5. Checks:3 OK, 4 NOTE. Indexed: yes.
Target | Result | Latest binary |
---|---|---|
Doc / Vignettes | OK | Jan 17 2025 |
R-4.5-win | OK | Jan 17 2025 |
R-4.5-linux | OK | Jan 17 2025 |
R-4.4-win | NOTE | Jan 17 2025 |
R-4.4-mac | NOTE | Jan 17 2025 |
R-4.3-win | NOTE | Jan 17 2025 |
R-4.3-mac | NOTE | Jan 17 2025 |
Exports:.g.proj.g.region.workDir%in%%notin%activeCatactiveCat<-activeCatsadd<-addCatsaddCats<-addonsaddTable<-aggregateallNAappappCheckappFunsArithas.contouras.data.frameas.data.tableas.doubas.floatas.intas.linesas.pointsas.polygonsatan2bioclimsbottombreakPolysbuffercategoriescatNamescatscellSizecentroidsclassifyclumpclusterPointscolbindcombineLevelsComparecompareGeomcomplete.casescompositeRGBconcatsconnectorsconvHullcoordRefcountcrdscropcrsdatatypedelaunaydenoisedim3ddisaggdistancedroplevelsdropRowsdropTableEeraseexpanseextextendextractfastfastDatafasterfillHolesfillNAsfixBridgesfixDanglesfixLinesflowflowPathfocalfractalRastfragmentationfreqgeomorphonsgeomtypeglobalgrassGUIgrassHelpgrassInfograssStartedgridheadhexagonshillshadehisthorizonHeightinitinterpIDWinterpSplinesintersectis.2dis.3dis.cellis.doubis.factoris.floatis.intis.linesis.lonlatis.pointsis.polygonskernelkurtosislayerCorlevelslnlog10plogicLogiclonglatmaskmaskNAmatchmeanmedianmergeminmaxmissing.casesmissingCatsmmodemowNnacellncellncell3dncolndepthngeomnlevelsnlyrnoisenonnacellnot.nanrownsubgeomnuniquepairspcsplotplotRGBpredictprincompprintprojectquantilerastrasterizerbindregressremove0removeAnglesremoveBridgesremoveDanglesremoveDupCentroidsremoveDupsremoveSmallPolysreorientreplaceNAsresres3dresamplernormRastrSpatialDepRastruggednessrunifRastrvoronoiSsampleRastscalescalepopsdpopsegregateselectRangeseqToSQLshowsimplifyGeomsineRastskewnesssmoothGeomsnapsourcesspatSamplest_as_sfst_bufferst_coordinatesst_crsstdevstreamsstretchsubsetsubstsummarysuntailterrainthinLinesthinPointstilestoptopologytrimunionunscaleupdatevarvarpopvectvegIndexvoronoiWwetnesswhich.maxwhich.minwriteRasterwriteVectorxorxresyreszextzonalzonalGeogzres
Dependencies:base64encbslibcachemclassclassIntclicommonmarkcrayoncrosstalkdata.tableDBIdigestDTe1071evaluatefastmapfontawesomefsgluehighrhtmltoolshtmlwidgetshttpuvjquerylibjsonliteKernSmoothknitrlaterlazyevallifecyclemagrittrMASSmemoisemimeomnibuspromisesproxyR6rappdirsRcpprgrassrlangrmarkdownrpanels2sasssfshinysourcetoolsterratinytexunitswithrwkxfunxml2xtableyaml
3-dimensional objects
Rendered fromthree_d_objects.Rmd
usingknitr::rmarkdown
on Jan 17 2025.Last update: 2024-12-17
Started: 2024-12-17
fasterRaster addons
Rendered fromaddons.Rmd
usingknitr::rmarkdown
on Jan 17 2025.Last update: 2024-12-03
Started: 2024-12-03
For developers: fasterRaster and GRASS Regions
Rendered fromregions.Rmd
usingknitr::rmarkdown
on Jan 17 2025.Last update: 2024-10-15
Started: 2024-09-19
For developers: Hidden fasterRaster functions
Rendered fromhidden_functions.Rmd
usingknitr::rmarkdown
on Jan 17 2025.Last update: 2024-12-16
Started: 2024-09-19
For developers: Locations/projects and mapsets
Rendered fromprojects_mapsets.Rmd
usingknitr::rmarkdown
on Jan 17 2025.Last update: 2024-10-15
Started: 2024-09-19
Getting started with fasterRaster
Rendered fromfasterRaster.Rmd
usingknitr::rmarkdown
on Jan 17 2025.Last update: 2024-12-16
Started: 2024-09-23
Making fasterRaster faster
Rendered fromfaster_fasterRaster.Rmd
usingknitr::rmarkdown
on Jan 17 2025.Last update: 2024-12-16
Started: 2024-09-19
Types of GRasters
Rendered fromGRasters.Rmd
usingknitr::rmarkdown
on Jan 17 2025.Last update: 2024-12-09
Started: 2024-09-19
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Subset geometries of a GVector | [ [,GRaster,GRaster,ANY-method [,GVector,ANY,ANY-method |
Subset layers from a GRaster, or specific columns from a GVector | [[ [[,GRaster,ANY,ANY-method [[,GVector,ANY,ANY-method |
Replace layers of a GRaster | [[<- [[<-,GRaster,ANY-method |
Replace values of a GRaster | [<- [<-,GRaster,GRaster,ANY-method [<-,GRaster,missing,ANY-method |
Subset a GRaster layer, or return values from a column of a GVector's table | $ $,GRaster-method $,GVector-method |
Replace a raster layer or a column from a vector's data table | $<- $<-,GRaster-method $<-,GVector-method |
Get or set the column with category labels in a categorical raster | activeCat activeCat,GRaster-method activeCat<- activeCat<-,GRaster-method activeCats activeCats,GRaster-method |
"Stack" a GRaster | add<- add<-,GRaster,GRaster-method |
Add rows or columns to the "levels" table of a categorical raster | addCats addCats,GRaster-method addCats<- addCats<-,GRaster-method |
Test if addons directory exists and if an addon is installed | addons |
Attach or detach GVector's data table | addTable<- addTable<-,GVector,data.frame-method addTable<-,GVector,data.table-method addTable<-,GVector,matrix-method dropTable dropTable,GVector-method |
Aggregate raster cells into larger cells or combine geometries of a vector | aggregate aggregate,GRaster-method aggregate,GVector-method |
Apply a function to a set of rasters | app app,GRaster-method appCheck appCheck,GRaster,character-method appFuns |
Functions that can be used in app() | appFunsTable |
Arithmetic operations on GRasters | Arith Arith,GRaster,GRaster-method Arith,GRaster,integer-method Arith,GRaster,logical-method Arith,GRaster,numeric-method Arith,GVector,GVector-method Arith,integer,GRaster-method Arith,logical,GRaster-method Arith,numeric,GRaster-method |
Contour lines from a "GRaster" | as.contour as.contour,GRaster-method |
Convert GVector to a data frame | as.data.frame as.data.frame,GVector-method as.data.table as.data.table,GVector-method |
Coerce raster to integer, float, or double precision | as.doub as.doub,GRaster-method as.float as.float,GRaster-method as.int as.int,GRaster-method |
Convert a raster to a lines vector | as.lines as.lines,GRaster-method |
Convert a GRaster, or lines or polygons GVector to a points vector | as.points as.points,GRaster-method as.points,GVector-method |
Convert a raster to a polygons vector | as.polygons as.polygons,GRaster-method |
BIOCLIM rasters | bioclims bioclims,GRaster-method bioclims,SpatRaster-method |
Fix issues with geometries of a vector | breakPolys breakPolys,GVector-method fixBridges fixBridges,GVector-method fixDangles fixDangles,GVector-method fixLines fixLines,GVector-method remove0 remove0,GVector-method removeAngles removeAngles,GVector-method removeBridges removeBridges,GVector-method removeDangles removeDangles,GVector-method removeDupCentroids removeDupCentroids,GVector-method removeDups removeDups,GVector-method removeSmallPolys removeSmallPolys,GVector-method snap snap,GVector-method |
Increase/decrease the size of a vector or around non-NA cells of a raster | buffer buffer,GRaster-method buffer,GVector-method st_buffer st_buffer,GVector-method |
"Stack" GRasters | c c,GRaster-method |
Names of columns of the levels table of a categorical raster | catNames catNames,GRaster-method catNames,SpatRaster-method |
Area of GRaster cells | cellSize cellSize,GRaster-method |
Centroid(s) of a vector | centroids centroids,GVector-method |
Classify GRaster cell values | classify classify,GRaster-method |
Group adjacent cells with similar values | clump clump,GRaster-method |
Identify clusters of points | clusterPoints clusterPoints,GVector-method |
Add columns to the data table of a GVector | colbind colbind,GVector-method |
Combine levels table from multiple categorical GRasters | combineLevels combineLevels,GRaster-method combineLevels,list-method |
Compare-methods operations on GRasters and GRegions | Compare,character,GRaster-method Compare,GRaster,character-method Compare,GRaster,GRaster-method Compare,GRaster,integer-method Compare,GRaster,logical-method Compare,GRaster,numeric-method Compare,GRegion,GRegion-method Compare,integer,GRaster-method Compare,logical,GRaster-method Compare,numeric,GRaster-method Compare-methods |
Determine if GRasters and/or GVectors are geographically comparable | compareGeom compareGeom,GRaster,GRaster-method compareGeom,GRaster,GVector-method compareGeom,GVector,GRaster-method compareGeom,GVector,GVector-method |
Rows of a GRaster or GVector's table that have no NAs or that have NAs | complete.cases complete.cases,GRaster-method complete.cases,GVector-method missing.cases missing.cases,GRaster-method missing.cases,GVector-method |
Combine red, green, and blue color bands to make a composite GRaster | compositeRGB compositeRGB,GRaster-method |
Combine values/categories of multiple GRasters into a single GRaster | concats concats,GRaster-method |
Create lines connecting nearest features of two GVectors | connectors connectors,GVector,GVector-method |
Minimum convex hull around a spatial vector | convHull convHull,GVector-method |
Coordinates of a vector"s features or a raster"s cell centers | crds crds,GRaster-method crds,GVector-method st_coordinates |
Remove parts of a GRaster or GVector | crop crop,GRaster-method crop,GVector-method |
Coordinate reference system of a GRaster or GVector | coordRef coordRef,GRaster-method coordRef,GVector-method coordRef,missing-method crs crs,GLocation-method crs,missing-method st_crs st_crs,GLocation-method st_crs,missing-method |
Get the datatype of a GRaster or of GVector columns | datatype datatype,GRaster-method datatype,GVector-method |
Delaunay triangulation for points | delaunay delaunay,GVector-method |
Remove or retain "noise" in a raster using PCA | denoise denoise,GRaster-method noise noise,GRaster-method |
Number of rows, columns, depths, cells, and layers | dim dim,GRegion-method dim,GVector-method dim3d dim3d,GRegion-method dim3d,missing-method ncell ncell,GRegion-method ncell,missing-method ncell3d ncell3d,GRegion-method ncell3d,missing-method ncol ncol,GRegion-method ncol,GVector-method ncol,missing-method ndepth ndepth,GRegion-method ndepth,missing-method nlyr nlyr,GRaster-method nlyr,missing-method nrow nrow,GRegion-method nrow,GVector-method nrow,missing-method |
Coerce as multipart GVector to a singlepart GVector | disagg disagg,GVector-method |
Geographic distance | distance distance,GRaster,GVector-method distance,GRaster,missing-method distance,GVector,GVector-method distance,GVector,missing-method |
Remove rows from the "levels" table of a categorical raster | droplevels droplevels,GRaster-method |
Remove rows in a data.table, data.frame, or matrix. | dropRows dropRows,data.frame-method dropRows,data.table-method dropRows,matrix-method |
Select parts of a polygon GVector erase shared by another polygon GVector | erase erase,GVector,GVector-method |
Area of polygons or length of lines | expanse expanse,GVector-method |
Spatial bounds of a GRaster or GVector | bottom bottom,GSpatial-method E E,GSpatial-method E,missing-method ext ext,GSpatial-method ext,missing-method N N,GSpatial-method N,missing-method S S,GSpatial-method S,missing-method top top,GSpatial-method top,missing-method W W,GSpatial-method W,missing-method zext zext,GSpatial-method zext,missing-method |
Add rows and columns around a writeRaster | extend extend,GRaster,GSpatial-method extend,GRaster,numeric-method extend,GRaster,sf-method extend,GRaster,SpatExtent-method extend,GRaster,SpatRaster-method extend,GRaster,SpatVector-method |
Extract values from a GRaster at locations in a points GVector | extract extract,GRaster,data.frame-method extract,GRaster,data.table-method extract,GRaster,GVector-method extract,GRaster,matrix-method extract,GRaster,numeric-method extract,GVector,data.frame-method extract,GVector,data.table-method extract,GVector,GVector-method extract,GVector,matrix-method extract,GVector,numeric-method |
Create a GRaster or GVector | fast fast,character-method fast,data.frame-method fast,data.table-method fast,matrix-method fast,missing-method fast,numeric-method fast,sf-method fast,SpatRaster-method fast,SpatVector-method |
Get one of the example rasters or spatial vectors | fastData |
Set or get options shared across fasterRaster functions | faster |
Fill holes in a GVector | fillHoles fillHoles,GVector-method |
Fill NA cells in a raster using interpolation | fillNAs fillNAs,GRaster-method |
Identify watershed basins and direction and accumulation of flow | flow flow,GRaster-method |
Path of water flow across a landscape | flowPath flowPath,GRaster-method |
Calculate cell values based on values of nearby cells | focal focal,GRaster-method |
Create fractal raster | fractalRast fractalRast,GRaster-method |
Landscape fragmentation class following Riitters et al. (2020) | fragmentation fragmentation,GRaster-method fragmentation,SpatRaster-method |
Frequencies of cell values in a raster | freq freq,GRaster-method |
Identify terrain feature types | geomorphons geomorphons,GRaster-method |
Geometry of a GVector (points, lines, or polygons) | geomtype geomtype,GVector-method is.lines is.lines,GVector-method is.points is.points,GVector-method is.polygons is.polygons,GVector-method |
Summary statistics for GRasters | global global,GRaster-method global,missing-method |
Classes for fasterRaster sessions, regions, rasters, and vectors | GLocation GLocation-class GRaster GRaster-class GRegion GRegion-class GSpatial GSpatial-class GVector GVector-class |
Start the GRASS GUI (potentially dangerous!) | grassGUI grassGUI,missing-method |
Open the help page for a GRASS module | grassHelp |
GRASS citation, version, and copyright information | grassInfo |
Has "GRASS" been started or not? | grassStarted |
Create a grid GVector | grid grid,GRaster-method grid,GVector-method |
Return first or last part of the data frame of a GVector | head head,GVector-method tail tail,GVector-method |
Create a hexagonal grid | hexagons hexagons,GRaster-method hexagons,GVector-method |
Hillshading | hillshade hillshade,GRaster-method |
Plot a histogram of raster values | hist hist,GRaster-method |
Horizon height | horizonHeight horizonHeight,GRaster-method |
GRaster with values equal to row, column, coordinate, regular, or "chess" | init init,GRaster-method |
Interpolate values at points to a GRaster using inverse-distance weighting | interpIDW interpIDW,GVector,GRaster-method |
Interpolate values at points to a GRaster using splines | interpSplines interpSplines,GVector,GRaster-method |
Intersection of two GVectors | intersect intersect,GVector,GVector-method |
Test if a GRaster or GVector is 2- or 3-dimensional | is.2d is.2d,GSpatial-method is.3d is.3d,GSpatial-method |
Data type of a raster | is.cell is.cell,GRaster-method is.doub is.doub,GRaster-method is.factor is.factor,GRaster-method is.float is.float,GRaster-method is.int is.int,GRaster-method |
Test if a coordinate reference system is unprojected | is.lonlat is.lonlat,character-method is.lonlat,GLocation-method is.lonlat,sf-method |
Mathematical operations on each layer of a GRasters | abs abs,GRaster-method acos acos,GRaster-method asin asin,GRaster-method atan atan,GRaster-method atan2 atan2,GRaster,GRaster-method ceiling ceiling,GRaster-method cos cos,GRaster-method exp exp,GRaster-method floor floor,GRaster-method is.na is.na,GRaster-method ln ln,GRaster-method log log,GRaster-method log10 log10,GRaster-method log10p log10p,GRaster-method log1p log1p,GRaster-method log2 log2,GRaster-method not.na not.na,GRaster-method round round,GRaster-method sin sin,GRaster-method sqrt sqrt,GRaster-method tan tan,GRaster-method trunc trunc,GRaster-method |
Kernel density estimator of points | kernel kernel,GVector-method |
Correlation between GRasters | layerCor layerCor,GRaster-method |
Set and get categories for categorical rasters | categories categories,GRaster-method cats cats,GRaster-method levels levels,GRaster-method levels<- levels<-,GRaster,data.frame-method levels<-,GRaster,data.table-method levels<-,GRaster,GRaster-method levels<-,GRaster,list-method |
Logic-methods operations on GRasters | Logic,GRaster,GRaster-method Logic,GRaster,integer-method Logic,GRaster,logical-method Logic,GRaster,numeric-method Logic,integer,GRaster-method Logic,logical,GRaster-method Logic,numeric,GRaster-method Logic-methods |
Create longitude/latitude rasters | longlat longlat,GRaster-method |
Rasters of bioclimatic variables for an eastern portion of Madagascar | madChelsa |
Shapefile of a portion of the coastline of Madagascar | madCoast |
Spatial vector of a portion of the coastline of Madagascar | madCoast0 |
Spatial vector of a portion of the coastline of Madagascar | madCoast4 |
Raster of land cover for an eastern portion of Madagascar | madCover |
Table of land cover classes for an eastern portion of Madagascar | madCoverCats |
Spatial points vector of records of Dypsis in eastern Madagascar | madDypsis |
Elevation raster for an eastern portion of Madagascar | madElev |
Forest cover in year 2000 for a portion of Madagascar | madForest2000 |
Forest cover in year 2014 for a portion of Madagascar | madForest2014 |
Rasters of surface reflectance for an eastern portion of Madagascar | madLANDSAT |
Rasters of average monthly precipitation for an eastern portion of Madagascar | madPpt |
Major rivers in a selected portion of Madagascar | madRivers |
Rasters of average monthly maximum temperature for an eastern portion of Madagascar | madTmax |
Rasters of average monthly minimum temperature for an eastern portion of Madagascar | madTmin |
Mask values in a raster | mask mask,GRaster,GRaster-method mask,GRaster,GVector-method |
Mask all non-NA cells or all NA cells | maskNA maskNA,GRaster-method |
Find which cells of a GRaster match certain values | %in% %in%,GRaster-method %notin% %notin%,GRaster-method match match,GRaster-method |
Mathematical operations on two or more GRasters | allNA allNA,GRaster-method anyNA anyNA,GRaster-method count count,GRaster-method kurtosis kurtosis,GRaster-method max max,GRaster-method mean mean,GRaster-method median median,GRaster-method min min,GRaster-method mmode mmode,GRaster-method nunique nunique,GRaster-method quantile quantile,GRaster-method range range,GRaster-method sdpop sdpop,numeric-method skewness skewness,GRaster-method stdev stdev,GRaster-method sum sum,GRaster-method var var,GRaster-method varpop varpop,GRaster-method varpop,numeric-method which.max which.max,GRaster-method which.min which.min,GRaster-method |
Combine two or more rasters with different extents and fill in NAs | merge merge,GRaster,GRaster-method |
Minimum and maximum values or categories of a GRaster | minmax minmax,GRaster-method |
Values in a categorical raster with no assigned category | missingCats missingCats,GRaster-method |
Remove rasters and vectors from the GRASS cache | mow |
Number of NA or non-NA cells in a raster | nacell nacell,GRaster-method nonnacell nonnacell,GRaster-method |
Name(s) of a GRaster or columns of a GVector's data table | names names,GRaster-method names,GVector-method names<- names<-,GRaster-method names<-,GVector-method |
Number of geometries and subgeometries in a vector | ngeom ngeom,GVector-method nsubgeom nsubgeom,GVector-method |
Number of categories in a categorical raster | nlevels nlevels,GRaster-method |
Scatterplot of values in each GRaster layer against the others | pairs pairs,GRaster-method |
Retrieve a principal components model from a PCA GRaster | pcs |
Display a raster or vector | plot plot,GRaster,missing-method plot,GVector,missing-method |
Create red-green-blue plot from a raster with RGB layers | plotRGB plotRGB,GRaster-method |
Make predictions from a linear or generalized linear model to a GRaster | predict predict,GRaster-method |
Apply a principal component analysis (PCA) to layers of a GRaster | princomp princomp,GRaster-method |
Change the coordinate reference system of a GRaster or GVector | project project,GRaster-method project,GVector-method |
Convert a GRaster to a SpatRaster | rast rast,GRaster-method |
Convert a GVector to a GRaster | rasterize rasterize,GVector,GRaster-method |
Combine one or more GVectors | rbind rbind,GVector-method |
Regression intercept, slope, r2, and t-value across each set of cells | regress regress,GRaster,missing-method |
Convert degrees between 'north-orientation' and 'east orientation' | reorient reorient,GRaster-method reorient,numeric-method |
Replace NAs in a data.table or data.frame column, or in a vector | replaceNAs replaceNAs,character-method replaceNAs,data.frame-method replaceNAs,data.table-method replaceNAs,integer-method replaceNAs,logical-method replaceNAs,matrix-method replaceNAs,numeric-method |
Spatial resolution | res res,GRegion-method res,missing-method res3d res3d,GRegion-method res3d,missing-method xres xres,GRegion-method xres,missing-method yres yres,GRegion-method yres,missing-method zres zres,GRegion-method zres,missing-method |
Change the cell size of a GRaster | resample resample,GRaster,GRaster-method resample,GRaster,numeric-method |
Create a raster with random values drawn from a normal distribution | rnormRast rnormRast,GRaster-method |
Create a random raster with or without spatial dependence | rSpatialDepRast rSpatialDepRast,GRaster-method |
Terrain ruggedness index | ruggedness ruggedness,GRaster-method |
Create a raster with random values drawn from a uniform distribution | runifRast runifRast,GRaster-method |
Create a randomly-positioned tesselation | rvoronoi rvoronoi,GRaster-method rvoronoi,GVector-method |
Randomly sample cells from a GRaster | sampleRast sampleRast,GRaster-method |
Center and scale a GRaster, or the opposite | scale scale,GRaster-method scalepop scalepop,GRaster-method unscale unscale,GRaster-method |
Create one GRaster layer per unique value in a GRaster | segregate segregate,GRaster-method |
Select values from rasters in a stack based on values in another raster | selectRange selectRange,GRaster-method |
Format a numeric series into an SQL value call | seqToSQL |
Simplify the geometry of a vector | simplifyGeom simplifyGeom,GVector-method |
Sine wave rasters | sineRast sineRast,GRaster-method |
Smooth the geometry of a vector | smoothGeom smoothGeom,GVector-method |
Name of a raster or vector in a GRASS session | sources sources,character-method sources,GRaster-method sources,GVector-method |
Sample random points from a GRaster or GVector | spatSample spatSample,GRaster-method spatSample,GVector-method |
Create stream network | streams streams,GRaster-method |
Rescale values in a GRaster | stretch stretch,GRaster-method |
Subset layers from a GRaster, or specific rows from a GVector | subset subset,GRaster-method subset,GVector-method |
Replace a specific value(s) in a GRaster | subst subst,GRaster-method |
Solar radiance and irradiance | sun |
Slope, aspect, curvature, and partial slopes | terrain terrain,GRaster-method |
Reduce linear features on a raster so linear features are 1 cell wide | thinLines thinLines,GRaster-method |
Reduce number of points in same raster cell | thinPoints thinPoints,GVector,GRaster-method |
Divide a GRaster into spatially exclusive subsets | tiles tiles,GRaster-method |
Topology (2- or 3-dimensions) of a GRaster or GVector | topology topology,GSpatial-method |
Remove rows and columns from a raster that are all NA | trim trim,GRaster-method |
Combine two GVectors | union union,GVector,GVector-method |
Refresh metadata in a GRaster or GVector | update update,GRaster-method update,GVector-method |
Convert a GVector to a SpatVector or sf vector | st_as_sf st_as_sf,GVector-method vect vect,GVector-method |
Vegetation indices from surface reflectance | vegIndex vegIndex,GRaster-method |
Table of vegetation indices that can be calculated from remote sensing surface reflectance data using 'vegIndex()'. A near-comprehensive table of indices can be found on the Index Database: A Database for Remote Sensing Indices. | vegIndices |
Voronoi tessellation | voronoi voronoi,GVector-method |
Topographic wetness index | wetness wetness,GRaster-method |
Save a GRaster to disk | writeRaster writeRaster,GRaster,character-method writeRaster,missing,missing-method |
Save a GVector to disk | writeVector writeVector,GVector,character-method writeVector,missing,missing-method |
Select parts of polygons not shared between two GVectors | xor xor,GVector,GVector-method |
Statistics on cells of a GRaster stratified by cells of another raster | zonal zonal,GRaster,ANY-method |
Geographic statistics for sets of cells with the same values | zonalGeog zonalGeog,GRaster-method |