[Geocoding] Fresh Nominatim different than nominatim.openstreetmap.org

Sarah Hoffmann lonvia at denofr.de
Thu Apr 10 10:16:50 UTC 2014


Hi,

On Thu, Apr 10, 2014 at 09:12:32AM +0000, Anders Gunnarsson wrote:
> We have made a few fresh installations of Nominatim lately according to the documentation on http://wiki.openstreetmap.org/wiki/Nominatim/Installation
> 
> Our installations sometimes give different results than the official on nominatim.openstreetmap.org. So far we have seen the following differences:
> 
> 
> 1). Hits in Norway and Australia get the country code aq (Antarctica)

That's because people keep annexing Antarctica for their own countries
in OSM, see e.g. http://www.openstreetmap.org/relation/2978650
Nominatim is rather sensitive to this issue and responds
by annexing those countries for Antarctica.

I had an emergency patch installed on osm.org to prevent that from
happening but apparently forgot to backport it to the official version.
I'll try to get around that as soon as possible, feel free to file a
bug report as a reminder. Unfortunately, you will have to reindex the
entire country once the patch is installed.

> 2). Differences in importance

Have you installed the wikipedia data, as of
http://wiki.openstreetmap.org/wiki/Nominatim/Installation#Wikipedia_rankings

> 3). Places not found using structured address search
> 
> Query: http://nominatim.openstreetmap.org/search.php?format=json&city=tao%20yuan%20xian&country=taiwan
> 
> 10 places found on nominatim.openstreetmap.org vs 0 on our server.

Check the data of the results on your server on the details page.
For example for the first result of the query, you should check:

http://<yourserver>/details.php?osm_type=N&osm_id=60655807

Is the node a city in Taiwan? Also, check that the search for Taiwan works.

Regards

Sarah



More information about the Geocoding mailing list