[MapProxy] Possible issue cleanup task - mbtiles

Fernando Ribeiro fernandinand at gmail.com
Thu Nov 17 13:17:23 EST 2011


Hi Oliver,

Please let me know if that works.


Indeed it works now! Thank you for the improvements with MBTiles support.

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 "notice" the changes.

Cheers,


2011/11/17 Oliver Tonnhofer <olt at omniscale.de>

> Hi,
>
> On 16.11.2011, at 17:30, Oliver Tonnhofer wrote:
> > 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.
> >
> > I'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.
>
>
> I fixed the exceptions and the behavior is now as follows (from
> http://mapproxy.org/docs/nightly/configuration.html#mbtiles):
>
> 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.
>
> Please let me know if that works.
>
> Regards,
> Oliver
>
> --
> Oliver Tonnhofer    | Omniscale GmbH & Co KG    | http://omniscale.de
> http://mapproxy.org | https://bitbucket.org/olt | @oltonn
>
>
>
>
>


-- 
Fernando Ribeiro
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapproxy/attachments/20111117/961ebe78/attachment.html


More information about the MapProxy mailing list