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

Updating data #4

Open
fedeisas opened this issue Aug 26, 2013 · 1 comment
Open

Updating data #4

fedeisas opened this issue Aug 26, 2013 · 1 comment

Comments

@fedeisas
Copy link

Hi guys. I'm trying to adapt this to update existing data.

Since the process is time expensive (downloading / importing), truncating and reimporting would result in DB downtime.

Geonames exposes their changes throught a modifications.txt file:
modifications-.txt : all records modified on the previous day, the date is in yyyy-MM-dd format. You can use this file to daily synchronize your own geonames database.

I guess we could run a a cronjob that fetches that file and runs the modifications.

Any idea how to tackle this?

@scmoral
Copy link
Member

scmoral commented Sep 25, 2013

Hi Fedeisas.

Absolutelly agree with the update you are proposing. In fact, dealing with modifications.txt file from geonames was one of the first to-dos in my list. So I'm not the only one that thinks it would be a MUST have in this script. I will achieve that issue as soon as I have some free time.

Thanks for your appreciation.

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

No branches or pull requests

2 participants