[MapProxy] Possible issue cleanup task - mbtiles

Fernando Ribeiro fernandinand at gmail.com
Wed Nov 16 06:18:20 EST 2011


Hi list,

While configuring my seed scripts I came across with a possible issue on
the cleanup tool with mbtiles. MapProxy raises a non implemented error, at
TilecacheBase, load_tile_metadata (base.py). Looking a bit thru the code,
seems a filesystem implementation...
Is cleanup task not available to mbtiles format or is it another issue?
I cannot overwrite existing tiles for a given area, as mapproxy seed tool
just goes thru the mbtiles files without regenerating any tiles.

Here's the tracebak:
Traceback (most recent call last):
  File "/usr/local/python27/bin/mapproxy-seed", line 8, in <module>
    load_entry_point('MapProxy==1.2.1', 'console_scripts',
'mapproxy-seed')()
  File
"/usr/local/python27/lib/python2.7/site-packages/MapProxy-1.2.1-py2.7.egg/mapproxy/seed/script.py",
line 194, in main
    return SeedScript()()
  File
"/usr/local/python27/lib/python2.7/site-packages/MapProxy-1.2.1-py2.7.egg/mapproxy/seed/script.py",
line 137, in __call__
    skip_geoms_for_last_levels=options.geom_levels)
  File
"/usr/local/python27/lib/python2.7/site-packages/MapProxy-1.2.1-py2.7.egg/mapproxy/seed/cleanup.py",
line 33, in cleanup
    skip_geoms_for_last_levels=skip_geoms_for_last_levels)
  File
"/usr/local/python27/lib/python2.7/site-packages/MapProxy-1.2.1-py2.7.egg/mapproxy/seed/cleanup.py",
line 77, in coverage_cleanup
    tile_walker.walk()
  File
"/usr/local/python27/lib/python2.7/site-packages/MapProxy-1.2.1-py2.7.egg/mapproxy/seed/seeder.py",
line 143, in walk
    self._walk(bbox, self.task.levels)
  File
"/usr/local/python27/lib/python2.7/site-packages/MapProxy-1.2.1-py2.7.egg/mapproxy/seed/seeder.py",
line 178, in _walk
    all_subtiles=all_subtiles, progress=progress)
  File
"/usr/local/python27/lib/python2.7/site-packages/MapProxy-1.2.1-py2.7.egg/mapproxy/seed/seeder.py",
line 178, in _walk
    all_subtiles=all_subtiles, progress=progress)
  File
"/usr/local/python27/lib/python2.7/site-packages/MapProxy-1.2.1-py2.7.egg/mapproxy/seed/seeder.py",
line 178, in _walk
    all_subtiles=all_subtiles, progress=progress)
  File
"/usr/local/python27/lib/python2.7/site-packages/MapProxy-1.2.1-py2.7.egg/mapproxy/seed/seeder.py",
line 178, in _walk
    all_subtiles=all_subtiles, progress=progress)
  File
"/usr/local/python27/lib/python2.7/site-packages/MapProxy-1.2.1-py2.7.egg/mapproxy/seed/seeder.py",
line 178, in _walk
    all_subtiles=all_subtiles, progress=progress)
  File
"/usr/local/python27/lib/python2.7/site-packages/MapProxy-1.2.1-py2.7.egg/mapproxy/seed/seeder.py",
line 193, in _walk
    self.tile_mgr.is_stale(t)]
  File
"/usr/local/python27/lib/python2.7/site-packages/MapProxy-1.2.1-py2.7.egg/mapproxy/cache/tile.py",
line 170, in is_stale
    if not self.is_cached(tile):
  File
"/usr/local/python27/lib/python2.7/site-packages/MapProxy-1.2.1-py2.7.egg/mapproxy/cache/tile.py",
line 156, in is_cached
    self.cache.load_tile_metadata(tile)
  File
"/usr/local/python27/lib/python2.7/site-packages/MapProxy-1.2.1-py2.7.egg/mapproxy/cache/base.py",
line 77, in load_tile_metadata
    raise NotImplementedError()
NotImplementedError

Thanks,
-- 
Fernando Ribeiro
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapproxy/attachments/20111116/a9439b9f/attachment.html


More information about the MapProxy mailing list