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

HowTo: Apply and remove state change files #388

Closed
ChrissW-R1 opened this issue Apr 10, 2017 · 5 comments
Closed

HowTo: Apply and remove state change files #388

ChrissW-R1 opened this issue Apr 10, 2017 · 5 comments

Comments

@ChrissW-R1
Copy link

Is there a possibility to apply the OSC files and remove them after a successful import?

If I use the daemons to download and apply all changes, the required disk space will rapidly increasing!

@ChrissW-R1
Copy link
Author

Ok, but in my opinion this could be a very useful feature for the future...

@mmd-osm
Copy link
Contributor

mmd-osm commented Apr 10, 2017

Correction: you should take a look at fetch_osc_and_apply.sh. I think it does exactly what you plan to do.

@ChrissW-R1
Copy link
Author

Nice, but if I understand the code correctly, this script doesn't support the meta=attic option, right? Only meta=yes or no meta.

@mmd-osm
Copy link
Contributor

mmd-osm commented Apr 10, 2017

Right. The script hasn't been updated in a while and doesn't cover yet attic mode. However there's no technical reason to keep it that way. If you like you can provide a pull request to include attic support for this script. You could use the logic in apply_osc_to_db.sh as a template.

@ChrissW-R1
Copy link
Author

Ok, I added this function to the script.

See #390

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