Skip to content

Allow for settings to override GEONAMES_DUMPS_URL and GEONAMES_DATA#5

Open
pix0r wants to merge 39 commits into
ramusus:masterfrom
pix0r:master
Open

Allow for settings to override GEONAMES_DUMPS_URL and GEONAMES_DATA#5
pix0r wants to merge 39 commits into
ramusus:masterfrom
pix0r:master

Conversation

@pix0r
Copy link
Copy Markdown

@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