-
Notifications
You must be signed in to change notification settings - Fork 19
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
Local downloads ignored/overwritten #385
Comments
I'm using |
The current behavior doesn't care about files named To use a manually downloaded file replace I thought I had this documented but a quick search didn't bring anything up. I'll work on adding that in soon. |
|
@jmealo I think that would work. Your suggestion got me thinking about possible side effects and the only negative impact I could think of was "the I'll try to start working on #388 in the near-ish future. If you have time and want to submit a PR to check the file size as suggested against HEAD (assuming via The geofabrik.py module is the first place that will need adjusting. The logic around what happens when a download isn't needed will also need adjusting. Right now it assumes the correct file is named There may be some other fidgeting required to make this work properly, but that should be a good path forward. |
What version of PgOSM Flex are you using?
latest
Docker image
What did you do exactly?
Try to download north-america.
What did you expect to happen?
It to download in less than half an hour.
What did happen instead?
It stalled and barely got past 100mb.
What did you do to try analyzing the problem?
I downloaded the file using aria2c and then started pgosm-flex again.
Even though the file was
chmod 777
it says "local file not found, downloading file and .md5"I believe this issue may be if the .md5 isn't found, but the file is, it just blows out the file.
Update: Even with the .md5 and .osm.pbf file in the data directory,
chmod 777
it still blows it out.Either way, pgosm-flex will redownload everything.
The text was updated successfully, but these errors were encountered: