SpatialLinesNetwork-class {stplanr}R Documentation

An S4 class representing a (typically) transport network

Description

This class uses a combination of a SpatialLinesDataFrame and an igraph object to represent transport networks that can be used for routing and other network analyses.

Slots

sl

A SpatialLinesDataFrame with the geometry and other attributes for each link the in network.

g

The graph network corresponding to sl.

nb

A list containing vectors of the nodes connected to each node in the network.

weightfield

A character vector containing the variable (column) name from the SpatialLinesDataFrame to be used for weighting the network.


[Package stplanr version 0.8.7 Index]