Making an empty river plot (using

`empty=TRUE`

)Jittering

`riverpoints()`

using`jitter`

argumentOptimization in

`riverpoints()`

and`xy2segvert()`

: both were speeded up by a factor of 10Optimization in

`plot.rivernetwork()`

: speeded up by a factor of 2

- Allowing vectors of
`pch`

and`col`

in`riverpoints()`

- A bug in the braiding check algorithm used in
`cleanup()`

was identified and fixed.

Distance calculation is much, much faster since the last CRAN release (0.11.0). Both the Dijkstra and segroutes algorithm run in about one hundredth the time that they previously did.

Additional components were added to the rivernetwork class, to aid in distance calculation speed.

`$cumuldist`

is a list of vectors of cumulative distances associated with each line segment, and`$distlookup`

is a list of lookup tables. Distance calculation is now done using these components, which will need to be calculated for any saved river network objects.

Bugs in the

`dissolve()`

and`homerange()`

functions and segroutes algorithm were identified and fixed.New connection types were added, to handle special cases in braided networks.

Error handling in

`line2network()`

was improved, and more complex networks can now be read in a manageable amount of time.