thinkingliner.blogg.se

Snap raster in r
Snap raster in r









snap raster in r

# S4 method for signature 'SpatRasterCollection' # S4 method for signature 'SpatRasterDataset'

snap raster in r

Usage # S4 method for signature 'SpatRaster'Ĭrop(x, y, snap="near", mask=FALSE, touches=TRUE, extend=FALSE, filename="". You can also crop a SpatVector with a rectangle (SpatRaster, SpatExtent). Unlike with intersect the geometries and attributes of y are not transferred to the output. If these are not polygons, the minimum convex hull is used). You can crop a SpatVector with another SpatVector. See methods like resample and disagg to force SpatRasters to align and extend to add rows and/or columns. Also note that the SpatRaster returned may not have the exactly the same extent as the SpatExtent supplied because you can only select entire cells (rows and columns), and you cannot add new areas. You can only crop rectangular areas, but see mask for setting cell values within SpatRaster to NA. densify: Add additional nodes to lines or polygonsĬut out a part of a SpatRaster with a SpatExtent, or another object from which an extent can be obtained.crs: Get or set a coordinate reference system.cover: Replace values with values from another object.coords: Get the coordinates of SpatVector geometries or SpatRaster.convhull: Convex hull and minimal rotated rectangle.concats: Concatenate categorical rasters.compareGeom: Compare geometries of SpatRasters.compare-generics: Compare and logical methods.collapse: tighten SpatRaster or SpatRasterDataset objects.coerce: Coercion of a SpatRaster to a vector, matrix or array.classify: Classify (or reclassify) cell values.cellSize: Area covered by each raster cell.c: Combine SpatRaster or SpatVector objects.buffer: Create a buffer around vector geometries or raster patches.as.spatvector: Conversion to a SpatVector, or to another SpatVector type.as.list: Coerce a Spat* object to a list.as.ame: SpatRaster or SpatVector to ame.as.character: Create a text representation of (the skeleton of) an object.approximate: Estimate values for cell values that are 'NA' by.app: Apply a function to the cells of a SpatRaster.all.equal: Compare two SpatRasters for equality.aggregate: Aggregate raster or vector data.add: Add (in place) a SpatRaster to another SpatRaster object.











Snap raster in r