RE: Has anyone used Geonames without webservice?

2011-02-01 Thread Dave Maharaj
. I'm forcing them to be honest. So they can't enter that they live in Los Angeles, Alberta, Africa. ( a non existent place) From: Shinya Koizumi [mailto:sh.koiz...@gmail.com] Sent: Monday, January 31, 2011 6:43 PM To: cake-php@googlegroups.com Subject: Re: Has anyone used Geonames without

Has anyone used Geonames without webservice?

2011-01-31 Thread Dave Maharaj
Just wondering is anyone has used the geonames database with cake but with own database, not thru webservices? I know it's a monster database in size but I do not like the idea of using a service that's not on my own server. If it goes down then it affects my site so just curious if anyone has

Re: Has anyone used Geonames without webservice?

2011-01-31 Thread Shinya Koizumi
I think it's difficult to download all the stuff in local and how do you maintain? I think google map api is your best choice. What you can do is save the unique query( keyword and resolved lat,lon ) in database so that for popular places you don't always have to go to web service . On Mon, Jan

Re: Has anyone used Geonames without webservice?

2011-01-31 Thread Dr. Tarique Sani
Unless you find a way to cache the query results the queries are going to be slow - specially if you are doing precise calculations. Another trick would be to use your database only as a fallback when the webservice is not available Cheers Tarique On Tue, Feb 1, 2011 at 2:02 AM, Dave Maharaj