-
Notifications
You must be signed in to change notification settings - Fork 31
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
osrmRoute with via points #41
Comments
This is not possible in |
Thanks @rCarto. I have two questions, and I would appreciate if you can get me answers to the best of your knowledge. Is it possible to plot road routes which are on osrm using leaflet or mapview? |
library(osrm)
# Travel path between points between points - output a SpatialLinesDataFrame
route <- osrmRoute(src = c("A", 13.43853, 52.47728),
dst = c("B", 13.32247, 52.48882),
sp = TRUE, overview = "full")
library(mapview)
mapview(route) Displaying the underlying OSRM road network is not possible. You can have a look at the
|
@rCarto I had plotted the routes of some locations. The maximum number of locations allowed for routing using the OSRM is 100 coordinate points. Kindly let me know if you get some findings on expanding this restriction. |
1 similar comment
@rCarto I had plotted the routes of some locations. The maximum number of locations allowed for routing using the OSRM is 100 coordinate points. Kindly let me know if you get some findings on expanding this restriction. |
_Originally posted by @danpat in Project-OSRM/osrm-backend#5421 (comment) @rCarto What do you think of this? |
The |
That’s why I reached out to you @rCarto. |
As stated in the documentation, to change the OSRM server, change the osrm.server option: options(osrm.server = "http://address.of.the.server/") |
Thanks @rCarto I got osrm to work using the local host. I can now use the |
Hmm, there may be an other option to set on the server side. I would search on the OSRM engine documentation. |
I have set it already. Thanks For those who would like to get solution from my experience. |
version 3.3.2 should address the original question |
Hello.
How do I add location along the path of travel so that I can get my route plotted at those points as well.
I'd appreciate a solution to this question. Thanks'
Originally posted by @Anyaoha in #33 (comment)
The text was updated successfully, but these errors were encountered: