[Geocoding] [OpenStreetMap] #5112: Nominatim reports wrong OSM type for postcode

OpenStreetMap trac at noreply.openstreetmap.org
Wed Feb 5 10:22:41 UTC 2014


#5112: Nominatim reports wrong OSM type for postcode
-----------------------+-------------------------
 Reporter:  pnorman    |      Owner:  geocoding@…
     Type:  defect     |     Status:  new
 Priority:  major      |  Milestone:
Component:  nominatim  |    Version:
 Keywords:             |
-----------------------+-------------------------
 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

 {{{#!xml
 <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

-- 
Ticket URL: <https://trac.openstreetmap.org/ticket/5112>
OpenStreetMap <http://www.openstreetmap.org/>
OpenStreetMap is a free editable map of the whole world



More information about the Geocoding mailing list