Hi Sylvain<br><br>thanks for your anwers!<br><br>But it looks like I have a problem now...<br><ol><li>I need to keep the tables ways, rels and nodes because of the diff updates</li><li>Those 3 tables will continue growing up with each new diff, until I reach the storage capacity of the server</li>
</ol><p>The only solution I see is a post-processing that will erase from PostGIS all the nodes lying outside my bounding box + all the ways using one of thses nodes + all the relations using one of thses nodes or one of these ways.</p>
<p>Except if anyone else has a magical solution...</p><p>Cheers</p><p>Stéphane<br></p>--<br>"Le mot progrès n'aura aucun sens tant qu'il y aura des enfants malheureux" -- Albert Einstein<br><br>"A journey does not need reasons. Before long, it proves to be reason enough in itself. One thinks that one is going to make a journey, yet soon it is the journey that makes or unmakes you." -- Nicolas Bouvier<br>
<br>Photos de voyages, photos de montagne: <a href="http://www.henriod.info/" target="_blank">http://www.henriod.info</a><span dir="ltr"><span dir="ltr" title="Appeler ce numéro de téléphone en/au(x) Tadjikistan avec Skype : +992934624662"><span> </span></span> <br>
</span><br>
<br><br><div class="gmail_quote">On Wed, Sep 5, 2012 at 2:29 PM, sly (sylvain letuffe) <span dir="ltr"><<a href="mailto:liste@letuffe.org" target="_blank">liste@letuffe.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On mercredi 5 septembre 2012, Stéphane Henriod wrote:<br>
> Hi again<br>
<br>
yo, again,<br>
<br>
> Does this mean that I can simply empty them regularly?<br>
<br>
You can, but then applying diffs won't be possible at all. Those table are not<br>
only used to reduce memory usage of the first import, but also to hold all<br>
data to solve the problem I mentionned about diffs not having all<br>
informations of their constituent nodes in order to apply them.<br>
<br>
> It looks to me like<br>
> Mapnik won't need them at all, but I might be wrong?<br>
<br>
It depends on your mapnik style sheets, but my guess is that there are no<br>
reasons to use those table for rendering (They don't hold geometries)<br>
<span><font color="#888888"><br>
--<br>
sly<br>
qui suis-je : <a href="http://sly.letuffe.org" target="_blank">http://sly.letuffe.org</a><br>
email perso : sylvain chez letuffe un point org<br>
<br>
_______________________________________________<br>
dev mailing list<br>
<a href="mailto:dev@openstreetmap.org" target="_blank">dev@openstreetmap.org</a><br>
<a href="http://lists.openstreetmap.org/listinfo/dev" target="_blank">http://lists.openstreetmap.org/listinfo/dev</a><br>
<br>
</font></span></blockquote></div><br>