Tell me more ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I have been given an mbtiles file which contains tiles for zoom levels between 16 and 20. When I preview the mbtiles on tilestache, I am not able to zoom in beyond the 18th level. If I request the map at zoom level 19, tiles of zoom level 18 are being rendered. I have viewed the mbtiles files and sure enough there is text "minzoom16" and "maxzoom20".

There is another mbtiles file with tiles from zoom levels 11 to 16. It is rendering tiles requested for zoom level 18 too; beyond zoom level that no tiles.

This makes me wonder if there is any internal setting in the tilestache code that limits the server to rendering tiles up to a certain zoom level. I have searched the source, but couldn't find anything in particular; not that I am a python programmer, but still.

So, does tilestache limit the zoom levels to a certain number? If yes, how can it be changed?

Thank you.

EDIT:

"bholakpur":
{
   "provider": {"name": "mbtiles", "tileset": "/home/***/****/tiles/bholakpur.mbtiles"},
   "preview": {"zoom": 20, "ext": "png"}
}

EDIT 2: Bing layer is the base layer for the map and as far as my tests go Bing has only 18 zoom levels. May be that is the reason the other layers are not requesting tiles beyond the 18th zoom level.

share|improve this question
Does your tilestache configuration have a "preview" stanza? Can you post that? – BradHards Dec 19 '12 at 3:35
Can you also post the "layers" definition? – BradHards Dec 19 '12 at 3:38
Edited the question to add the "layers" definition. – Srisa Dec 19 '12 at 10:03
OK, probably not that. You could try adding an explicit bounds stanza (tilestache.org/doc/#layers) and see if that helps. The defaults should be OK though. – BradHards Dec 19 '12 at 10:07
No luck with adding the bounds stanza either. – Srisa Dec 24 '12 at 12:38

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.