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

reverse geocaode provides wrong zip-code (postcode) and city #4855

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

Comments

@openstreetmap-trac
Copy link

Reporter: 5erBande
[Submitted to the original trac issue database at 11.43am, Wednesday, 8th May 2013]

== Input ==
http://nominatim.openstreetmap.org/reverse?format=xml&lat=50.926&lon=7.25&zoom=16&addressdetails=1

== Result with Zoom level 16 ==
The above request returns the 51491'', which belongs to the city Overath nearby. The other adressparts are correct (''Lohmar Rhein-Sieg-Kreis).

Both, the lat/lon and the next street Dahlhauser Strae'' (osm_type=way osm_id=36991809) are within the boundary of the relation of the city ''Lohmar'' (osm_id=173123), which includes the right postcode (''postal_code = 53797''). I have checked the boundary OSM-relation of ''Lohmar and did not found an error.

== Result with Zoom level 12 ==
The search function uses the Steinenbrck'' (osm_type=node osm_id="401294963), which is tagged ''is_in=Overath. In this case postcode and city matches, but both is wrong.

@openstreetmap-trac
Copy link
Author

Author: lonvia
[Added to the original trac issue at 11.23pm, Sunday, 15th December 2013]

Fixed in [changeset:10f3a4d/nominatim]. Postcode tag on objects from the address are now merged into the display result.

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