Opened 5 years ago

Closed 5 years ago

#5043 closed enhancement (fixed)

Search closest place search?q=cr+

Reported by: emilio.mejia@… Owned by: emilio.mejia@…
Priority: trivial Milestone: Wishlist
Component: nominatim Version: 2.0
Keywords: Cc:

Description

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)

</searchresults>

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

Attachments (2)

debug_local_nom.htm (2.9 KB) - added by emilio.mejia@… 5 years ago.
Debug for local query
debug_osm_nom.htm (16.8 KB) - added by emilio.mejia@… 5 years ago.
Debug for osm server query

Download all attachments as: .zip

Change History (5)

Changed 5 years ago by emilio.mejia@…

Debug for local query

Changed 5 years ago by emilio.mejia@…

Debug for osm server query

comment:1 Changed 5 years ago by emilio.mejia@…

Solved:

./utils/specialphrases.php --countries > specialphrases_countries.sql

psql -d nominatim -f specialphrases_countries.sql

comment:2 Changed 5 years ago by emilio.mejia@…

  • Owner changed from geocoding@… to emilio.mejia@…
  • Status changed from new to accepted

comment:3 Changed 5 years ago by lonvia

  • Resolution set to fixed
  • Status changed from accepted to closed

Great.

Note: See TracTickets for help on using tickets.