Overpass API developpement

Text archives Help


Re: [overpass] Fwd: How does one start diff updates if you use download_clone.sh?


Chronological Thread 
  • From: Roland Olbricht < >
  • To: Rory McCann < >,
  • Subject: Re: [overpass] Fwd: How does one start diff updates if you use download_clone.sh?
  • Date: Thu, 30 Nov 2017 06:33:28 +0100

Hi Rory,

thank you for asking back. The mail did not arrive on the list, it is not in the list archive:
http://listes.openstreetmap.fr/wws/arc/overpass/2017-11/

For that reason I have reposted it on the list now.

-------- Forwarded Message --------
Subject: How does one start diff updates if you use download_clone.sh?
Date: Thu, 23 Nov 2017 14:36:13 +0100
From: Rory McCann
< >
To: Overpass Dev
< >

Hi all,

I recently set up an overpass server, and noticed that the wiki
instructions¹ now recommends using this new `download_clone.sh` script
instead of a bzip2'ed XML file. So I did that and it was very fast,
which is a great improvement.

However I'm not sure how to then set up data updates/diff application.
The instructions² talk about looking at the `state.txt` file, which I
don't have (since I don't have a planet file).

How do I enabled data replication/fetching/applying now?

Thanks,

Rory


¹ https://wiki.openstreetmap.org/wiki/Overpass_API/Installation#Populating_the_DB
² https://wiki.openstreetmap.org/wiki/Overpass_API/Installation#Applying_minutely_.28or_hourly.2C_or_daily.29_diffs

Thank you for bringing up the issue. The official documentation also misses out on that point:
http://dev.overpass-api.de/no_frills.html#minute_updates

Please use the content of the file $DB_DIR/replicate_id
An alternative could be to use the script bin/fetch_osc_and_apply.sh which reads the content of that file automatically.

I have fixed the documentation.

Best regards,

Roland


  • Re: [overpass] Fwd: How does one start diff updates if you use download_clone.sh?, Roland Olbricht, 11/30/2017

Archive powered by MHonArc 2.6.19+.

Top of page