Package: pathroutr 0.2.2
pathroutr: An R Package for (Re-)Routing Paths Around Barriers
The `pathroutr` package aims to provide a set of tools for routing marine animal tracks around land barriers based on the shortest path through a visibility graph network. The foundation of the package is a graph network created from a Delaunay Triangle mesh created from the vertices of land polygons within the study area. Any network edges that cross or fall completely within the land (barrier) polygons are removed.
Authors:
pathroutr_0.2.2.tar.gz
pathroutr_0.2.2.zip(r-4.7)pathroutr_0.2.2.zip(r-4.6)pathroutr_0.2.2.zip(r-4.5)
pathroutr_0.2.2.tgz(r-4.6-any)pathroutr_0.2.2.tgz(r-4.5-any)
pathroutr_0.2.2.tar.gz(r-4.7-any)pathroutr_0.2.2.tar.gz(r-4.6-any)
pathroutr_0.2.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
pathroutr/json (API)
NEWS
| # Install 'pathroutr' in R: |
| install.packages('pathroutr', repos = c('https://jmlondon.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/jmlondon/pathroutr/issues
- akcoast - Alaska coastline
- land_barrier - Land barrier
- poi - Points of interest
Last updated from:059c830877. Checks:7 NOTE, 2 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | NOTE | 167 | ||
| source / vignettes | OK | 673 | ||
| linux-release-x86_64 | NOTE | 145 | ||
| macos-release-arm64 | NOTE | 151 | ||
| macos-oldrel-arm64 | NOTE | 97 | ||
| windows-devel | NOTE | 384 | ||
| windows-release | NOTE | 415 | ||
| windows-oldrel | NOTE | 412 | ||
| wasm-release | OK | 152 |
Exports:%>%get_barrier_segmentsprt_extend_pathprt_nearestnodeprt_rerouteprt_shortpathprt_trimprt_update_pointsprt_visgraph
Dependencies:BHclassclassIntclicpp11crayonDBIdplyre1071genericsgeometriesglueigraphKernSmoothlatticelifecyclelwgeommagrittrMASSMatrixnaborpillarpkgconfigproxypurrrR6RcppRcppEigenrlangs2sfsfheaderssfnetworksstringistringrtibbletidygraphtidyrtidyselectunitsutf8vctrswithrwk
Re-routing Harbor Seal Movement Tracks Around Land with {pathroutr}
Rendered fromakharborseal_demo.Rmdusingknitr::rmarkdownon May 29 2026.Last update: 2021-09-21
Started: 2020-11-27
Re-routing Straight Line Paths Around Barriers - A Visibility Graph Demo
Rendered fromreroute_demo.Rmdusingknitr::rmarkdownon May 29 2026.Last update: 2021-09-21
Started: 2020-11-24
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Alaska coastline | akcoast |
| Identify track points that intersect with a barrier polygon | get_barrier_segments |
| land barrier | land_barrier |
| points of interest | poi |
| Extend a path to include given start and end points | prt_extend_path |
| Find the nearest node for start and end points in segs_tbl | prt_nearestnode |
| Re-route track points around barrier feature | prt_reroute |
| Calculate the shortest path through a visibility network between two points | prt_shortpath |
| Trim tracks to start and end outside barrier | prt_trim |
| Update track points with fixed geometry | prt_update_points |
| Create a visibility graph | prt_visgraph |
| Spatial predicates | not_crosses not_intersects not_within spatial_predicates |
