-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Function for map matching of trajectories #114
Comments
Hello, Here is an implementation of a famous mapmatching algorithm, in java, but can be launched from R : https://github.com/julienperret/mapmatcher |
I think we need to make a PR to add map matching functions into this repo. |
not by me, but by Nikolai Gorte (at that time a student I supervised) |
Another approach would be an interface to existing map matching implementations, e.g. that in OSRM. Blog post on that with a detailed worked example: https://blog.dend.ro/map-matching-osrm/ |
I have implemented OSRM to obtain OSM ids for GPS traces. I turned to sfnetworks because matching a GPS trace with the start and end locations is much faster. The drawback I'm facing is that I want to feed in waypoints along the GPS trip, as well as the start and end constraints. I can then be more confident that the route returned matches the vehicle's actual route. EDIT: adding the image below for clarity. |
Is your feature request related to a problem? Please describe.
Map matching of GPS trajectories is a common task in spatial network analysis. Maybe
sfnetworks
should have functions to support this. It is not an easy topic, but maybe there are already implementations in R that can take away some of the burden (maybe in thetrajectories
package?). Something to look into.The text was updated successfully, but these errors were encountered: