Hi Oliver,<div><br></div><div><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
Please let me know if that works.</blockquote><div><br></div><div>Indeed it works now! Thank you for the improvements with MBTiles support.</div><div><br></div><div>There are only two minor issues, related with database concurrency, it locks often while removing tiles, and it needs a vacuum at the end of the process, to &quot;notice&quot; the changes.</div>
<div><br></div><div>Cheers,</div><div><br></div><br><div class="gmail_quote">2011/11/17 Oliver Tonnhofer <span dir="ltr">&lt;<a href="mailto:olt@omniscale.de">olt@omniscale.de</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi,<br>
<div class="im"><br>
On 16.11.2011, at 17:30, Oliver Tonnhofer wrote:<br>
&gt; The MBTiles format is a bit limited and does not include any timestamps. So, updating/removing tiles with refresh/remove_before is not possible. Of course, it should not fail with an exception.<br>
&gt;<br>
&gt; I&#39;ll see how the seed tool can be improved so that it is possible to reseed or remove areas, without making it too easy to drop the whole cache by accident.<br>
<br>
<br>
</div>I fixed the exceptions and the behavior is now as follows (from <a href="http://mapproxy.org/docs/nightly/configuration.html#mbtiles" target="_blank">http://mapproxy.org/docs/nightly/configuration.html#mbtiles</a>):<br>

<br>
The MBTiles format does not include any timestamps for each tile and the seeding function is limited therefore. If you include any refresh_before time in a seed task, all tiles will be recreated regardless of the value. The cleanup process does not support any remove_before times for MBTiles and it always removes all tiles. Use the --summary option of the mapproxy-seed tool.<br>

<br>
Please let me know if that works.<br>
<div class="HOEnZb"><div class="h5"><br>
Regards,<br>
Oliver<br>
<br>
--<br>
Oliver Tonnhofer    | Omniscale GmbH &amp; Co KG    | <a href="http://omniscale.de" target="_blank">http://omniscale.de</a><br>
<a href="http://mapproxy.org" target="_blank">http://mapproxy.org</a> | <a href="https://bitbucket.org/olt" target="_blank">https://bitbucket.org/olt</a> | @oltonn<br>
<br>
<br>
<br>
<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div>Fernando Ribeiro</div><br>
</div>