GeoNames Home | Postal Codes | Download / Webservice | About 

GeoNames Forum
  [Search] Search   [Recent Topics] Recent Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Fuzzy Searching - suggested algorithm?  XML
Forum Index -> General
Author Message
ajmas



Joined: 09/02/2009 01:01:21
Messages: 18
Offline

I would like to be able to do a 'fuzzy' search using the geonames database, a bit like I would do in Google Maps. Basically I can type in a location and it would return me the best possible match.

I have considered simply splitting at word breaks or at commas and then doing a search on each of the components. Are there any other approaches?
david masclet



Joined: 26/11/2007 11:49:58
Messages: 67
Offline

hi

i recommend you to use a fulltext search engine like solr or lucene. the Gisgraphy framework can inject the data into a fulltext search engine and provide geoloc and fulltext webservice with a spell checker. Many format are available XML,JSON,PYTHON,RUBY,PHP, ...

you can see a demo at: http://services.gisgraphy.com
you can download the project at www.gisgraphy.com

Hope it helps

David
[WWW]
ajmas



Joined: 09/02/2009 01:01:21
Messages: 18
Offline

Wow, that looks really good. I will most certainly give it a go.
 
Forum Index -> General
Go to:   
Powered by JForum 2.1.5 © JForum Team