fíam

(rhymes with liam)

  • django-geonames 0.3: Incremental updates support

    April 4, 2008 at 12:18:11 CEST

    As 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).

    django-geonames-0.3.zip

7 comments for "django-geonames 0.3: Incremental updates support"

  • #1 Comment by James April 4, 2008 at 17:53:22 CEST ( Permalink )

    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!)

  • #2 Comment by Jj June 17, 2008 at 21:19:38 CEST ( Permalink )

    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?

  • #3 Comment by Jj June 17, 2008 at 21:53:38 CEST ( Permalink )

    The encoding issue was becuase of my database had latin1 as default encoding.

  • #4 Comment by aloy June 16, 2009 at 16:09:12 CEST ( Permalink )

    Thanks, for sharing

  • #5 Comment by anthony July 7, 2009 at 08:10:32 CEST ( Permalink )

    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

  • #6 Comment by julien Oct. 8, 2009 at 12:57:34 CEST ( Permalink )

    Really nice work ! But, did you stop de development ?

  • #7 Comment by Evgeniy Oct. 22, 2009 at 07:31:38 CEST ( Permalink )

    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?

(Won't be published)

Notify me of followup comments via e-mail

HTML is escaped, links are automatically converted