<div dir="ltr"><div dir="ltr"></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le lun. 22 mars 2021 à 00:50, Roland Olbricht <<a href="mailto:roland.olbricht@gmx.de">roland.olbricht@gmx.de</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Ahem, yes and no.<br></blockquote><div><br></div><div>Understood, thank you to make this clear to me.</div><div><br></div><div>Thank you to Norbert for extra situations.</div><div>Note that a "delete" change doesn't have to be linked on its own to any admin boundary nor be counted: it refers to the last existing version (which had been created or edited and counted every day of its lifetime).<br></div><div> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Have I understood it correctly that the ultimate task is to compute per<br>
day and per each of the 40k municipalities the number of changes and of<br>
resulting matching objects, over a timespan of some years?<br></blockquote><div><br></div><div>Yes, that's it. 40k municipalities plus regions as well (a given feature can be linked to several boundaries).<br></div><div><br></div><div>This process should be done not only daily but may have to catch up on any delay for any reason (mainly for database failure or new functionality implementation after the start of a project).</div><div><br></div><div>As Pierre mentioned, it's possible to compare daily extracts of planet to get geometries day by day but it's not possible when you have to catch up on 6 months back.<br></div><div>It's what we do today: our database is updated with minute diffs and a script runs each night to count every objects linked to appropriate boundaries.</div><div>Even if we miss some intraday versions it's not an as big loss as it could be over several months.</div><div><br></div><div>Current catch up at a national scale is easy by using osmium tags-filter as it doesn't require any geometry to be operated.<br></div><div><a href="https://github.com/vdct/ProjetDuMois/blob/master/db/10_project_update.js#L333">https://github.com/vdct/ProjetDuMois/blob/master/db/10_project_update.js#L333</a></div><div><br></div><div>I understand now the only valid solution would be to use an OSHDB, right?</div><div>Can it be refreshed every day? I occasionally use OSHome dashboard and it only gets 10 updates a year, doesn't it?</div><div><br></div><div>All the best</div><div><br></div><div>François<br></div></div></div>