NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

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's gravatar image

Wetitpig0
307161928
accept rate: 10%

edited 08 Dec '16, 04:00


Osmium tool can update history files with diffs. Use the apply-changes command with the --with-history option.

permanent link

answered 08 Dec '16, 07:45

Jochen%20Topf's gravatar image

Jochen Topf
5.2k55074
accept rate: 31%

Can osmupdate do the same?

(08 Dec '16, 07:58) Wetitpig0
2

As far as I know, osmium is the only program that can do full history updates.

(08 Dec '16, 09:03) Jochen Topf

But osmium at the same time can do what osmupdate can do?

(08 Dec '16, 09:21) Wetitpig0

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.

(08 Dec '16, 09:40) Jochen Topf

Can osmium update automatically?

(08 Dec '16, 09:42) Wetitpig0

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.

(08 Dec '16, 10:06) Jochen Topf

OK........

(08 Dec '16, 10:09) Wetitpig0
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).

permanent link

answered 07 Dec '16, 16:09

SomeoneElse's gravatar image

SomeoneElse ♦
36.9k71370866
accept rate: 16%

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

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×710
×56
×32
×5

question asked: 07 Dec '16, 16:02

question was seen: 2,827 times

last updated: 08 Dec '16, 10:09

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum