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 - different result #361

Closed
ondertol1 opened this issue Oct 5, 2018 · 2 comments
Closed

reverse - different result #361

ondertol1 opened this issue Oct 5, 2018 · 2 comments

Comments

@ondertol1
Copy link

Hello,
i use Pothon to reverse geocoding, but when I analyze the results i fount an error: the street are wrong, i verify with nominatim and the results are good.

With Photon (in the result the lat and lon changes):
http://photon.komoot.de/reverse?lat=41.8875273&lon=12.5145544&lang=it

the result is:
{"features":[{"geometry":{"coordinates":[12.5138359,41.8915846],"type":"Point"},"type":"Feature","properties":{"osm_id":3237227531,"osm_type":"N","country":"Italia","osm_key":"amenity","housenumber":"18","city":"Roma","street":"Piazza di Porta Maggiore","osm_value":"cafe","postcode":"00185","name":"Bar Maggiore","state":"Lazio"}}],"type":"FeatureCollection"}

With Nominatim (lat and lon parameters in the result not change):
https://nominatim.openstreetmap.org/reverse?format=json&lat=41.8875273&lon=12.5145544&zoom=18&addressdetails=1

the result is:
"place_id":"5087786","licence":"Data © OpenStreetMap contributors, ODbL 1.0. https://osm.org/copyright","osm_type":"node","osm_id":"566506497","lat":"41.8875273","lon":"12.5145544","display_name":"Arco di Via Nola, Via Nola, Municipio Roma I, Roma, RM, LAZ, 00182, Italia","address":{"address29":"Arco di Via Nola","road":"Via Nola","suburb":"Municipio Roma I","city":"Roma","county":"RM","state":"LAZ","postcode":"00182","country":"Italia","country_code":"it"},"boundingbox":["41.8874273","41.8876273","12.5144544","12.5146544"]}

only the nominatim result are ok. Do you know why?
Thankyou all

@aoles
Copy link

aoles commented Oct 11, 2018

Same here, the returned address is a few streets off from the expected one (Karlsruher Str. 130).

image

@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

3 participants