英文: Develop a custom Rcpp function to be used with terra::focalCpp to calculate the percent of a spe...
terra::vect不适用于较大的多边形。
英文: terra::vect does not work for larger polygons 问题 我正在尝试使用R包streamstats划定的分水岭边界,将其转换为SpatVector对象,...
Simplify R scripts to load multiple SpatVectors, SpatRaster and then mask the spatial rasters by using SpatVectors
英文: Simplify R scripts to load multiple SpatVectors, SpatRaster and then mask the spatial rasters by...
Error when running terra::predict(). Caught exception 'std::bad_alloc' in function 'MakeADFunObject'
英文: Error when running terra::predict(). Caught exception 'std::bad_alloc' in function '...
无法遮蔽空间对象,即使将shapefile的CRS转换为与栅格的CRS匹配。
英文: Unable to mask spatial object even after transforming the CRS of the shapefile to match the CRS ...
如何在使用R terra读取COG时忽略/强制缩放和偏移?
英文: How do I ignore/force scale and offset when reading a COG with R terra 问题 我正在使用terra包从LPCLOUD加载大...
每个多边形覆盖的单元格面积
英文: Area of each cell covered by polygons 问题 有没有一种方法/函数可以计算由多边形覆盖的每个栅格单元的比例?这些多边形通常比单个单元格大,我正在处理的景观相...
如何在R terra中获取最近的NA单元格的索引的SpatRaster?
英文: How to get a SpatRaster of indices of the nearest NA cell in R terra? 问题 从数字高程模型中,我尝试生成水流和其周围地形高...
Error using predict function terra package in R 在R中使用terra包的predict函数时发生错误
英文: Error using predict function terra package in R 问题 I get an error when trying to perform a spati...
R terra/raster: 上传 netcdf 文件会改变分辨率
英文: R terra/raster: uploading a netcdf file alters resolution 问题 I have netcdf files (GPM IMERG prec...