-
-
Notifications
You must be signed in to change notification settings - Fork 19
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
Add driving directions (routing) #31
Comments
Related discussion #123 Also: Possible option https://github.com/Valhalla/valhalla |
The link for the OSRM should be: https://project-osrm.org/ I would also consider OTP (OpenTripPlanner), as it is a multimodal planner that includes public transport (GTFS support), bicycle sharing and more, in addition to the traditional modes. https://www.opentripplanner.org/ |
I havent check the api limits yet, but i guess both could be fine. I liked the speed of the osrm, as well as possibility to add middle points. Do you ever use opentripplanner for intermodal directions and trust it? I tend to use other (non-free) services. |
Yes, I do use intermodal OTP but just for bicycle/walk/bike sharing on my site bici.madrid and the results very good. Right click anywhere on the map and click "Ruta desde aquí" and "Ruta desde aquí" to choose the start end points. Then you can move those points to see how fast it recalculates. It is the only option here in Madrid to plan a bike sharing trip and to calculate routes to the nearest bicycle parking to the destination (including the walking part from the bicycle parking to the final destination). I provided a digital elevation model, so OTP takes in account the slopes. And it allows the user to choose a point inside a triangle where each vertex represents "bike friendly", "fast" and "avoid slopes". Some lovely feature is that it sometimes offer walk-your-bike shortcuts when on a bicycle route (Ex: it may suggest crossing a zebra crossing as a pedestrian, to save some minutes). Unfortunately OTP don't support adding middle points. And there is no public world-wide API for OTP as far as I know, so it would have to be built along OsmAPP. For public transport I believe OTP is (one of?) the best public transport route planner. It is used nationwide for PT routing for Norway and Finland, operated by their Transport Authorities. Check out some of the public deployments, there are quite a few cities and regions in Europe and the US that have chosen OTP for their official route planners. And most look way better than the included OTP demo that my site uses: |
Impresive work with bici.madrid. I like the little things like saving up time with walking your bike. I do something similar here in Prague, there is one shortcut using stairs which saves you 5 minutes uphill in high traffic :) btw, in Prague we also have some bike planner with options on mapa.prahounakole.cz - didnt check if it's intermodal. But i know they use OSM data as well. I definitelly support and welcome the idea to prepare world wide intermodal API for OsmAPP, but let's say it is not on a shortlist 😅 eg. I use only free APIs so far.. I suppose we could add OSRM first, and then iterate and perhaps allow user-chosen routers later, eg. based on city where you explore, etc. similar to community-index sources. |
POI search with directions combined is what I still miss from the official osm website and also from our GraphHopper Maps app. I really like what you have achieved so far. Let me know if also GraphHopper (or our API) is an option for driving directions for you (we can offer this for free if not high traffic :) ). Even in-browser turn-by-turn GPS navigation is possible. |
Fixed in: You can test in live on https://osmapp.org |
@karussell Hi - so we have recently built in support for Driving directions using GraphHopper and it works great! 🎉 Can we perhaps ask for some higher limits on our account? The 500 free credits/day is kinda limiting for features like #763 :) btw, @Dlurak is currently exploring the topic of turn-by-turn GPS navigation in #768 - stay tuned :) |
Sure, we can do this. Can you send me your GraphHopper Email via support? |
@karussell Done! Thank you 👍 |
Consider using OSRM https://project-osrm.org/
Consider porting routing code from our friendly project cartes.app https://github.com/laem/cartes
The text was updated successfully, but these errors were encountered: