<div dir="ltr">Christian, I would like to add torrent support to the download-osm tool [1].  While I could try to scrape <div><a href="https://osm.cquest.org/torrents/" rel="noreferrer" target="_blank">https://osm.cquest.org/torrents/</a> , I would obviously rather use the structured xml file (or if you could provide a JSON file, even better).<br></div><div><br></div><div>Proposed logic:</div><div>* get the catalog file (xml/json)</div><div>* download the latest torrent</div><div>* (TBD) possibly use some magical aria2c options to stop the download if it is not progressing and fallback to regular http, or possibly pick a slightly older torrent (?).  Suggestions are welcome -- see full list of aria2c options [2]</div><div><br></div><div>[1] <a href="https://github.com/openmaptiles/openmaptiles-tools#multi-streamed-osm-data-downloader" target="_blank">https://github.com/openmaptiles/openmaptiles-tools#multi-streamed-osm-data-downloader</a></div><div>[2] <a href="https://aria2.github.io/manual/en/html/aria2c.html">https://aria2.github.io/manual/en/html/aria2c.html</a></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Feb 9, 2020 at 12:44 PM Christian Quest <<a href="mailto:cquest@openstreetmap.fr" target="_blank">cquest@openstreetmap.fr</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
Le 09/02/2020 à 18:26, Maarten Deen a écrit :<br>
> On 2020-02-09 16:17, Christian Quest wrote:<br>
>> A couple of weeks ago, I've (re) started sharing planet dump files<br>
>> using Bittorrent to test an alternative way to distribute our planet<br>
>> dumps to reduce the bandwidth load on the OSMF servers.<br>
>><br>
>> Here is a short summary after 2 weeks tests...<br>
>><br>
>> The torrents are generated a few hours after the planet dump<br>
>> availability on <a href="http://planet.openstreetmap.org" rel="noreferrer" target="_blank">planet.openstreetmap.org</a> server (time needed to<br>
>> download the original file to generate the torrent).<br>
><br>
> A question about updates of the torrent. The planet changes weekly. <br>
> Suppose I download the plannet using the torrent and then also seed <br>
> it, what happens when the next planet comes available? Do I need to <br>
> use a different torrent to download it again or will the one I have be <br>
> updated?<br>
Each planet file has its own torrent. A new planet file means using a <br>
new torrent to download it.<br>
<br>
To simplify downloading the lastest planet, you'll find a <br>
planet-latest.pbf.torrent similar to the planet-latest.pbf (it's a <br>
symlink to the last planet available).<br>
<br>
If you want to automate downloading new planet thru torrents, for <br>
example to seed them, there's a rss.xml file you can use. Many <br>
bittorrent clients support RSS to automate downloads.<br>
<br>
-- <br>
Christian Quest - OpenStreetMap France<br>
<br>
<br>
_______________________________________________<br>
talk mailing list<br>
<a href="mailto:talk@openstreetmap.org" target="_blank">talk@openstreetmap.org</a><br>
<a href="https://lists.openstreetmap.org/listinfo/talk" rel="noreferrer" target="_blank">https://lists.openstreetmap.org/listinfo/talk</a><br>
</blockquote></div>