-
Notifications
You must be signed in to change notification settings - Fork 145
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
Snap to roads #193
Comments
I know Google requires a license... For openstreetmap (THE open way to go...) there is this project: |
Here is a demo of the osrm engine. It's very quick, can retrace in real time if you add points. This is the service/function used, I think: https://github.com/Project-OSRM/osrm-backend/wiki/Server-api#service-match |
I think it is possible. Looks like this one https://github.com/Project-OSRM/osrm-backend/wiki/Server-api#service-match suits the needs of snapping of points loaded from archive. Also from my understanding their demo server may be used without any restrictions (see https://github.com/Project-OSRM/osrm-backend/wiki/Api-usage-policy for more info). I will put this feature to my roadmap. |
Thanks for sharing information 👍 |
Thank YOU for this fantastic work, and for listening!!! |
Big +1 for this! |
…ent of 'getPositions' method to conform to the current signature (updated in scope of #193)
Just downloaded and installed the new version, but "snap to roads" is not working for me... I see the same straight lines between points... Am I doing something wrong...? I am on a Amazon EC2 virtual machine... Should I have to open some ports for this to work...? |
Lines will be same 'straight' lines. Just the points are snapped for now. |
OK! |
Actually I am still thinking about a better way of implementation, maybe will move this to the client side. Right now server makes requests and returns 'snapped' points to the client. Same OSRM service returns the line in some binary format as well, but I doubt it will pass through the GWT RPC. That's why I am thinking about calling of the OSRM service directly from the web browser after positions are loaded from the server side. |
Sounds good to me! |
This implementation would allow also to snap during the following of a vehicle, real time. |
Hello, In French interface "snap to road" is not so close to road :( (Latest version). |
@waca98 First of all, please do not post your issues on the closed threads. Open new instead. Related your case with French, I was not able to reproduce it. It works for me in exactly same way as it does for English. Please submit a new issue with the track attached (in GPX format, just do the export). |
Snap to road cannot work on chrome, Is there any compatibility issues? |
@ramlaxmanrimal please don't post questions in old threads. As for your question find discussion here #387 |
Would it be possible in the future to enable snap to roads in route drawing...? Even the free option looks attractive.
https://developers.google.com/maps/documentation/roads/snap
https://developers.google.com/maps/documentation/roads/
Thanks for a beautiful work!!!
The text was updated successfully, but these errors were encountered: