GeoNames Home | Postal Codes | Download / Webservice | About 

GeoNames Forum
  [Search] Search   [Recent Topics] Recent Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Country search  XML
Forum Index -> General
Author Message
robbycraig



Joined: 01/12/2006 15:42:16
Messages: 3
Offline

When I perform the following query to the web service

http://ws.geonames.org/search?q=UK&maxRows=1&fcode=pcli&fcode=pcl&style=full

It returns the United Kingdom. I have a local copy of the database when sql query would I have to execute to get the same result?

Thanks

marc



Joined: 08/12/2005 07:39:47
Messages: 4501
Offline

Hi Robby

The geonames search is not database driven. We don't use SQL for the search, we use a lucene full text search.

Cheers

Marc

[WWW]
Hiren



Joined: 06/10/2008 08:22:36
Messages: 6
Offline

hello Marc,

I want to give the suggestions for the city that are entered by my site users. What can be the better way? should I use the webservice provided by geonames or should I dumb the DB locally and search into that?


Thanks
 
Forum Index -> General
Go to:   
Powered by JForum 2.1.5 © JForum Team