use R to rasterize shapefile with holes?

自闭症网瘾萝莉.ら 提交于 2019-12-24 03:08:37

问题


I am attempting to use R to rasterize some downloaded shapefiles that include polygons with holes in them and R is failing to recognize the holes.

The holes seem to be designated as hole=T, so I don't think the issue is the one solved in the question: rasterize ESRI shapefile with holes but FALSE hole slots

What else could be going on? How do I troubleshoot this issue?

I've been using the rasterize function without any changes to the default settings, and the data I've been working with are reprojected from shapefiles here: ftp://ftp.granit.sr.unh.edu/pub/GRANIT_Data/Vector_Data/Environment_and_Conservation/d-wap/, such as hemhwdpine.shp.

来源:https://stackoverflow.com/questions/29956660/use-r-to-rasterize-shapefile-with-holes

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!