-
django-geonames 0.3: Incremental updates support
April 4, 2008 at 12:18:11 CESTAs I promised yesterday, here is the next Django-Geonames release. Changes from 0.2 are:
- Incremental updates support (database independant)
- Application renamed from geo to geonames
- Added LICENSE
However, MySQL is still the only database backend supported, because of the geonames-import script. Using the Django ORM for pushing all those records to the database would make it even slower, so I'm most likely to add support for PostgreSQL using it's native API. As for other database backends supported by Django, I don't think you're going to use this database with SQLite and I don't feel like installing Oracle for now (anyway, I'd be happy to accept patches to support it).
Thanks for the continued efforts, I plan on using this code in a geo project soon (by which time you'll be on version 0.9 probably!)
Hi,
I just downloaded geonames 0.3, and apparently there is a wrong parameter in geonames-import.
Line 462 is sending parameter 'passwd' where the push method has a 'password' parameter, after fixing this the script seems to work correctly. Althogh I'm having trouble with character encodings apparently.
I also have a question, Why did you choose not to use the geonames_ prefix for the tables?
The encoding issue was becuase of my database had latin1 as default encoding.
Thanks, for sharing
Antonio Cangiano is asking for help and ideas. Being himself the former author of the Rails tools for the IBM DB2 DBMS he’s searching for input for the development of a set of tools and drivers for Python, Django an DB2.
I think it’s a great idea having that kind of support in Django, even maybe if I won’t be using DB2 anytime soon. So, if you do care about Django and Python send your ideas to him and we’ll all make one enterprisey step ahead
http://www.punenet.com
Really nice work ! But, did you stop de development ?
Great app, such a pity that i found if just now.
We already did our own application from geonames database, but there are 8000000 object - possibly we missed something?