Open pyrog opened 1 year ago
This also has to do with extracts. You might want to use the daily diffs from geofabrik, which are referentially more clean.
Thanks Sarah. That's why we founded ways all over the world even if we download a small part of France 😆
From memory, it was a "public" file from Geofabrik : rhone-alpes-latest.osm.pbf
Does this one is suitable ? https://osm-internal.download.geofabrik.de/europe/france/rhone-alpes-latest-internal.osm.pbf
http://download.geofabrik.de/europe/france/rhone-alpes-updates is the replication source for that file. Geofabrik doesn't keep diffs very long. You may have to redo the import with a current file and then start the replication right away.
Thank you, I understand now.
Could you give some advices for the automatic update ?
wmt-makedb db update
, wmt-makedb hiking update
… ?For our test instance with a "small" dataset from GeoFabrik:
wmt-makedb -r https://download.geofabrik.de/europe/france/
if I understand the following extract from https://download.geofabrik.de/technical.html ?.osc.gz files, or "diff updates" Whenever we produce a new exctract for a region, we also compute the difference between the new extract and the previous one, and make that available for download so that users can continuously update their own regional extract instead of having to download the full file. The file names for update files follow the convention used by Osmosis for the "read-replication-interval" task, so automatic updates are possible with Osmosis, osmupdate, and pyosmium-up-to-date.
The production servers do continuous updates from planet-wide minutelies pretty much as per README.
If you use the replication from Geofabrik, set up a systemd job to run around 6am with:
wmt-makedb -r http://download.geofabrik.de/europe/france/rhone-alpes-updates update db
wmt-makedb update hiking
Geofabrik only publishes daily updates, so this is the maximum you get.
Context:
Commands:
work several time but… hiking update finally crash.
I tried to reload the database but same issue.
PS: I also test updates with the small dataset andorra several times and it work fine.
db update log:
hiking update log: