R 会话在栅格/地形中使用相交时中止

问题描述 投票:0回答:0

当我尝试使用 raster::intersect 来计算空间多边形的交集时,Rstudio 告诉 R session Aborted。

错误发生在这一行:

library(raster) overlap <- raster::intersect(current_poly, other_polys)

数据信息:

enter image description here enter image description here

数据只有5mb,我的数据形式与官方文档中的数据相同。 我可以在 ?raster::intersect 中成功使用官方示例演示。

演示来自https://github.com/earthlab/neon-veghttps://github.com/earthlab/neon-veg.git

能否请您帮我检查一下问题,非常感谢!

我可以在 ?raster::intersect 中成功使用官方示例演示。 我希望找到问题并成功运行演示。

r r-raster
© www.soinside.com 2019 - 2024. All rights reserved.