Package: pathroutr 0.2.1
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.1.tar.gz
pathroutr_0.2.1.zip(r-4.5)pathroutr_0.2.1.zip(r-4.4)pathroutr_0.2.1.zip(r-4.3)
pathroutr_0.2.1.tgz(r-4.4-any)pathroutr_0.2.1.tgz(r-4.3-any)
pathroutr_0.2.1.tar.gz(r-4.5-noble)pathroutr_0.2.1.tar.gz(r-4.4-noble)
pathroutr_0.2.1.tgz(r-4.4-emscripten)pathroutr_0.2.1.tgz(r-4.3-emscripten)
pathroutr.pdf |pathroutr.html✨
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 1 years agofrom:372beedb3c. Checks:OK: 1 NOTE: 6. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 10 2024 |
R-4.5-win | NOTE | Nov 10 2024 |
R-4.5-linux | NOTE | Nov 10 2024 |
R-4.4-win | NOTE | Nov 10 2024 |
R-4.4-mac | NOTE | Nov 10 2024 |
R-4.3-win | NOTE | Nov 10 2024 |
R-4.3-mac | NOTE | Nov 10 2024 |
Exports:%>%get_barrier_segmentsprt_extend_pathprt_nearestnodeprt_rerouteprt_shortpathprt_trimprt_update_pointsprt_visgraph
Dependencies:BHclassclassIntclicpp11crayonDBIdplyre1071fansigenericsgeometriesglueigraphKernSmoothlatticelifecyclelwgeommagrittrMASSMatrixnaborpillarpkgconfigproxypurrrR6RcppRcppEigenrlangs2sfsfheaderssfnetworksstringistringrtibbletidygraphtidyrtidyselectunitsutf8vctrswithrwk
Re-routing Harbor Seal Movement Tracks Around Land with {pathroutr}
Rendered fromakharborseal_demo.Rmd
usingknitr::rmarkdown
on Nov 10 2024.Last update: 2021-09-21
Started: 2020-11-27
Re-routing Straight Line Paths Around Barriers - A Visibility Graph Demo
Rendered fromreroute_demo.Rmd
usingknitr::rmarkdown
on Nov 10 2024.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 |