如何在R中将形状转换为多边形?有shape2poly(shapefiles),但是这个函数已经被删除了,在R中,shapefiles,maptools,spdep仍然是处理地图的包吗?
发布于 2013-06-25 02:50:19
我倾向于使用OGR的东西,因为它允许我处理来自一系列来源(地理数据库、kml等)的数据。
library(rgdal)
mylayer <- readOGR(dsn="/path/to/folder/containing/shapefile",
layer="shapefilename-minus-dot-shp")https://stackoverflow.com/questions/17281009
复制相似问题