Skip to Content.
Sympa Menu

overpass - Re: [overpass] error after history import

Subject: Overpass API developpement

List archive

Re: [overpass] error after history import


Chronological Thread 
  • From: mmd <>
  • To:
  • Subject: Re: [overpass] error after history import
  • Date: Wed, 4 Nov 2015 22:32:15 +0100

Hi,

Am 04.11.2015 um 22:12 schrieb michael spreng:
> Hi
>
> On 04/11/15 21:51, mmd wrote:
>> Set up database update using hourly diffs. For August 1st 2015, this
>> should be based on the following file (+/- 1 error margin).
>>
>> http://planet.osm.ch/replication/hour/000/020/173.state.txt
>
> That requires me the have properly cut diffs for all of the history I
> want to provide. And ideally I would like to provide the full history.
> But We only started with the diffs in April 2013.

Ok, I see your point.

>
> Could I import an ancient extract and then apply the full history dump
> as a diff maybe?

I suspect that this requires quite a bit of much memory:

osmconvert switzerland-padded-softcut.osh.pbf --out-osc | wc -c
16601638809

osmium has some option for time-filter to create a history file based on
a from and to-timestamp.

osmium time-filter [OPTIONS] INPUT-FILE FROM-TIME TO-TIME

Maybe this could be used to create a small history file for each day
(based on switzerland-padded-softcut.osh.pbf), and then use osmconvert
--out-osc just to create a diff for this day and ran update_database on it.

I have no idea if this works, though.


--




Archive powered by MHonArc 2.6.18.

Top of Page