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

Update Table service documentation #5541

Closed
vasyl-zhurba opened this issue Sep 6, 2019 · 8 comments
Closed

Update Table service documentation #5541

vasyl-zhurba opened this issue Sep 6, 2019 · 8 comments

Comments

@vasyl-zhurba
Copy link

vasyl-zhurba commented Sep 6, 2019

Hi,

Could you please update Table service HTTP documentation and include annotations query parameter to allow readers know that it is possible to use it to get different type of data, such as distances.

?annotations=duration,distance

Relates to #1353

@wangyoucao577
Copy link
Contributor

@vasyl-zhurba
Copy link
Author

Thank you!

@appmo92
Copy link

appmo92 commented Oct 2, 2019

This doesn't work. If you add the ?annotations=distance you will get the error message "Unrecognized parameter 'annotations'"

@vasyl-zhurba
Copy link
Author

This link works for me

@appmo92
Copy link

appmo92 commented Oct 2, 2019

But if you try this you will get the error message. When you look in the documantation of OSMR, it should work.....

@vasyl-zhurba
Copy link
Author

Interesting, indeed. I have tried these settings on my local OSRM and it worked. I have tried all cases for annotations parameter (distance, duration, distance,duration, duration,distance). All worked well. Probably there is a problem on demo server?

@danpat
Copy link
Member

danpat commented Oct 2, 2019

Yes - the demo server implementation is lagging behind master. The documentation is correct for the current code.

@appmo92
Copy link

appmo92 commented Oct 7, 2019

Will be there an update for the demo server?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants