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 geocoder is giving incorrect results #316

Closed
thunder39 opened this issue Feb 23, 2018 · 4 comments
Closed

Reverse geocoder is giving incorrect results #316

thunder39 opened this issue Feb 23, 2018 · 4 comments

Comments

@thunder39
Copy link

Hi,

Downloaded the index at http://download1.graphhopper.com/public/photon-db-latest.tar.bz2. When I do the following reverse geocoding request http://localhost:2322/reverse?lon=18.086592&lat=59.317243 I get as a result Urvädersgränd which is incoorect (detailed JSON Output below). Urvädsgränd is around 800meters away from the expected result Fjällgatan 32a. I tested this with several locations around Europe and always get a result which is a few hundred meters away than the actual correct result. Anyone knows why?

Thanks for any help!

Detailed JSON response:
{"features":[{"geometry":{"coordinates":[18.0719193,59.3185576],"type":"Point"},"type":"Feature","properties":{"osm_id":1248735174,"osm_type":"N","country":"Sweden","osm_key":"place","housenumber":"4","city":"Stockholm","street":"Urvädersgränd","osm_value":"house","postcode":"12264","state":"Stockholms län"}}],"type":"FeatureCollection"}

@thunder39
Copy link
Author

BTW: Doing the same request at http://photon.komoot.de I get the correct result. So, I expect the index to be incorrect?

@karussell
Copy link
Collaborator

This should be fixed with #306

@aoles
Copy link

aoles commented Oct 11, 2018

Still an issue, see my comment at #361.

@hbruch
Copy link
Collaborator

hbruch commented Oct 12, 2018

Closed as duplicate of #328. As temporary workaround, add &distance_sort=true as parameter.

@hbruch hbruch closed this as completed Oct 12, 2018
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