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

Search closest place search?q=cr+ #5043

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 2 comments
Closed

Search closest place search?q=cr+ #5043

openstreetmap-trac opened this issue Jul 23, 2021 · 2 comments

Comments

@openstreetmap-trac
Copy link

Reporter: emilio.mejia[at]gmail.com
[Submitted to the original trac issue database at 5.01am, Friday, 29th November 2013]

Best result on nominatim:

http://nominatim.openstreetmap.org/search?q=cr+10.361465,-84.4769966666667&format=xml&addressdetails=1&limit=1

Say: (is the correct and best result)

display_name="Florencia, Alajuela, Costa Rica"

But, in my server not working:

http://192.168.1.117/nominatim/search?q=cr+10.361465,-84.4769966666667&format=xml&addressdetails=1&limit=1

Say: (no result)

How to enable search?q=cr+ on my server with this results ?

@openstreetmap-trac
Copy link
Author

Author: emilio.mejia[at]gmail.com
[Added to the original trac issue at 12.46am, Saturday, 30th November 2013]

Solved:

./utils/specialphrases.php --countries > specialphrases_countries.sql
psql -d nominatim -f specialphrases_countries.sql

@openstreetmap-trac
Copy link
Author

Author: lonvia
[Added to the original trac issue at 8.24am, Saturday, 30th November 2013]

Great.

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