Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow for settings to override GEONAMES_DUMPS_URL and GEONAMES_DATA #5

Open
wants to merge 39 commits into
base: master
Choose a base branch
from

Conversation

pix0r
Copy link

@pix0r pix0r commented Mar 20, 2012

Not sure if this is the appropriate way to override an app-specific setting.. I'd like to use your download_geonames but not keep my data in my virtualenv dir.

originell and others added 30 commits May 6, 2011 15:00
…they match then correctly close existing file and also close the web file. Print a message to inform the user too.
…file downloaded so far. Ideally this should be on a single line but \r just seems to delay output until all the file has downloaded.
…he progress it printed, X backspace chars are printed and then flushed. Without this either the output would be buffered until the download was finished or new lines would appear from somewhere.
…her files. Only the main 'allCountries' file is downloaded since it's only 8.8MB which should be small enough as it is. Also include an option to disable the postalcodes.
…ormat. All the data from the postal code dump is kept.
All fields should be imported from the original file.
…curacy figures. If the long or lat are missing then ignore the row. If accuracy is missing then assume that it's 0 (zero)
…the values from the compress file like the download command does.
…of zcat which doesn't work in POSIX mode correctly (appending a .Z to the filename by default).
Conflicts:
	geonames/management/commands/load_geonames.py
	setup.py
Removed the custom BigIntegerField since Django >= 1.2 has its own.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants