Route networks represent the network of highways, cycleways, footways and other ways along which transport happens. Unlike routes, each segment on the network can only appear once.
stplanr can be used to convert a series of routes into a route network, using the function
overline2(), as illustrated below:
The above figure shows how
overline2() breaks the routes into segments with the same values and removes overlapping segments. It is a form of geographic aggregation.