shp2graph: tools to convert a spatial network into an igraph in R

A - Papers appearing in refereed journals

Lu, B., Sun, H., Harris, P., Xu, M. and Charlton, M 2018. shp2graph: tools to convert a spatial network into an igraph in R. ISPRS International Journal of Geo-Information. 7 (8), p. 293. https://doi.org/10.3390/ijgi7080293

AuthorsLu, B., Sun, H., Harris, P., Xu, M. and Charlton, M
Abstract

In this study, we introduce the R package shp2graph, which provides tools to convert a spatial network into an ‘igraph’ graph of the igraphR package. This conversion greatly empowers a spatial network study, as the vast array of graph analytical tools provided in igraph are then readily available to the network analysis, together with the inherent advantages of being within the R statistical computing environment and its vast array of statistical functions. Through three urban road network case studies, the calculation of road network distances with shp2graph and with igraph is demonstrated through four key stages: (i) confirming the connectivity of a spatial network; (ii) integrating points/locations with a network; (iii) converting a network into a graph; and (iv) calculating network distances (and travel times). Throughout, the required R commands are given to provide a useful tutorial on the use of shp2graph.

KeywordsR software; igraph; graph data model; network distance; network analysis
Year of Publication2018
JournalISPRS International Journal of Geo-Information
Journal citation7 (8), p. 293
Digital Object Identifier (DOI)https://doi.org/10.3390/ijgi7080293
Open accessPublished as ‘gold’ (paid) open access
FunderNational Natural Science Foundation of China
Shenzhen Key Laboratory of Spatial Smart Sensing and Services (Shenzhen University)
Funder project or codeNSFC: U1533102
Publisher's version
Output statusPublished
Publication dates
Online24 Jul 2018
Publication process dates
Accepted19 Jul 2018
PublisherMDPI
Copyright licenseCC BY
ISSN2220-9964

Permalink - https://repository.rothamsted.ac.uk/item/8489v/shp2graph-tools-to-convert-a-spatial-network-into-an-igraph-in-r

225 total views
55 total downloads
0 views this month
1 downloads this month
Download files as zip