Skip to content
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

Requests for distance & time #25

Closed
cristianvaldez opened this issue Aug 9, 2017 · 1 comment
Closed

Requests for distance & time #25

cristianvaldez opened this issue Aug 9, 2017 · 1 comment

Comments

@cristianvaldez
Copy link

How many requests can be made? I have about 500 points and I would like to check the time and distance between each point, is there a problem if I make the request? It will be about 500*499/2 single requests.

@rCarto
Copy link
Member

rCarto commented Aug 10, 2017

If you don't really need the distances then you can use the osrmTable function, a single request would do the job.
If you use the OSRM demo server (which is the default server for the osrm package) you should read its API usage policy and decide if your usage can be judged excessive (and 124750 requests is a lot of requests...).
The best solution would be to install your own OSRM server, you wouldn't have any limitations...

@rCarto rCarto closed this as completed Aug 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants