Although there are diffs on the page, how can I build up a osm history file with an existing one and those diffs by myself? Thanks! asked 07 Dec '16, 16:02 Wetitpig0 edited 08 Dec '16, 04:00 |
2 Answers:
Osmium tool can update history files with diffs. Use the apply-changes command with the --with-history option. answered 08 Dec '16, 07:45 Jochen Topf showing 5 of 7 show 2 more comments |
I wrote something about how to update a rendering database here. That's designed to apply updates to a recent import (less than a day old). answered 07 Dec '16, 16:09 SomeoneElse ♦ I mean... like these (07 Dec '16, 16:19) Wetitpig0 1 Those are "full history" planet files. I very much doubt that they are actually what you want. As http://planet.osm.org/planet/full-history/ says, "The full history planet file contains the full editing history of the OpenStreetMap database in both XML and custom PBF formats". (07 Dec '16, 16:22) SomeoneElse ♦ Yes. That is what I want, but I want to update it more frequently. (07 Dec '16, 23:34) Wetitpig0 |
Can osmupdate do the same?
As far as I know, osmium is the only program that can do full history updates.
But osmium at the same time can do what osmupdate can do?
Not sure what you are asking here. Osmium can do some things that osmupdate can do and some it can't. And the other way round. Read the osmium and osmupdate documentation for details.
Can osmium update automatically?
If you mean by "update automatically", can you start it and it will download the diff files it needs and apply them, then the answer is no. Currently you have to give one or more diff files to Osmium explicitly. I recommend using Osmosis to download the diffs and then use Osmium to apply them.
OK........