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

Add option to disable hint_data output. #1789

Closed
ardanika opened this issue Nov 20, 2015 · 1 comment
Closed

Add option to disable hint_data output. #1789

ardanika opened this issue Nov 20, 2015 · 1 comment

Comments

@ardanika
Copy link

When using the Match service, the response contains hint_data. This additional data doubles the size of the response from the match query and is not needed unless you're also using the viaroute service. It would be nice to have a command line option or service request parameter that disables the output of hint_data at least for the Match service.

@daniel-j-h
Copy link
Member

The v5 API still sends the hint every time:
https://github.com/Project-OSRM/osrm-backend/blob/master/docs/http.md

Did we forget to add a switch for that during the v4 -> v5 transition or what is the idea behind it? @TheMarex

daniel-j-h added a commit that referenced this issue Dec 15, 2016
Adds an `?emit_hints=false` option which lets us skip generating and
emitting hints for Waypoints. This can be used to decrease the response
size when the user does not need hints anyway.

We should think about making `false` the default here in v6.
daniel-j-h added a commit that referenced this issue Dec 16, 2016
…1789.

Adds an `generate_hints=false` option which lets us skip generating and
emitting hints for Waypoints. This can be used to decrease the response
size when the user does not need hints anyway.

We should think about making `false` the default here in v6.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants