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

Nominatim reports wrong OSM type for postcode #5112

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

Nominatim reports wrong OSM type for postcode #5112

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

Comments

@openstreetmap-trac
Copy link

Reporter: pnorman
[Submitted to the original trac issue database at 4.50pm, Tuesday, 4th February 2014]

The results for http://nominatim.osm.org/reverse?lat=18.398&lon=-65.9952&zoom=6 tell you the OSM object for the result is relation 99515, which was redacted some time ago.

The XML for the output is

<reversegeocode timestamp="Wed, 05 Feb 14 10:12:32 +0000" attribution="Data  OpenStreetMap contributors, ODbL 1.0. http://www.openstreetmap.org/copyright" querystring="lat=18.398&lon=-65.9952&zoom=6">
<result place_id="98350795" osm_type="relation" osm_id="99515" ref="00982" lat="18.4108710042588" lon="-65.9941380812639">
Carolina, Carolina Municipio, 00982, United States of America
</result>
<addressparts>
<city>Carolina</city>
<county>Carolina Municipio</county>
<postcode>00982</postcode>
<country>United States of America</country>
<country_code>us</country_code>
</addressparts>
</reversegeocode>

This was found on OSM.org with "Where am I?", resulting in http://www.openstreetmap.org/search?query=18.3980%2C-65.9952

@openstreetmap-trac
Copy link
Author

Author: lonvia
[Added to the original trac issue at 7.41pm, Wednesday, 5th February 2014]

Fixed in [changeset:8286abb/nominatim]

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