[Geocoding] [OpenStreetMap] #5201: Nominatim, wrong country name for cities in China

OpenStreetMap trac at noreply.openstreetmap.org
Thu Jul 24 06:16:48 UTC 2014


#5201: Nominatim, wrong country name for cities in China
-----------------------+-------------------------
 Reporter:  alunu      |      Owner:  geocoding@…
     Type:  defect     |     Status:  new
 Priority:  major      |  Milestone:
Component:  nominatim  |    Version:
 Keywords:             |
-----------------------+-------------------------
 I am using Nominatim to search cities/towns/villages and it happened that
 I tested with the town of Shanghai. Here is the first result from
 Nominatim:[[BR]]
 [[BR]]
 ({place_id:"7768813", licence:"Data \xA9 OpenStreetMap contributors, ODbL
 1.0. http://www.openstreetmap.org/copyright", osm_type:"node",
 osm_id:"778910398", boundingbox:[31.0653441, 31.3853441, 121.3288922,
 121.6488922], lat:"31.2253441", lon:"121.4888922", display_name:"Shanghai,
 Huangpu District, Shanghai, Socialist Republic of Vietnam", class:"place",
 type:"city", importance:0.803757578797,
 icon:"http://open.mapquestapi.com/nominatim/v1/images/mapicons/poi_place_city.p.20.png",
 address:{city:"Shanghai", county:"Huangpu District", state:"Shanghai",
 country:"Socialist Republic of Vietnam", country_code:"cn"}})[[BR]]
 [[BR]][[BR]]
 The city is wrongfully placed in the Socialist Republic of Vietnam.
 Although the country code is ok, I am relying on address.country property
 to pull the country.[[BR]]
 [[BR]]
 [[BR]]
 There seems to be a general problem with cities in China.[[BR]]
 [[BR]]
 The same problem when searching through [http://www.openstreetmap.org].

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



More information about the Geocoding mailing list