creating road network datasets in R

杀马特。学长 韩版系。学妹 提交于 2019-12-08 19:05:30

You could check the shp2graph package. It allows to input a SpatialLines or SpatialLinesDataFrame (ie. a lines shapefile loaded through the readShapeLines function in the maptools library) to create a network. And then through the function points2network integrate a points data set into an existing network. For example, these points could be the coordinates of city centroids. Then, through the igraph package you could analyze the network.

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