osrm
Interface between R and the OpenStreetMap-based routing service OSRM (by riatelab)
cppRouting
Algorithms for Routing and Solving the Traffic Assignment Problem (by vlarmet)
osrm | cppRouting | |
---|---|---|
3 | 1 | |
226 | 97 | |
0.0% | - | |
4.3 | 10.0 | |
about 1 year ago | over 1 year ago | |
R | C++ | |
GNU General Public License v3.0 only | - |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
osrm
Posts with mentions or reviews of osrm.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-12-14.
-
Using R to Cluster Points by Road Networks
OSRM: A super fast and easy to use routing engine that runs on OSM data. You only need to run 5 lines of code to (1) download a .pbf from Geofabrik, (2-5) download the OSRM docker image and pre-process the OSM data. There are also 3 profiles predefined that you can use: car, bike, foot (e.g. foot.lua). It basically hosts a local server. I find the easiest way is to combine it with the osrm R package. I have seen you also need to adjust for the elevation. I think I have seen some custom LUA profiles that also account for DTM derived elevation changes as an additional weight.
- how to extract shortest path between two nodes from a given base road network?
-
Connecting Points on a Map
- https://github.com/riatelab/osrm/issues/41
cppRouting
Posts with mentions or reviews of cppRouting.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-12-14.
-
Using R to Cluster Points by Road Networks
cppRouting: I've just discovered this package. I use it if I require fast routing and can provide my own spatial graph data. So if I can't use OSM (maybe because of licence issues) this package will provide very fast results, too! I didn't compare the performance against the sfnetworks package, but I guess it's a lot faster and memory efficient especially for large networks. It also supports many implementations of different routing algorithms.
What are some alternatives?
When comparing osrm and cppRouting you can also consider the following projects:
worldfootballR - A wrapper for extracting world football (soccer) data from FBref, Transfermark, Understat and fotmob
Rcpp - Seamless R and C++ Integration
wooldridge - The official R data package for "Introductory Econometrics: A Modern Approach". A vignette contains example models from each chapter.
Open Source Routing Machine (OSRM) - Open Source Routing Machine - C++ backend
expedition-diaries - Expedition Diaries' website back-end and front-end
CXXGraph - Header-Only C++ Library for Graph Representation and Algorithms
sfnetworks - Tidy Geospatial Networks in R
Rblpapi - R package interfacing the Bloomberg API from https://www.bloomberglabs.com/api/