如何使用contour()的输出,即x,y和z数据,将轮廓线的shapefile输出到ArcMap中?
发布于 2015-04-02 15:03:51
事实上,在maptools包中有一个这样的函数:ContourLines2SLDF将contourLines的输出转换为SpatialLinesDataFrame对象。
cl <- contourLines(volcano)
shp <- ContourLines2SLDF(cl)然后,您可以使用maptools的writeSpatialShape或rgdal的writeOGR将其保存到文件中。
https://stackoverflow.com/questions/29406870
复制相似问题