Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

[PATCH] respect addressdetails key in nominatim reverse geocode request #3446

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 1 comment

Comments

@openstreetmap-trac
Copy link

Reporter: booo
[Submitted to the original trac issue database at 12.52am, Sunday, 9th January 2011]

This patch should fix addressdetails support for reverse geocode request of nominatim. This patch should work for xml and json. Please check/test this patch. I do not have test setup running.

Example of bad response:

http://nominatim.openstreetmap.org/reverse?format=xml&lat=52.5487429714954&lon=-1.81602098644987&zoom=18&addressdetails=0

http://nominatim.openstreetmap.org/reverse?format=xml&lat=52.5487429714954&lon=-1.81602098644987&zoom=18&addressdetails=1

@openstreetmap-trac
Copy link
Author

Author: lonvia
[Added to the original trac issue at 4.52pm, Sunday, 4th March 2012]

Fixed. XML already works, JSON will be deployed shortly.

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

No branches or pull requests

1 participant