Skip to contents

A tbl_graph object with the road network in and around the Hamilton CMA. The network was obtained from OpenStreetMap and includes highway links of type: motorway, motorway_link, primary, primary_link, residential, secondary, secondary_link, tertiary, and tertiary_link. The tbl_graph object consists of two tables: one table with the edges of the network and and one table with the nodes of the network. The object is projected as UTM Zone 17N.

Usage

data(hamilton_graph)

Format

A large tbl_graph object consisting of two tables, one for nodes and one for edges (links)

edges is simple features object with 35,142 rows and 6 variables:

from

Unique identifier of origin node in the network

to

Unique identifier of destination node in the network

highway

OpenStreetMap classification of the link. For defintions, see: https://wiki.openstreetmap.org/wiki/Key:highway

geometry

Geometry column

EdgeID

Unique identifier of the edge

length

Length of edge in meters

nodes is simple features object with 25,816 rows and 3 variables. The geometry is :

nodeID

Unique identifier of node

geometry

Geometry column

GTA06

Examples

 data(hamilton_graph)
 summary(hamilton_graph)
#>       Length Class  Mode       
#>  [1,]     1  -none- numeric    
#>  [2,]     1  -none- logical    
#>  [3,] 35142  -none- numeric    
#>  [4,] 35142  -none- numeric    
#>  [5,] 35142  -none- numeric    
#>  [6,] 35142  -none- numeric    
#>  [7,] 25817  -none- numeric    
#>  [8,] 25817  -none- numeric    
#>  [9,]     4  -none- list       
#> [10,]     3  -none- environment