-
Notifications
You must be signed in to change notification settings - Fork 590
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
Update does not work #1299
Comments
Hi, the openmaptiles/docker-compose.yml Line 51 in d7ea453
The |
No. I did not. Perhaps that should be added to the update documentation. |
Yes, it could be. PR is very welcome. |
I'm not submitting a PR until I have it working. I have no idea if it is working or not. My update task has been running for about 19 days now. Is that wrong? Should it be doing something else? Does the update task actually end or is it continuous? I'm asking at a fundamental level here. I simply don't know. Has anyone else ever run update? If so, how long does it take? What does it look like? How does it behave? Is there some other setting that wasn't documented that I've missed? So many questions.... |
@etresoft What did you try so far? Which country are you downloading? |
I did the following (working on Ethiopia)
Which output did you get? which interval did you use? EDIT: Problem here is that geofabrik has only daily diffs for Ethiopia ... I would like to have minutely diffs |
@etresoft Which behind-time does the script output? If this is much more then a day, probably something is wrong or your initial download was too old? I tried it with Eritrea (I need still to find minutely diffs for Ethiopia) and it works flawlessly |
@amenk To answer your questions... I have only tried what I mentioned above. It will be some time before I could attempt this again. I'm still processing a new planet import using the latest build. I appreciate the updates to the instructions. I'll try it again later with a small country just so I can see what the output is supposed to look like. However, I do require planet-wide data. I don't need daily updates. Given that it takes a week to import planet-wide data, that is plenty of time to checksum tiles from the previous update to find any updated tiles. |
@etresoft I think it if is zero values, it's all fine - it will just run forever. Maybe it already was working for you :-) |
@amenk The documentation specifically said, "After each run you should also have a list of tiles that have updated." Is that different now? Is there some kind of trigger for new tile availability? |
@etresoft It writes some |
For some clarification when make start-update-osm is running do we need to launch make "generate-changed-tiles" after or do the mbtiles are already updated? Thanks for this explanation |
Hi @2803media, if the The Then I hope that helps. If you feel, that more explanation is needed, please reopen this issue. |
I tried to run an update task and received the following failure:
make update-osm area=planet
Starting postgres docker compose target using default image (no recreate if exists)
docker-compose run --rm --user=1000:1000 openmaptiles-tools sh -c 'pgwait && import-update'
Creating openmaptiles_openmaptiles-tools_run ... done
[2021-11-12T00:35:03Z] 0:00:00 [fatal] Unable to read last.state.txt:open /import/last.state.txt: no such file or directory
ERROR: 1
make: *** [Makefile:395: update-osm] Error 1
It seems odd that it requires a hard-coded path like /import. I tried creating it, and an empty last.state.txt but no change.
The text was updated successfully, but these errors were encountered: