问题
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