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

reverse search default parameter for distance_sort #328

Closed
pbrugger opened this issue May 3, 2018 · 2 comments
Closed

reverse search default parameter for distance_sort #328

pbrugger opened this issue May 3, 2018 · 2 comments

Comments

@pbrugger
Copy link

pbrugger commented May 3, 2018

I updated photon from 0.2.2 to 0.3.0 and reverse geocoding does behave different now. It seems that without parameter distance_sort=true my first result is too far away. (Because distance_sort=false is default now, also for reverse search). Results are ok with distance_sort=true

Is there a way to set distance_sort=true as default for reverse search?

Otherwise I would have to change a lot endpoints in several websites and apps :-/

@birros
Copy link

birros commented Jun 5, 2018

I confirm this issue. Nothing dramatic but can be annoying in production.

By the way, thank you very much for this very useful free software ;-)

@hbruch
Copy link
Collaborator

hbruch commented Oct 12, 2018

I confirm this issue and will provide a fix.

@lonvia lonvia closed this as completed in 79eb04f Oct 12, 2018
lonvia added a commit that referenced this issue Oct 12, 2018
Fix #328: Set distance_sort default to true for ReverseRequest
Gerungofulus pushed a commit to Gerungofulus/photon that referenced this issue Jun 14, 2019
Signed-off-by: Holger Bruch <holger.bruch@systect.de>
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

3 participants