基本上,我有一个带有一堆线条的 spLines 对象,在我对其进行光栅化之后 -rast2 <- rasterize(spLines, rast, fun='count')
为了获得网格频率图。但是,我想将该rast2 Object转换并保存到Shapefile中。那可能吗?
提前致谢!
this raster package will do the trick but there's a much faster way to do it if you have python installed by using gdal_polygonise.py