Description Usage Arguments Details Examples
Convert straight SpatialLinesDataFrame from flow data into routes retrying on connection (or other) intermittent failures
1 | line2routeRetry(lines, pattern = "^Error: ", n_retry = 3, ...)
|
lines |
A SpatialLinesDataFrame |
pattern |
A regex that the error messages must not match to be retried, default "^Error: " i.e. do not retry errors starting with "Error: " |
n_retry |
Number of times to retry |
... |
Arguments passed to the routing function, e.g. |
See line2route
for the version that is not retried on errors.
1 2 3 4 5 | ## Not run:
data(flowlines)
rf_list <- line2routeRetry(flowlines[1:2,], pattern = "nonexistanceerror", silent = F)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.