We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When enabled bulk_meta_tiles mapproxy resulted in error for sqlite caches. The error follows:
bulk_meta_tiles
sqlite
TypeError: MBTilesLevelCache.store_tiles() missing 1 required positional argument: 'dimensions'
Just works with enabled bulk_meta_tiles for sqlite caches.
Cannot use bulk_meta_tiles.
Check _create_bulk_meta_tile(self, meta_tile) in mapproxy/mapproxy/cache/tile.py and possibly fix incorrect calling of:
_create_bulk_meta_tile(self, meta_tile)
self.cache.store_tiles([t for t in tiles if t.cacheable])
as dimensions argument is missing.
dimensions
Not sure, if it can be fixed by:
self.cache.store_tiles([t for t in tiles if t.cacheable], dimensions=self.dimensions)
as I do not have deep knowledge about mapproxy insides.
mapproxy
cache
meta_size: [5, 5]
globals: cache:
bulk_meta_tiles: true
Want to use sqlite storage type, as I have issues with file storage type (too many small files, try to reduce inode usage).
file
Even if I do not use mapproxy installed from pip, it looks this issue still exists in the code.
pip
The text was updated successfully, but these errors were encountered:
Seeding not working as well if using sqlite cache.
TypeError: MBTilesLevelCache.load_tile_metadata() missing 1 required positional argument: 'dimensions'
Sorry, something went wrong.
load_tile_metadata()
store_tiles()
thanks for reporting and fixing this @xdml.
No branches or pull requests
Context
When enabled
bulk_meta_tiles
mapproxy resulted in error forsqlite
caches. The error follows:Expected Behavior
Just works with enabled
bulk_meta_tiles
forsqlite
caches.Actual Behavior
Cannot use
bulk_meta_tiles
.Possible Fix
Check
_create_bulk_meta_tile(self, meta_tile)
in mapproxy/mapproxy/cache/tile.py and possibly fix incorrect calling of:as
dimensions
argument is missing.Not sure, if it can be fixed by:
as I do not have deep knowledge about
mapproxy
insides.Steps to Reproduce
cache
withsqlite
storage typemeta_size: [5, 5]
inglobals: cache:
bulk_meta_tiles: true
inglobals: cache:
Context
Want to use
sqlite
storage type, as I have issues withfile
storage type (too many small files, try to reduce inode usage).Your Environment
Even if I do not use
mapproxy
installed frompip
, it looks this issue still exists in the code.The text was updated successfully, but these errors were encountered: