Calculate isodistance contours from specified points. Function is fully vectorized to calculate accept vectors of central points and vectors defining multiple isodistances.
Vector or matrix of points from which isodistances are to be calculated.
Vector of desired limits of isodistances in metres.
Type of heap to use in priority queue. Options include
Fibonacci Heap (default;
data.frame of isodistances as points sorted anticlockwise
around each origin (
from) point, with columns denoting the
dlim value(s). The isodistance contours are given as
id values and
associated coordinates of the series of points from each
from point at the
Isodists are calculated by default using parallel computation with the
maximal number of available cores or threads. This number can be reduced by
specifying a value via
RcppParallel::setThreadOptions (numThreads = <desired_number>).
1 2 3 4
graph <- weight_streetnet (hampi) from <- sample (graph$from_id, size = 100) dlim <- c (1, 2, 5, 10, 20) * 100 d <- dodgr_isodists (graph, from = from, dlim)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.